Skip to content

codestellar/smart-food-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

alt

About

For students and learners exploring AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published