<VideoVision>.gain

Set the gain of the cameras

 

<VideoVision>.gain(
    value    
    camera = viz.BOTH_EYE    

)

 

value

A number between 0 and 1


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()

#Set the gain
video.gain(0.2)

See also

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