Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 643 Bytes

File metadata and controls

37 lines (19 loc) · 643 Bytes

HumanDetector

Simple script to detect humans on [Dahua] surveillance cameras and alert via telegram, using Tensorflow object detection

PREREQUISITES

sudo apt install python3-pip

pip3 install tensorflow

pip3 install matplotlib

pip3 install opencv-python

pip3 install telegram-send

pip3 install pillow

pip3 install --upgrade protobuf

sudo apt install protobuf-compiler

git clone https://github.com/tensorflow/models

PREPARE

cd models/research

protoc object_detection/protos/*.proto --python_out=.

cd models/research/object_detection

cp /humanDetector.py humanDetector.py

RUN

python3 humanDetector.py