<VideoVision>.contrast

Set the contrast of the cameras

 

<VideoVision>.contrast(
    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 contrast to an average value
video.contrast(0.5)

See also

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