RealOrangeOne / zoloto

A fiducial marker system powered by OpenCV - Supports ArUco and April
https://zoloto.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Determine if we are using the jpeg or YUYV (raw) feed from webcams #228

Open trickeydan opened 4 years ago

trickeydan commented 4 years ago

Raw has less noisy, jpeg possibly faster.

Maybe add an option?

RealOrangeOne commented 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.

rgilton commented 4 years ago

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.