GStreamer断言'gst_uri_is_valid(uri)'失败了

时间:2018-04-13 12:25:48

标签: python-3.x opencv object-detection cv2 yolo

我试图运行这个repo来实现与Darkflow的YOLO,但是我遇到了这个奇怪的错误(下面的堆栈)。我重新安装了tensorflow和其他软件包,比如opencv,它们就位。互联网上关于它的信息也很少。关于这个问题的任何想法都非常感谢。

(python3:7151): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
OpenCV Error: Unspecified error (GStreamer: cannot link elements
) in CvVideoWriter_GStreamer::open, file /home/strange/software/opencv/modules/videoio/src/cap_gstreamer.cpp, line 1466
Traceback (most recent call last):
 File "run.py", line 31, in <module>
   tfnet.camera()
 File "/home/strange/objectTracking/Tracking-with-darkflow/darkflow/darkflow/net/help.py", line 130, in camera
   'output_{}'.format(file), fourcc, fps, (width, height))
cv2.error: /home/strange/software/opencv/modules/videoio/src/cap_gstreamer.cpp:1466: error: (-2) GStreamer: cannot link elements
in function CvVideoWriter_GStreamer::open

0 个答案:

没有答案