Hi Support,
We tried using v4l2 installed by pip in OpenCV-Python on i.MX8M.
However, it returns an error below when I give cv2.VideoCapture(0).
VIDIOC_QUERYCTRL: Inappropriate ioctl for device
PIP may install a standard version of arm v4l2, and I have heard the v4l2 driver is modified for i.MX platform.
So, there should be some information to do for what I mentioned in the title.
Could anyone help me?
@jpkong how you run your opencv code on nxp?
Please,have you solved the problem ? I have the same question.
Hello Jeonpyo,
Please try to run: cmake -DWITH_LIBV4L=ON .
in the build directory or try to check if you video0 is connected ls -al /dev/video*
Regards