LaboratoireMecaniqueLille / crappy

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

Enhancement of the format detection in camera gstreamer basic #76

Closed PIERROOOTT closed 9 months ago

PIERROOOTT commented 9 months ago

Currently, there is no format detection in the camera gstreamer basic and formats are guessed. The user can then just choose the image format among a non exhaustive list, even if some more are available. This is not optimal for the user.

In this PR, the available formats are detected by using the Gst device monitor (032f79f). Then, the list of the available formats is inspected in order to check if those formats are applicable (9daf836).

Closes #58.