The main aim of this use-case is to classify Food i.e Junk or Health using Machine Learning Tools. Also need to predict calories of food and score of Food based on user reviews.
As part of this use-case we developed a web application to display and predict the images. First we collected dataset from Food100 from which only 25 classes are chosen and divided them as Junk or Healthy. We used Inception Model to retrain the last layer (kind of transfer learning) with which we achieved 75% accuracy. Further used Edmam API to fetch calories of given image and used IBM Watson API for sentiment analysis to the scale of food based on reviews.
JetBrains PyCharm
Inception Model
Tensor Flow
Python,HTML,CSS
As discussed we collected food data set from https://www.vision.ee.ethz.ch/datasets_extra/food-101/. Among which we took 25 classes and classified them as Junk and Healthy. Using Inception Model to retrain the last layer (kind of transfer learning) with which we achieved 75% accuracy. The ouput grapgh of inception model is saved and used in our Web Application. Once the web application is executed the below page is displayed. In the main page where all the images related to Food is displayed where we can click on Predict to get further details of image.
Once we click on Predict, Tensor Flow is invoked and corresponding images are displayed in image. We used Edmam API to fetch calories of given image and used IBM Watson API for sentiment analysis to the scale of food based on reviews.
As shown in below image first the pizza is predicted and the calories and food classification is also displayed below.
Below is another example for Orange
https://www.youtube.com/watch?v=ix7ALJjknow https://github.com/cmoulika009/Hackathon_FoodGame_Spring2017/blob/master/Documentation/FoodGame-HackathonSpring2017.pptx https://github.com/cmoulika009/Hackathon_FoodGame_Spring2017/tree/master/Source