3

I am trying to control exposure value for USB webcam connected to raspberry pi. Exposure is not listed in --list-controls for my camera, however exposure control was previously done for windows desktop by:

CamControl.Set(CamControlProperty.Exposure, ManualExposure, CameraControlFlags.Manual);

Is there any python libraries(similar to picamera) which may help me with that or other way to control exposure? Thanks.

2
  • Did the manufacturer provide a windows driver? If so then that's what provides the additional functionality there.
    – goldilocks
    Commented May 25, 2015 at 8:15
  • @goldilocks, thanks for reply. I am not sure what you mean, but the same camera has been used as sensor for windows desktop app(standard usb webcam driver and directshowlib allow to access exposure and autofocus controls). I am not familiar with Linux and its libraries to implement this functionality. Now I am trying to access these controls using OpenCV on Raspberry Pi.
    – Roman
    Commented May 25, 2015 at 20:35

1 Answer 1

2

Solved by using uvcdynctrl control tool instead of v4l2. For my webcam exposure can be changed by uvcdynctrl -s "Exposure (Absolute)".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.