- Food Dish Recognition
- Nutritional Values
- Recipe of the dish
- History and origin of the dish
- Menu dishes segregation into healthy and unhealthy
- React-native for frontend
- Expo for App bundling and Mobile hosting
- Python FastAPI for backend
- OpenAI Api for text generation and formatting
- Google Cloud Platform - VisionAI Api for image and text detection
- API Ninjas for nutritional information
- Create .env or rename .env_template file to .env in the backend folder and don't forget to put .env in .gitignore
- Create an account on openai.com
- Setup up billing info
- Set API key
- Put API key in .env file like this -
OPENAI_API_KEY=<your-api-key>
Setting up GCP VisionAI Api:
- Create account on GCP
- Setup billing info
- Create a project
- Search for VisionAI api in "APIs & Services" > "Library" and click enable
- After enabling the VisionAI api, go to credentials and click "Create Credentials"
- Select "Service Account" and setup by providing name and description
- Download the service account credentials as json and put the json file in backend folder
- Add the path of credentials file to .env as -
GOOGLE_APPLICATION_CREDENTIALS=<path-to-credentials-file>
- Do not forget to put the file's name in .gitignore
Setting up API Ninjas api:
- Go to https://api-ninjas.com/ and sign up
- Go to yur profile and get api key
- Add the api key in .env file as -
NINJAS_API_KEY=<your-api-key>
Starting backend project -
# open a new terminal
cd backend
pip install -r requirements.txt
python -m uvicorn main:app --reload --host 0.0.0.0 --port 8000
Starting frontend project -
- Installation
# open a new terminal
cd client
npm install
- Get your network ip address by running this command in your terminal
- Copy the ip address and replace the ip address in api.js file
- Run the following command to start the app
- This will run the app in the computer and provide you the steps to run the app in the phone.