wiki:UnifiedCameraAccess

Version 1 (modified by Matthias Vogelgesang, 14 years ago) (diff)

--

Unified Camera Access

Specification

Properties of cameras are accessed in a vendor-neutral way by specifying the property names as defined in uca.h. The following list is the definite specification of basic properties that all devices must implement:

Property Name Property String Unit Access Meaning
UCA_PROP_NAME name null-terminated C string r Name of camera
UCA_PROP_WIDTH width pixels r/w Width of image to be taken
UCA_PROP_HEIGHT height pixels r/w Height of image to be taken
UCA_PROP_MAX_WIDTH max-width pixels r Maximum possible width
UCA_PROP_MAX_HEIGHT max-height pixels r Maximum possible height
UCA_PROP_BITDEPTH bit-depth number of bits r Bits per pixel
UCA_PROP_EXPOSURE exposure microseconds r/w Duration of image capture
UCA_PROP_FRAMERATE frame-rate frames per second r Current number of frames per second

Code