You only look once (YOLO) is a state-of-the-art, real-time object detection system.
This repository is forked from https://github.com/AlexeyAB/darknet
AlexeyAB version enable Window support and some options that I don't need to do again.
This repository extend YOLO to running on RTMP streaming.
At first move I would like to make my device having YOLO ability, so I plan to do this streaming in/out to get YOLO result.
However the streaming delay is too high to accept( more than 10 seconds).
Now it is another YOLO with RTMP input and output result.
- requirement to build Darknet
- OpenCV enabled
- cuDNN enabled
- GPU enabled
-
darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights -dont_show -rtmp_fps 15 -rtmp_bps 2000000 rtmp://YOUR.RTMP/SOURCE
-
darknet rtmp ouput url is fixed in src/demo.c. modify "output_url" manually before build the code.
- RTMP server : https://github.com/arut/nginx-rtmp-module
- RTMP client : VLC
- RTMP source : OBS
- output resolution : 852x480
- FPS: 15
OBS send streaming to RTMP server, server will call darknet(YOLO) to process. darknet(YOLO) will render to another rtmp streaming. VLC open the streaming.