python cv2 comment mettre à jour l'image

# 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)
Flyhouse_Squarewheel