This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot Open CSI Camera with OpenCV in TinkerOS 2.0.5
#1
I am using a CSI camera. It uses OV5647, and, according to the vendor, compatible with TinkerOS after 2.0.4.

In a clean TinkerOS 2.0.5, I followed the exact steps in Tinkerboard Wiki and the camera works fine if Gstreamer is used for preview except that it throws out an error message (but the preview still works). All information from Gstreamer is as follows,
       
Code:
        Setting pipeline to PAUSED ...
        libv4l2: error getting pixformat: Bad address
        Pipeline is live and does not need PREROLL ...
        Setting pipeline to PLAYING ...
        New clock: GstSystemClock


However, when I run the "OpenCV in python (Face Detection)" example, cv2.VideoCapture() cannot open the camera and throws out information as follows,
       
Code:
        VIDEOIO ERROR: V4L: device v4l2src ! video/x-raw,format=NV12,width=640,height=480 ! videoconvert ! appsink: Unable to query number of channels
        libv4l2: error getting pixformat: Bad address


Currently I am working on a prototype on Tinker Board, and everything is perfect except this camera issue... Any advice would be appreciated. If it just does not work, I have to look for an alternative for Tinker Board as soon as possible Undecided
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)