Page 1 of 1

libuvc: access to low-level USB camera features

Posted: Wed Aug 12, 2015 4:51 am
by WayOutWest
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.

Re: libuvc: access to low-level USB camera features

Posted: Wed Aug 12, 2015 6:25 am
by JuKu
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
Cool! Thank you for the link. This is something that really should be in.