Vizard 8 » Command Index » Vizard modules » VideoVision » <VideoVision>.automaticgain
8.1

<VideoVision>.automaticgain

Enable/Disable automatic gain control for the cameras

<VideoVision>.automaticgain(  
mode  
camera = viz.BOTH_EYE  
)  
mode
One of the following values:

viz.ON
viz.OFF
camera = viz.BOTH_EYE
Can be one of the following values:

Camera values

viz.BOTH_EYE

Apply the setting to both cameras

viz.LEFT_EYE

Apply the setting to the left camera

viz.RIGHT_EYE

Apply the setting to the right camera

Remarks

Return Value

None

Example

import VideoVision
video = VideoVision.add()

#Enable automatic gain
video.automaticgain(viz.ON)

See also

<VideoVision>.gain
<VideoVision>.brightness
<VideoVision>.contrast
<VideoVision>.hue
<VideoVision>.saturation