Image
[email protected]:~/Bitol/VirtualDroneSolution/UseCases/Tasks/Services/Image/Server$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! image/jpeg,width=640, height=480, framerate=30/1 ! rtpjpegpay ! udpsink host=127.0.0.1 port=5000
[email protected]:~/Bitol/VirtualDroneSolution/UseCases/XunanKab/OpenCv$ docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/video0 -p 5000:5000/udp -v /home/user/Bitol/SoftwareDevelopmentEnvironment/Docker/Services/ComputerVision/FaceDetect/:/FaceDetect user/computervision-opencv
[email protected]:~/Bitol/VirtualDroneSolution/UseCases/XunanKab/OpenCv$ docker run -it --device /dev/video0 -p 5000:5000/udp -p 5600:5600/udp -v /home/user/Bitol/SoftwareDevelopmentEnvironment/Docker/Services/ComputerVision/FaceDetect/:/FaceDetect user/computervision-opencv
[email protected]:~$ cd /FaceDetect/
[email protected]:/FaceDetect$ python3 facedetect.py leon 5000 172.17.0.1 5700 5800
[email protected]:~/Bitol/VirtualDroneSolution/UseCases/Tasks/Services/Image$ gst-launch-1.0 -v udpsrc port=5700 ! application/x-rtp, media=video, clock-rate=90000, encoding-name=JPEG, payload=26 ! rtpjpegdepay ! jpegdec ! xvimagesink sync=0
Copy link