Repository for OpenCV's extra modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
255 B

import numpy as np
import cv2 as cv
v = cv.viz.Viz3d_create("Viz Demo")
print("First event loop is over")
v.spin()
print("Second event loop is over")
v.spinOnce(1, True)
while not v.wasStopped():
v.spinOnce(1, True)
print("Last event loop is over")