Skip to content

Commit 70a2016

Browse files
committed
Mark exposure and gain as unsupported
Update OpenCVCameraBackend support levels: set_exposure and set_gain changed from BEST_EFFORT to UNSUPPORTED in dlclivegui/cameras/backends/opencv_backend.py. This updates the backend's capability reporting to reflect that exposure and gain adjustments are not supported by this backend.
1 parent 8e0df03 commit 70a2016

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dlclivegui/cameras/backends/opencv_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def static_capabilities(cls) -> dict[str, SupportLevel]:
131131
{
132132
"set_resolution": SupportLevel.SUPPORTED,
133133
"set_fps": SupportLevel.BEST_EFFORT,
134-
"set_exposure": SupportLevel.BEST_EFFORT,
135-
"set_gain": SupportLevel.BEST_EFFORT,
134+
"set_exposure": SupportLevel.UNSUPPORTED,
135+
"set_gain": SupportLevel.UNSUPPORTED,
136136
"device_discovery": SupportLevel.SUPPORTED,
137137
"stable_identity": SupportLevel.SUPPORTED,
138138
}

0 commit comments

Comments
 (0)