Skip to content

Commit

Permalink
larger delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Dec 7, 2024
1 parent 5965514 commit a47be22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def inference_callback(self, msg):

if self.use_display_node:
cv2.imshow(self.window, final_image)
if cv2.waitKey(0.1) & 0xFF == ord('q'): # Press 'q' to close the window
if cv2.waitKey(1) & 0xFF == ord('q'): # Press 'q' to close the window
cv2.destroyAllWindows()
self.use_display_node = False

Expand Down

0 comments on commit a47be22

Please sign in to comment.