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
I have Raspberry 4B 64 bit. I followed all the instructions for installation and am trying to execute a simple code.
using (VideoCapture camera = new VideoCapture(0))
{
Mat image = new Mat();
bool status = camera.Read(image); //--error here
//or image = camera.QueryFrame();
if (!image.IsEmpty)
{
Console.WriteLine("super");
}
}
after few seconds of delay on this line
bool status = camera.Read(image);
I get the following error. Please help!!!
[ WARN:0@10.033] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
[ WARN:1@10.036] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
The text was updated successfully, but these errors were encountered:
It is a warning message and not an error. It says that Open CV tried to use V4L library to open camera, but none is available.
Are you using raspberry pi camera module? Just an FYI, Open CV do not have a video capture backend that is compatible with raspberry pi camera module. You won't be able to create a VideoCapture from Open CV using the RP camera module.
Hello,
I have Raspberry 4B 64 bit. I followed all the instructions for installation and am trying to execute a simple code.
using (VideoCapture camera = new VideoCapture(0))
{
Mat image = new Mat();
bool status = camera.Read(image); //--error here
//or image = camera.QueryFrame();
if (!image.IsEmpty)
{
Console.WriteLine("super");
}
}
after few seconds of delay on this line
bool status = camera.Read(image);
I get the following error. Please help!!!
[ WARN:0@10.033] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
[ WARN:1@10.036] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
The text was updated successfully, but these errors were encountered: