When I call the camera using OpenCV, I get this error
You need to check the cap_images.cpp to know more.
Thanks
One possibilty is that your opencv lib installed into your python env has not gstreamer support so backend IMAGES is tried but fails…
You may check with:
import cv2
print(cv2.getBuildInformation())
and check for “GStreamer”.
If gstreamer videoio backend is available, then just edit the code opening VideoCapture and add backend such as:
cap = cv2.VideoCapture(gst_pipeline_str, cv2.CAP_GSTREAMER)
Why is the CV2 version in Python 2 4.3 and Python 3 4.6 and cannot be uninstalled
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.