This app allows one to generate tag's for any image extending Yolov8 and vggface2 model. This can also learn new tags on the fly.
- Detect objects (using Yolov8)
- Recognize faces (facenet-pytorch)
- Train on custom classes (Using Yolov8 pretrained model)
- Train to recognize faces (With 1 image per class)
- Extended multi-threaded APIs (using fastAPI)
- Dockerized App
- Swagger Documentation available
docker-compose build
docker-compose up
cd fastapi
pip install virtualenv
virtualenv virtualenv
source venv/Scripts/activate
pip install -r requirements.txt
pip install opencv-python
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu # For CPU
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu117 # For GPU
uvicorn server:app --host 0.0.0.0 --port 8000
If you have any feedback, please reach create an issue