Using Python for Calorie Tracking Program Development
Python, a versatile programming language, has been widely used in various fields including health technology. The project idea involves developing a program in Python to track daily calorie intake automatically. Challenges include creating a comprehensive food database and accounting for varying calorie counts in different brands.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
BACKGROUND ON PYTHON - -Python is a programming language developed in the 1980s by Guido Van Python is a programming language developed in the 1980s by Guido Van Rossum Rossum in the Netherlands. The first code was released in 1991. in the Netherlands. The first code was released in 1991. - -Python has a wide array of features. It can be used to process, numbers, Python has a wide array of features. It can be used to process, numbers, text, images, scientific data and other data sets. text, images, scientific data and other data sets. - -Python has been used by many different companies including Google, NASA Python has been used by many different companies including Google, NASA and and Youtube Youtube to perform a wide variety of tasks. to perform a wide variety of tasks. - -Visual Python was developed in 2000, which allows the user to create 3D Visual Python was developed in 2000, which allows the user to create 3D virtual displays. virtual displays. Source: http:// Source: http://python.about.com python.about.com/od/ /od/gettingstarted gettingstarted/ /ss ss/whatispython.htm#step3 /whatispython.htm#step3
CURRENT HEALTH TECHNOLOGIES - -Today there are many people that use technology to keep track of their health Today there are many people that use technology to keep track of their health patterns. patterns. - -There are a multitude of websites and applications that are used to calculate the There are a multitude of websites and applications that are used to calculate the number of calories a person should be consuming based on their height, weight, number of calories a person should be consuming based on their height, weight, weekly exercise and weight watching goals. weekly exercise and weight watching goals. - -Applications are also available that calculate the number of calories a person has Applications are also available that calculate the number of calories a person has eaten in a day based on the foods entered. eaten in a day based on the foods entered. - -A person can also keep track of the number of calories that they have burned in a A person can also keep track of the number of calories that they have burned in a day based on the amount and type of exercise. day based on the amount and type of exercise.
PROJECT IDEA - -For my project I am interested in using python to create a program that keeps track of For my project I am interested in using python to create a program that keeps track of the number of calories that I eat in a day. It will have to make automatic the number of calories that I eat in a day. It will have to make automatic calculations based on the data that is input. calculations based on the data that is input. - -I also have to create instructions in python that allow specific foods to correspond I also have to create instructions in python that allow specific foods to correspond with a certain number of calories. with a certain number of calories. - -Visual python will be used to create a virtual interface that allows me to enter the Visual python will be used to create a virtual interface that allows me to enter the foods I have eaten that day. foods I have eaten that day.
CHALLENGES - -It will be difficult to create a database that contains all the foods that I could be It will be difficult to create a database that contains all the foods that I could be eating. For this reason there will also have to be an option to enter the number of eating. For this reason there will also have to be an option to enter the number of calories for a food that is not stored in python. calories for a food that is not stored in python. - -The number of calories in a specific food could also vary from brand to brand. To help The number of calories in a specific food could also vary from brand to brand. To help solve this I could try to find the average number of calories over a few brands for solve this I could try to find the average number of calories over a few brands for each food. each food. - - The number of calories also depends on the amount of food eaten. There will have The number of calories also depends on the amount of food eaten. There will have to be an option that asks for the number of servings eaten. to be an option that asks for the number of servings eaten.
OTHER IDEAS AND ALTERNATIVES - I could also use python and visual python to track the number of calories burned I could also use python and visual python to track the number of calories burned through exercise. This could be done as an individual project, or as a supplement through exercise. This could be done as an individual project, or as a supplement to the calorie counter in order to track overall health and whether or not one to the calorie counter in order to track overall health and whether or not one should be eating more or less. should be eating more or less. - Another option is creating a program that calculated the number of calories a Another option is creating a program that calculated the number of calories a person should be eating in a day. I would have to research how factors like height, person should be eating in a day. I would have to research how factors like height, weight and number of hours of exercise affect this number. weight and number of hours of exercise affect this number.