- Ubuntu 18.04 or higher
- Python 3.7.5
- ffmpeg
- PyTorch 1.7+
pip install -r requirements.txt
mkdir yolo_weights
wget -P yolo_weights https://pjreddie.com/media/files/yolov3.weights
wget -P yolo_weights https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov3.cfg
wget -P yolo_weights https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
wget -P yolo_weights https://raw.githubusercontent.com/adipandas/multi-object-tracker/master/examples/pretrained_models/yolo_weights/coco_names.json
- Go to project directory
- Execute
python http_server
- Execute
python server.py
- Execute
python stream.py
- Open
http://<server_ip>:<http_port>/index.html
(<server_ip>
andhttp_port
are defined inconfig.json
).