Video streaming Tutorial of sending processed Opencv video to NGINX and distributing video from NGINX (broadcast) by HLS stream for a wider audience, like multiple web players, VLC, or any other video stream receiver. Opencv application HLS streaming by GStreamer and NGINX We will use GStreamer to send video from the Opencv application by rtmp2sink to an RTMP module in NGINX. In our example, the server is a widely used NGINX server with an Nginx-RTMP-module. The NGINX will receive RTMP video from Opencv and restream as an HLS video stream considered for multiple end consumers. This is a follow-up to the previous article about Video streaming from Opencv to RtspSimpleServer by rtsp protocol. The goal is the same. Send video from Opencv to the server and restream the video for a wider audience. The difference is that RtspSimpleServer running on windows, NGINX is running in docker (WSL2). The one-to-one communication between Opencv and RtspSimpleServer was established by RTSP protocol
Opencv 4 DNN, People detection CPU performance with yolo 2 tiny model I am still working on tutorial how to simply run yolo and others model in opencv 4. I try to do as simple as possible. Not like a general sample in Opencv. Differently, simply, and described as much as possible. Some technical specifications video Testing opencv 4.0 DNN with yolo tiny 2 model on people detection in a mall. Pure CPU, I7 (4 cores), running by the following command under windows 10. Performance for CPU without 2 much optimization effort is 500 ms per image approximately on my configuration. Let me know if there is some problem with the parameters. testOpecv . exe --config= C :\darknet-master\cfg\yolov2- tiny . cfg --model= C :\darknet-master\weights\yolov2- tiny . weights --classes= C :\opencv32\darknet-master\data\ coco . names --width= 616 --height= 616 --scale= 0.00192 --rgb Sources: Thank you for a great job https://opencv.org/ https: