Skip to content

Nutrition is the main source of life and although it has been our secondary instinct to check for nutritional value in the food we eat, the effect any diet has on our body and health is consequential. From the fact which connotes the value of nutrition in our diet, springs the idea of nutri.gram. nutri.gram is a mobile application that scans the…

Notifications You must be signed in to change notification settings

saileshbro/nutri.gram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nutri.gram

Nutrition is the main source of life and although it has been our secondary instinct to check for nutritional value in the food we eat, the effect any diet has in our body and health is consequential. From the fact which connotes the value of nutrition in our diet, springs the idea of nutri.gram. nutri.gram is a mobile application that scans the food label present in the packaged food items and draws a significant conclusion from that data regarding its edibleness for a person, the nutritional worth it adds to our diet, how much calorific value it provides per serving and much more. This application is targeted to anyone who wants to get insight into what they are feeding into their body and how understanding the nutritional value will be of tremendous aid to their overall health.

Download OpenCV libraries

  • Download OpenCV library for Android and iOS from here
  • Copy the files to the respective folders
For Android
cp -R sdk/native/jni/include nutri.gram
cp sdk/native/libs/* nutri.gram/android/src/main/jniLibs/*

For iOS
cp -R opencv2.framework nutri.gram/ios

Flask server

  • Download this and put it in directory ml/tessdata/
  • Download this and put it in directory ml/models/
  • cd ml
  • Run pip install requirements.txt
  • Download following files and put in respective path
  • Execute flask run

Node Server

  • cp .env.sample .env
  • add credentials in .env
  • cd api
  • npm install to get packages
  • npm run dev to start dev server

Flutter

  • cd nutrigram_app
  • flutter packages get to get the packages
  • Connect your device with USB debugging on or start an emulator
  • flutter run to start debugging
  • flutter run --release to build release build

You may need to configure connection between api and flutter app make sure you are using your machine's ip address in constants.dart

Screenshots

Screen 1 Screen 2 Screen 3 Screen 4
Screen 5 Screen 7 Screen 9 Screen 10
Screen 10a Screen 10b Screen 12 Screen 13
Screen 14 Screen 15 Screen 16 Screen 17
Screen 18 Screen 19 Screen 20 Screen 21
Screen 23 Screen 24 Screen 25 Screen 26
Screen 27 Screen 28 Screen 29 Screen 30
Screen 31 Screen 32 Screen 33

This project uses this repo as a reference for building edge detection in Flutter.

About

Nutrition is the main source of life and although it has been our secondary instinct to check for nutritional value in the food we eat, the effect any diet has on our body and health is consequential. From the fact which connotes the value of nutrition in our diet, springs the idea of nutri.gram. nutri.gram is a mobile application that scans the…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published