Skip to content

Anurag-Deo/Nutrivision-Frontend

Repository files navigation

Nutrivision

The aim of this project is to create a comprehensive image classification and advice generation system which takes the images of food product and estimate the calories in that and then give appropriate amount one should take to maintain his/her diet.

Link to the frontend: Nutrivision-Backend

Run Locally

Clone the project

  git clone https://github.com/Anurag-Deo/Nutrivision-Frontend

Go to the project directory

  cd Nutrivision-Frontend

Install dependencies

  npm install

Start the server

  npm run dev

API Reference used in the project

Get all items

  GET :8001/nutritional_info
Parameter Type Description
dish string Required. The dish for which we want the nutritional values to be extracted.

Get item

  GET :8002/info_gemini/invoke
Parameter Type Description
'input':{'dish':dish} json Required. Internal call to fetch the data from gemini
  GET :8002/info_gpt/invoke
Parameter Type Description
'input':{'dish':dish} json Required. Internal call to fetch the data from gpt
  GET :8002/info_claude/invoke
Parameter Type Description
'input':{'dish':dish} json Required. Internal call to fetch the data from claude
  GET :8003/detect
Parameter Type Description
file file Required. Image of the food item for the classification

Screenshots

Architecture Architecture

Demo

Nutrivision.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published