Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Food Classifier

  1. Train a model using teachablemachine.withgoogle.com
  2. We had trained with images of Vegetables, Fruits, Snacks and Drinks
  3. Train the Model
  4. Download the Model
  5. The downloaded model is placed in static/my_model directory
  6. Install python on your machine
  7. Run command to enable virtual environment
python -m venv venv
  1. If you are using windows, run this command to activate virtual environment
source ./venv/Scripts/activate
  1. If using ubuntu or mac, run this command to activate virtual environment
./venv/bin/activate
  1. Install requirements
pip install -r requirements.txt
  1. Create Gemini API Key from Google AI Studio
  2. Create a .env file and add this:
GEMINI_API_KEY=your_api_key_here
  1. Run the following command, to run application
python app.py
  1. Added a shareable link for model:
https://teachablemachine.withgoogle.com/models/pHQ_FEGV2/

alt

About

For students and learners exploring AI

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages