Skip to content

This project is developed as part of Hackathon-2017. 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.

Notifications You must be signed in to change notification settings

cmoulika009/Hackathon_FoodGame_Spring2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Food Game : Junk or Healthy?

About Use-Case

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.

Application Overview

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.

Tools and Softwares Used

JetBrains PyCharm

Inception Model

Tensor Flow

Python,HTML,CSS

About the Application

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

Youtube Link:

https://www.youtube.com/watch?v=ix7ALJjknow

Presentation Link:

https://github.com/cmoulika009/Hackathon_FoodGame_Spring2017/blob/master/Documentation/FoodGame-HackathonSpring2017.pptx

Source Code Link:

https://github.com/cmoulika009/Hackathon_FoodGame_Spring2017/tree/master/Source

About

This project is developed as part of Hackathon-2017. 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published