Hi All,
I am running OpenCV on a Beaglebone Black with Ubuntu. After I installed it I tried importing it into python. That all worked so I tried to capture video from a USB Webcam. I can run the command `cap = cv2.VideoCapture(0)` but when I then run `ret, frame = cap.read()` it sits there for thirty seconds and then prints all this out:
select timeout
select timeout
OpenCV Error: Assertion failed (total() == 0 || data != NULL) in Mat, file /home/ubuntu/opencv/modules/core/include/opencv2/core/mat.inl.hpp, line 410
Traceback (most recent call last):
File "", line 1, in
cv2.error: /home/ubuntu/opencv/modules/core/include/opencv2/core/mat.inl.hpp:410: error: (-215) total() == 0 || data != NULL in function Mat
Everything I've searched for has come up empty, any ideas?
Thanks,
↧