poetry install
# or with pip
pip install -r requirements.txt
Create file .env in people_detection/config/
CHAT_ID=<YOUR ID HERE>
TELEGRAM_TOKEN=<YOUR TOKEN HERE>
RTSP_URL=<YOUR URL HERE>
sudo docker build -t peopledetection .
sudo docker run -v /logs/:/app/logs -d --name people-detection --restart=always peopledetection