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

<VideoVision>.saturation

Set the saturation of the cameras

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

See also

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