@@ -66,4 +66,6 @@ while (cap.isOpened()):
print("break out")
cap.release()
+if debug:
+ cv2.destroyAllWindows()
pipe.terminate()