<VideoVision>.delay

Set the frame delay of the cameras

 

<VideoVision>.delay(
    frames    
    camera = viz.BOTH_EYE    

)

 

frames

The number of frames you want to delay the camera for. For example, if you wanted to delay the cameras for 1 second and your application is running at 60 frames/second, then you would set this value to 60.


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

#Add a 10 frame delay to the cameras
video.delay(10)