bombwera.blogg.se

Webcam c930
Webcam c930




webcam c930

The utility function I wrote for getting and setting V4L2 controls is on GitHub and has a bunch of additional functionality such as handling of default values, multiple controls, and multiple batches of controls, which makes the code more intricate than a simple "change zoom level" example would be.

webcam c930

To do this from Python, I used subprocess.check_output(). You can change the controls, e.g., with v4l2-ctl -d 0 -c zoom_absolute=10. Zoom_absolute (int) : min=0 max=10 step=1 default=0 value=0 įocus_absolute (int) : min=0 max=40 step=1 default=0 value=8 Here part of the output of v4l2-ctl -d 0 -l for a Microsoft LifeCam Cinema. To figure out what controls the camera provides via UVC, on Ubuntu you can use v4l2-ctl, which is in package v4l-utils. According to its specs, the C930e is UVC-compatible (as most webcams are), and it most likely allows zoom level control via UVC.






Webcam c930