python cv2 how to update image

36

# Call imshow multiple times to update image.
# waitKey(milliseconds) waits a number of milliseconds before updating the image
while True:
    cv2.imshow('image', img)
    cv2.waitKey(1)

Comments

Submit
0 Comments