Open trickeydan opened 4 years ago
There don't appear to be any OpenCV flags designed to switch this, which is unfortunate. https://docs.opencv.org/3.4/d4/d15/group__videoio__flags__base.html
We might be at the mercy of what ever format the camera returns. JPEG compressed or otherwise.
The solution is not to use the OpenCV API to acquire images -- in libkoki we acquire images use v4l2, having configured the camera's delivery format. It is hard to find webcams that don't support YUYV.
Raw has less noisy, jpeg possibly faster.
Maybe add an option?