我尝试在this tutorial上使用视频流方法
当我尝试使用连接的摄像机时,它运行得很好,但是当我使用它通过RTSP通过RTSP传输来自另一个raspberry pi的视频时,它显示了一个错误:
raspivid -o - -t 0 -w 300 -h 300 -fps 30 -rot 270 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8000/}' :demux=h264
python openvino_real_time_object_detection.py --prototxt MobileNetSSD_deploy.prototxt \--model MobileNetSSD_deploy.caffemodel
[INFO] loading model...
[INFO] starting video stream...
[rtsp @ 0x26ed350] method SETUP failed: 461 Client error
(python:1863): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
Traceback (most recent call last):
File "openvino_real_time_object_detection.py", line 63, in <module>
net.setInput(blob)
NameError: name 'blob' is not defined
有人知道怎么修理吗?在
目前没有回答
相关问题 更多 >
编程相关推荐