With the rise of online food ordering websites, maintaining a proper diet and staying healthy has become an important part of a person\'s lifestyle. But with the rising work from home trend, maintaining a proper diet and being aligned with the fitness goals is becoming tougher day by day. Also for a person having abnormal food habits, it becomes really tough to maintain a repository of the food intake, manage nutrients and carbs intake, etc. Thus with an aim to solve the above stated problem, we present the application Foodwiser: Be wise with what you eat.
Introduction
I. INTRODUCTION
A. Foodwiser
Be wise with what you eat project targets a particular segment of users who wish to keep an in- depth track and maintain a repository of what they eat, how they eat and how the food intake affects their body. Foodwiser is basically a mobile application that helps its users to take note of their food intake habits, track various nutrients and calories, suggest proper diet to improve upon the user’s health and help them achieve their fitness goals. The application also helps users with healthy food recipes, calorie meters and much more to make the most out of the improved food eating habits. The application would provide the user an intuitive interface to monitor their habits and keep track of their daily eating habits. The application can prove to be a game changer in the segment of fitness tracking, with the use of modern technology and Artificial Intelligence. Focused to solve the problem statement, we came up with an idea to build an artificial intelligent mobile application that helps the user in tracking their food consumption habits, maintaining calorie, carbohydrates and other nutrients. The problem of rising obesity can be solved effectively by improving the food eating habits, and this can be achieved by keeping a track of the multitude of food that a person consumes. The solution directly targets the end user and helps them achieve their goal with the help of Machine Learning and Computer Vision based techniques. Also the application helps the user achieve their goals by recommending proper diet, healthy food recipes, and a calorie meter with just a snap of the food which the person intakes.
II. SURVEY OF EXISTING
A. Systems
Existing System -1 NutriNet
It is based on the recognition of food image by using DCNN, was developed as a dietary assessment application for Parkinson’s patients.
a. Problem Address:Parkinson’s disease is a neurological condition that affects a person’s movement. Certain dietary charts are to be followed by patients for lower risk .By doing this it may help to control the symptoms.
b. Advantage
It helps the Parkinson's patient to intake proper food and maintain the level of calories and nutrients.
It is easy to use and can give regular health status.
We can add our own recipe by which other users take advantage.
c. Disadvantage
It is specific to Korean Food recipes.
It requires a good quality image to recognize the food.
It requires a big set of data.
d. Gap Filling
Foodwisher recognize every cuisine and give details about the food. There is no barrier to any particular food.
It is a popular app used for getting names of the food items in the picture.
a. Problem Address: Address the problem regarding the food attribute recognition.
b. Advantage
Accurate food identification with 91% accuracy.
c. Disadvantage
Only gives the name of the food items.
Restricted to some particular types of food
d. Gap Filling: Calorie mama just gives the name of the food items while Food Wiser will provide the nutrients present in that particular food.
e. References: caloriemama.ai
3. Existing System -3 Traditional Pen-Paper based approach
The most popular approach to maintain a track-record of the food habits used, is Pen-Paper Approach. There are a few major drawbacks of this approach. The first being, the user needs to do a thorough research of the food he/she is eating and to maintain a nutritional repository for the same. This involves lots of manual work and sheets of paper to be maintained as records. Secondly, the person may require an expert dietician’s opinion on their current eating habits. This requires large monetary funds to be invested for staying healthy. Third, this approach requires the user to carry physical records of what they eat, and how they eat everywhere, being a tedious task.
4. Existing System -4 Calorie Counter
MyNetDiary It is a popular app with features like a food diary, calorie counter, and exercise tracker. Plan your meals in advance, dial in those macros, check out nutrition facts, and get insights based on your data.
a. Problem Address:Keep Tracks the consumption of calorie and diet management
b. Advantage
Easy to use with automatic calorie counter and exercise tracker.
c. Disadvantage
Highly Paid.
d. Gap Filling: MyNetDiary is a highly paid app which many people cannot afford, we bring FoodWiser free and lots of integrated applications.
e. References: mynetdiary.com
III. METHODOLOGY
A. Authentication System
Building an authentication system with Django rest framework using python-social-oauth2 package.
Implementing Login/Register system at frontend with React Native framework which is a popular Javascript-based mobile app framework.
Integrating social media logins like Google, Facebook, etc.
Testing the flow of authentication systems.
B. Food Attributes Classification
Implementing Food Attributes Classification with libraries like tensorflow, pandas and numpy.
Using web scraping to get data about the attributes from food websites.
C. Dataset
Testing the data with a dataset named Indian Food 101. This dataset consists of 5000 pictures with two categories, i.e. food and non-food. Indian Food 101 is partitioned into training, validation, and a test collection of data.
This dataset contains 250+ dishes from Indian Cuisine. Also consists of information about various Indian dishes, their ingredients, their place of origin, etc.
D. Recipe Recommendation System
Implementing Recipe recommendation using natural language processing.
Getting data using web scraping with the help of beautiful-soup, requests and regex.
E. Diet Management System
Implementing Diet Management System using web scraping.
For web scraping we will use beautiful-soup, requests and regex.
F. Working
In this project we will be using new technologies and concepts to prepare a suitable diet and food plan for the user. This project is to let the user scan a food item and get the nutritional information of that particular food item. Users will be provided certain options to choose from and get the nutritional facts related to that. Later the user can get a proper diet format and will be recommended to achieve his/her goal of a desired body shape or fitness. The app brought to you will be free and easy to use . The main point of this project is to let people have their desired body physique and to get some important knowledge about the food they are eating whether it is healthy or not. (Please refer to Figure 3 for flowchart.) This app will help users to identify the food that is good for health using just their mobile phone scanning the food, the user will be provided with all the nutritional information of the food item and dishes the user can prepare with it . The whole walkthrough will be like:
Scan a particular food item using your mobile phone.
A proper formatted nutritional value along with some dishes will be provided.
If the user wants to get a proper diet recommendation, they can get one. For diet preparations users have to enter their body weight, weight to achieve, and time period to invest
After the user enters the following he/she will be recommended with a proper diet they can follow to achieve their desired goals.
IV. RESULT
As an outcome the Foodwiser: Be wise with what you eat mobile application will help users to take note of their food intake habits, track various nutrients and calories, suggest proper diet to improve upon the user’s health and help them achieve their fitness goals. The application also helps users with healthy food recipes, calorie meters and much more to make the most out of the improved food eating habits. The application would provide the user an intuitive interface to monitor their habits and keep track of their daily eating habits. Also the application provides the users with an overall health management system which will ultimately help them stay healthy.
Conclusion
The food culture has a strong effect on everyday life and it reflects the person’s history, lifestyle, values, and beliefs from different countries. In this, we presencuisine and flavors classification methods by multi- scale convolutional network to identify a food image. A feature map aggregation is also used for improving the network performance. The proposed model achieved an acceptable classification rate compared with recent state-of-the-art models. The direction of our future research hints to continue with the fusion of the Recurrent Neural Networks. Furthermore, we aim at increasing food attributes to classify cuisine, course, nutritions, ingredients and flavors in order to develop a unified AI framework of food attributes analysis.
References
[1] M. Ghadage. “Automated Food Logging and Attribute Classification.” Github.com. https://github.com/meghaghadage/A-Modelfor-Automated-Food-Logging-Through-FoodRecognition-and-Attribute-Estimation-UsingDeep-Lea (Accessed on Aug. 1, 2021).
[2] Z. Shen, A. Shehzad, S. Chen, H. Sun and J. Liu. “Machine Learning Based Approach on Food Recognition and Nutrition Estimation.” ScienceDirect.com. https://www.sciencedirect.com/science/article/ pii/S1877050920316331 (Accessed on Jul. 12, 2021).
[3] N. Prabhavalkar. “Indian Food 101 Dataset.” Kaggle.com. https://www.kaggle.com/nehaprabhavalkar/ind ian-food-101 (Accessed on Aug. 14, 2021).
[4] P. Pouladzadeh, P. Kuhad, S. V. B. Peddi, A. Yassine, and S. Shirmohammadi,=. “Food calorie measurement using deep learning neural network,” in Conference Record - IEEE Instrumentation and Measurement Technology Conference, 2016. https://ieeexplore.ieee.org/abstract/document/7 520547 (Accessed on Jul. 5, 2021)