This project, part of the Machine Learning and Software Engineering Course at Thapar Institute of Engineering and Technology, is a Machine Learning based Web Application which aims to provide a platform for users to track their calorie intake and maintain a healthy lifestyle by taking pictures of their food and getting the calorie count of the food item.
Calorie Click
Dowloading Images
Dataset Creation
Check out the scraper folder for more details. But as a basic overview, the images are downloaded from Google Images . The images are downloaded by using the get_dataset.py file. The images terms to be searched are stored in the food.txt file. The images are downloaded by using the following command:
python scraper/get_dataset.py
To organise we can use the script writen in the split_categories.py file in the Dataset folder. using the following command:
python Dataset/split_categories.py