GithubHelp home page GithubHelp logo

mikeczech / seefood Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 33.47 MB

A calorie tracker app that uses computer vision for food recognition.

Jupyter Notebook 99.87% Python 0.05% Swift 0.08% HCL 0.01%

seefood's Introduction

seefood's People

Contributors

mikeczech avatar

Watchers

James Cloos avatar  avatar

seefood's Issues

Taking Pictures of Food

As an end user I want to easily take pictures of food on iOS so that I can track my eating habits.

Given the user has pressed the button for entering the camera mode
When the button is pressed again
Then a picture is taken and displayed to the user

Subtasks

  • create camera view that shows a preview to the user
  • create button event for taking a picture
  • display picture in another view

Tracking Food Items

As an end user I want to track my eating habits so that I can see if I live up to my healthy nutrition plan.

Given a picture was taken using the app
When the save-button was pressed
Then the app saves the picture, the label, and the amount of calories AND displays the app's main view

Given multiple pictures of food were taken using the app
When the app's main view is opened
Then the app shows a list of all consumed food items including a label and the amount of calories for each item

Note that this issue also demands local persistence of the tracked food items.

This issue depends on #1, #2, and #3

Display Calories of Single-Food Image

As an end user I want to quickly estimate calories from images of food so that I can determine it it fits into my healthy eating plan.

Given the camera displays a single item of food
When the button for taking a picture is pressed
Then an estimation for the amount of calories of that item appears

Note that the estimation of calories can be arbitrary (e.g. random).

This issue depends on #2

iOS Deployment of Model for Food Label Prediction

As an end-user I want to directly use the model for label prediction from the app so that I can precisely track my meals.

Given the app is opened
When pictures of food are taken using the app
Then all displayed food labels come from a model that is locally deployed on the iOS device

In contast to using a web service for model serving, a local deployment ensures functionality without a stable internet connection and simplifies the overall architecture in this early stage of development.

This story depends on #3

Deployment of Model for Calorie Estimation

As an end-user I want to directly use the model for calorie estimations from the app so that I can precisely track my calorie intake.

Given the app is opened
When pictures of food are taken using the app
Then all displayed calorie estimations come from a model

This story depends on #1

Evaluate Simple NN for Label Prediction

As a data scientist I want to evaluate the usage of simple NNs for label prediction so that I gain further insights for getting an easily deployable, but also production-ready model.

Given Sparkrecipes dataset, SqueezeNet Image embeddings, and a set of food labels
When training a NN to predict food labels
Hypothesis the NN predicts the labels reliably ( ~95% accuracy)

Note that this issue also includes the definition of a fixed set of labels. Those labels can be very abstract in order to simplify the task (e.g. "Soup" instead of "Tom Yum Soup")

Display Label for a Single-Food Image

As an end user I want to have a label for each picture I have taken so that I can track my eating habits.

Given the camera displays a single item of food
When the button for taking a picture is pressed
Then a label for that item appears

Note that the label can be arbitrary (e.g. random) and the specific set of possible labels will be defined in a different issue.

This issue depends on #2

Evaluate Simple NN for Calorie Estimation on Sparkrecipes Data

As a data scientist I want to evaluate the usage of simple NNs for calorie estimations against the baseline and other models so that I gain further insights for getting an easily deployable, but also production-ready model.

Given Sparkrecipes dataset and SqueezeNet Image embeddings
When Training a NN to predict calories
Hypothesis predictions are superior to the baseline and almost identical to other models like XGBoost / linear regression

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.