MA
MauricioDolacio/nutri-snap
An application that shows the nutritional values of a food with just a photo.
Nutri Snap
Nutri Snap is an application that shows the nutritional values of a food with just a photo.
Overview
The application allows the user to take/send photos of fruits and vegetables and returns the nutritional values of the food. To recognize food, an image classification model was trained to identify around 36 fruits and vegetables with an accuracy of 94%.
- /api: Backend. Food recognition and research into nutritional values.
- /flutter: Mobile Application.
- /food_detection: Fruit and vegetable classifier training files.
Prerequisites
Run in Terminal:
pip install tensorflow
pip install flask
Installation
- Copy the project. OBS: '/food_detection' is not necessary
- Download and insert the model 'fruit_and_vegetable_trained_model.h5' to the folder '/api'
- In '/api' run 'main.py' to start the Backend API
- In '/flutter' run 'main.dart' file to start the application
Tools Used
Credits
Kritik Seth, "Fruits and Vegetables Image Recognition Dataset," Kaggle 2020
On this page
Languages
Dart62.9%Python34.7%Swift1.7%Kotlin0.5%Objective-C0.2%
Contributors
Created October 23, 2022
Updated August 12, 2024
