Answers for "how to terminate a program cv2 python"

0

how to terminate a program cv2 python

# YOU MUST CLICK ON THE WINDOW AND PRESS "ESC" KEY TO EXIT THE WINDOW
Posted by: Guest on July-19-2021
0

how to terminate a program cv2 python

# at the end of the code, in the loop
while True:
  # ... (code here)
  k = cv2.waitkey(1)
  if k == 27:
    break

# at the end of the code, outside of the while loop
cv2.destroyAllWindows()
Posted by: Guest on July-19-2021

Code answers related to "how to terminate a program cv2 python"

Python Answers by Framework

Browse Popular Code Answers by Language