Skip to content

Итоговый проект. Реализация модели детекции и ее встраивание в реальное приложение на python

License

Notifications You must be signed in to change notification settings

agorinenko/face-detection

Repository files navigation

Implementation of a web demo with an image detection model

Link to jupyter notebook

https://colab.research.google.com/drive/1J73R_8MC9OAqes4S2WyrpS9BLoP-2cE_?usp=sharing

Start app in docker

  1. Install docker and docker-compose https://docs.docker.com/compose/install/
  2. Execute from the root directory of the project
docker-compose up -d --build

Result on my PC

[+] Building 227.1s (22/22) FINISHED 
[+] Running 2/2
 ⠿ Container face_detection_app_1    Started                                                                                                                                                                                                                                                                                                                                                                                     3.2s
 ⠿ Container face_detection_nginx_1  Started  
  1. Open http://127.0.0.1/
  2. Profit!

Install dev requirements

pip install -r requirements.dev.txt

Start dev server

Execute from the root directory of the project

python -m api runserver api --root api --verbose

Run tests from console

pytest -ra

PyCharm :: Run/Debug configuration

  1. Add python configuration
  2. Module name: api
  3. Parameters: runserver api --root api --verbose
  4. Working directory - укажите актуальные корневой каталог проекта

About

Итоговый проект. Реализация модели детекции и ее встраивание в реальное приложение на python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published