All Projects → gabrielilharco → Snap N Eat

gabrielilharco / Snap N Eat

Licence: mit
Food detection and recommendation with deep learning

Projects that are alternatives of or similar to Snap N Eat

Pytorch classification
利用pytorch实现图像分类的一个完整的代码,训练,预测,TTA,模型融合,模型部署,cnn提取特征,svm或者随机森林等进行分类,模型蒸馏,一个完整的代码
Stars: ✭ 395 (+72.49%)
Mutual labels:  jupyter-notebook, flask, resnext
Hey Jetson
Deep Learning based Automatic Speech Recognition with attention for the Nvidia Jetson.
Stars: ✭ 161 (-29.69%)
Mutual labels:  jupyter-notebook, flask, deep-neural-networks
Text Emotion Classification
Archived - not answering issues
Stars: ✭ 165 (-27.95%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Deep Math Machine Learning.ai
A blog which talks about machine learning, deep learning algorithms and the Math. and Machine learning algorithms written from scratch.
Stars: ✭ 173 (-24.45%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Germanwordembeddings
Toolkit to obtain and preprocess german corpora, train models using word2vec (gensim) and evaluate them with generated testsets
Stars: ✭ 189 (-17.47%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Multihead Siamese Nets
Implementation of Siamese Neural Networks built upon multihead attention mechanism for text semantic similarity task.
Stars: ✭ 144 (-37.12%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Applied Deep Learning With Tensorflow
Learn applied deep learning from zero to deployment using TensorFlow 1.8+
Stars: ✭ 160 (-30.13%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Dtale
Visualizer for pandas data structures
Stars: ✭ 2,864 (+1150.66%)
Mutual labels:  jupyter-notebook, flask
Algobook
A beginner-friendly project to help you in open-source contributions. Data Structures & Algorithms in various programming languages Please leave a star ⭐ to support this project! ✨
Stars: ✭ 132 (-42.36%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Traffic Sign Detection
Traffic Sign Detection. Code for the paper entitled "Evaluation of deep neural networks for traffic sign detection systems".
Stars: ✭ 200 (-12.66%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Food2vec
🍔
Stars: ✭ 199 (-13.1%)
Mutual labels:  jupyter-notebook, food
Tensorflow Deep Learning
All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
Stars: ✭ 170 (-25.76%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Starnet
StarNet
Stars: ✭ 141 (-38.43%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Glasses
High-quality Neural Networks for Computer Vision 😎
Stars: ✭ 138 (-39.74%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Deep Steganography
Hiding Images within other images using Deep Learning
Stars: ✭ 136 (-40.61%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Andrew Ng Notes
This is Andrew NG Coursera Handwritten Notes.
Stars: ✭ 180 (-21.4%)
Mutual labels:  jupyter-notebook, deep-neural-networks
50 Days Of Ml
A day to day plan for this challenge (50 Days of Machine Learning) . Covers both theoretical and practical aspects
Stars: ✭ 218 (-4.8%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Dnnweaver2
Open Source Specialized Computing Stack for Accelerating Deep Neural Networks.
Stars: ✭ 125 (-45.41%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Reptile Pytorch
A PyTorch implementation of OpenAI's REPTILE algorithm
Stars: ✭ 129 (-43.67%)
Mutual labels:  jupyter-notebook, deep-neural-networks
Pytorch Geometric Yoochoose
This is a tutorial for PyTorch Geometric on the YooChoose dataset
Stars: ✭ 198 (-13.54%)
Mutual labels:  jupyter-notebook, deep-neural-networks

Snap & Eat (formerly deep139)

Deep Learning Hackathon 48h - Cotidiano (First place Project =D )

We believe nutrition tracking should be as simple as taking a picture.

Snap & Eat is a web application that tracks the user's food intake by pictures. We use state-of-the-art deep learning techniques to recognize dishes, making instant nutrition estimates from the user's meals.

The app also suggests meals based on the user's income, and is capable of showing places nearby that serve those dishes.

The system is implemented in Pytorch using fastai lib, relying on Jupyter Notebooks for prototyping purposes. For the web app, we use Flask and Node.js.

Demo

test Alt Text

Our model

We use an Aggregated Residual Convolutional Neural Network - ResNeXt-101 with 101 layers, pretrained on ImageNet dataset. We finetune the model on Food-101 dataset, with more than 100 thousand images of 101 types of dishes. We achieve a significant improvement on accuracy (71% in our work compared to 50.1% in Bossard et al., 2014).

test

For recomending new dishes, we use minimum distance in an n-dimensional space of nutritional information that describes each dish.

Installation and usage

AWS AMI (Amazon Machine Images)

We provide a ready-to-go AMI of a p2 instance on AWS with all libraries and dependencies installed.

AMI ID ami-99442ee3
AMI Name snap-n-eat-ami

To launch an instance based on an AMI, see the AWS Reference. Don't forget to git pull to get the the latest version of the code!

cd snapandeat
git pull origin master

To run all the services, the following four comands need to be run in the AWS instance, once in the snapandeat directory. We recommend using tmux to organize the terminals.

python src/services/food_predictor.py
python src/services/food_descriptor.py
python src/services/top_food.py
node src/webapp/server.js

To view and edit the Jupyter Notebooks, execute:

cd /home/ubuntu/snapandeat/src/notebooks
jupyter-notebook --no-browser --ip='*'

The default password for the notebooks is snapneat. Don't forget to change it!

About the idea

According to the World Health Organization, worldwide obesity has nearly tripled since 1975. In the United States, almost 75% of the population is overweight and more than half of the population is obese (OECD). Today, many diseases that were preivously thought as hereditary are now shown to be seen conected to biological disfunction related to nutrition.

Although being healty and eating better is something the vast majority of the population want, doing so usually requires great effort and organization. The lack of an easy and simple way to track nutrition information about the food you eat can easily lead to low engagement. By providing a very easy and fun way to keep track of what the user eat, we can largely improve engagement, and directly atack on of the largest health problems in the world.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].