Skip to content

This app allows one to generate tag's for any image. The tags are generated for any object or face. The system is capable of learning new objects and faces on the fly.

License

Notifications You must be signed in to change notification settings

Ashes47/Auto-Tagging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Tagging

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.

Features

  • 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

Installation

Run with docker

  docker-compose build
  docker-compose up

Run without docker

Use virtualenv

  cd fastapi
  pip install virtualenv
  virtualenv virtualenv
  source venv/Scripts/activate

Installing dependencins

  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

Running

  uvicorn server:app --host 0.0.0.0 --port 8000

Swagger Links

Flow Diagram

Flow Diagram

Swagger

Swagger Link

Acknowledgements

Authors

Feedback

If you have any feedback, please reach create an issue

License

MIT

About

This app allows one to generate tag's for any image. The tags are generated for any object or face. The system is capable of learning new objects and faces on the fly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published