Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1251

Python • Odd situation when using open cv video capture

$
0
0
I am developing a image processing software which will be running on pi5.
I am using usb video camera connected to the pi. I test my code on pi connecting my laptop to pi over real vnc viewer.
Everything works perfect and i see the results on the frame continously when pi connected to the my home's wifi connection.
Very odd situation occurs when i connect the devices to my mobile phones hot spot out of the home.
Software start normally but after a little time crashes with:
[ WARN:0@24.104] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
Image not handle
[ WARN:0@24.104] global cap_v4l.cpp:887 requestBuffers VIDEOIO(V4L2:/dev/video0): failed VIDIOC_REQBUFS: errno=19 (No such device)
After that pi loses the camera device0 channel till restart.
Any help would be perfect.
Thanks...

Statistics: Posted by uyuksel — Wed Mar 20, 2024 8:02 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles