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

Various style refactorings and fixes on `CameraGstreamer` and `CameraOpencv` objects #78

Closed WeisLeDocto closed 9 months ago

WeisLeDocto commented 9 months ago

In #76, a few improvements were brought to the gstreamer_camera_basic.py file. The branch on which these changes were brought was however not up to date with develop, and the improvements could not be propagated as is to other camera files.

With this PR, the changes in gstreamer_camera_basic.py are propagated to gstreamer_camera_v4l2.py, and similar style corrections and minor fixes are also brought to opencv_camera_v4l2.py and _v4l2_base.py.