Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Emgu on Raspberrypi error - global cap_v4l.cpp:1134 tryIoctl #931

Open
D3D-s opened this issue Apr 23, 2024 · 1 comment
Open

[BUG] Emgu on Raspberrypi error - global cap_v4l.cpp:1134 tryIoctl #931

D3D-s opened this issue Apr 23, 2024 · 1 comment
Assignees

Comments

@D3D-s
Copy link

D3D-s commented Apr 23, 2024

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:[email protected]] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.
[ WARN:[email protected]] global cap_v4l.cpp:1134 tryIoctl VIDEOIO(V4L2:/dev/video0): select() timeout.

@emgucv
Copy link
Owner

emgucv commented May 1, 2024

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.

opencv/opencv#21653
opencv/opencv#25072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants