You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the code a windows pops up after 1 second. The windows shows the current livestream but then immediately closes again. On the command line I can see the following errors
this(repeated many times): [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 34 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 55 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 127 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 127 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 3 bytes
and finally this:
Traceback (most recent call last): File "./test.py", line 50, in <module> small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25) cv2.error: OpenCV(4.1.1) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
I've tried rebooting the computer without success.
I've no clue what this means and how to fix it.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I've also tried the other webcam example. Here it works for some time(about 20-30 sec.) and then breaks again with this error message:
[mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 3 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 6 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 5 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 5 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 47 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 19 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 22 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 8 bytes [mpjpeg @ 0x8fdb880] Expected boundary '--' not found, instead found a line of 8 bytes Traceback (most recent call last): File "./test2.py", line 41, in <module> rgb_frame = frame[:, :, ::-1] TypeError: 'NoneType' object is not subscriptable
Hardware
Description
I am simply exectuing your example facerec_from_webcam_faster.py.
I am using a video stream from a Mobotix camera with this URL:
video_capture = cv2.VideoCapture('http://admin:xxxxxxxx@doorstation.mydomain.lan/control/faststream.jpg?stream=full')
When I run the code a windows pops up after 1 second. The windows shows the current livestream but then immediately closes again. On the command line I can see the following errors
this(repeated many times):
[mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 34 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 55 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 127 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 127 bytes [mpjpeg @ 0x860b000] Expected boundary '--' not found, instead found a line of 3 bytes
and finally this:
Traceback (most recent call last): File "./test.py", line 50, in <module> small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25) cv2.error: OpenCV(4.1.1) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
I've tried rebooting the computer without success.
I've no clue what this means and how to fix it.
Thanks in advance.
The text was updated successfully, but these errors were encountered: