by
knoname » Tue Feb 26, 2019 6:03 pm
I am attempting to use an M4 + dual OV13850's + OpenCV + Ubuntu. In addition, I need to control the camera manually for focus, exposure, white balance, etc. I have been blocked trying to read even a single camera from OpenCV for several months.
The gst and v4l2 solutions listed by ayaromenok earlier do not seem to work on my system. gst freezes my system. v4l2 works briefly and then freezes just reading the video port after a few reads (no attempt to display). I suspect v4l2 method could work if there was a built-in conversion to bgr and the image size was sensed correctly -- my guess is a buffer overrun of some sort.
Once the image can be read and displayed in OpenCV, the next challenge is there isn't a method to control the camera settings in Ubuntu?
gst-camera.sh works fine. I am using downloaded friendly desktop and downloaded friendly opencv (trying to keep known sources until *something* works).
I hope I am simply missing something stupid on my part. I would appreciate any suggestions.