You guys really ought to check this out; there's a library called "libuvc" that basically exposes all the awesome settings in the USB video-device (i.e. webcam) protocol:
https://int80k.com/libuvc/doc/group__ct ... 6a68aab217
Analog gain, auto-exposure overrides, auto-framerate overrides, exposure length, digital window (devote full USB bus bandwidth to a selected rectangle), brightness/contrast, backlight compoensation overrides, MJPEG-over-the-wire (pretty sure the Andonstar does this), streaming control, high-resolution snapshotting...
A lot of this stuff is massively useful for pick-and-place operations.
If your favorite vision library's "grab video from camera" convenience-function doesn't expose all this stuff it's probably worth fetching the vidstream yourself. At least that's what I'm doing.
libuvc: access to low-level USB camera features
-
- Posts: 198
- Joined: Thu Jul 16, 2015 12:18 am
- Location: Washington State, USA
Re: libuvc: access to low-level USB camera features
Cool! Thank you for the link. This is something that really should be in.WayOutWest wrote:You guys really ought to check this out; there's a library called "libuvc" that basically exposes all the awesome settings in the USB video-device (i.e. webcam) protocol:
https://int80k.com/libuvc/doc/group__ct ... 6a68aab217