Skip to content

Python, Flask framework and a Machine learning API to Detect if an image is a hot dog or a "not hot dog" just like Jian Yang from Silicon Valley using machine learning models on hugging face.

Notifications You must be signed in to change notification settings

GearWestX/ai-hotdog-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hot Dog detector with Machin learning models and Flask

Use Flask Framework and Machine learning models from Hugging Face API repository to create a Hot Dog dectector.

Setup 💻

Create a virtual env and open a new terminal to install all of the dependencies project running the following:

Install Flask Framework

python -m pip install flask

Install Dotenv library

pip install python-dotenv

Install Requests library

pip install requests

Now run this project

python3 web.py

Goal of this project? 💡

  • Use Machine learning models for our App logic. In this case Hugging Face has a set of models than we can use with tokens

  • Learn to use Python with Flask framework to Query APIs and route them to our web application front-end and get validate the images files

Use this as a boiler plate to detect other types of objects

You can train your own Machine learning models and integrate them using this detector boilerplate or you could search for other models that can be used to detect if the images is correct or not.

About

Python, Flask framework and a Machine learning API to Detect if an image is a hot dog or a "not hot dog" just like Jian Yang from Silicon Valley using machine learning models on hugging face.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published