Navigation

Operators and Keywords

Function List:

C++ API

Function File: props = get (vi)
Function File: val = get (vi, prop)

Access property values of videoinput objects.

Without prop a cell with available properties is returned. The entries starting with a upper letter are available on all devices, the others queried from and specific to the used driver.

get (obj) ⇒
 {
   [1,1] = SelectedSourceName
   [4,1] = DeviceCapabilities
   [5,1] = VideoInput
   [6,1] = VideoResolution
   [7,1] = VideoFrameInterval
   [8,1] = VideoFormat
   [9,1] = brightness
   [10,1] = contrast
   [11,1] = saturation
   [12,1] = white_balance_temperature_auto
 }
get (obj, "SelectedSourceName")
  ⇒ /dev/video0
get (obj, "VideoResolution")
  ⇒    320   240

See also: @videoinput/set.

Package: image-acquisition