LaboratoireMecaniqueLille / crappy

Command and Real-time Acquisition Parallelized in Python
https://crappy.readthedocs.io/en/stable/
GNU General Public License v2.0
81 stars 16 forks source link

Better parsing of v4l2-ctl output in CameraOpencv #65

Closed WeisLeDocto closed 11 months ago

WeisLeDocto commented 1 year ago

Recently, #55 added a better parsing of v4l2-ctl's output on Linux machines for the CameraGstreamer Camera object. In particular, it allowed to automatically add to the configuration window all the parameters listed by v4l2-ctl, with a correct handling of their type, value, limits, etc.

As CameraOpencv also relies on v4l2-ctl for determining the available settings of the driven camera on Linux machines, a similar improvement should be brought to this second class. The possibility to tune the settings directly with v4l2-ctl instead of OpenCV should be explored.

In case CameraGstreamer and CameraOpencv would end up being extremely similar on Linux machines, having them both derived from a common parent class would be nice. On Windows and macOS, the CameraGstreamer and CameraOpencv will likely remain very limited, unless we find an equivalent to v4l2-ctl.

This issue contains #17.

ToDo