diff --git a/python/pokedex_rpi.py b/python/pokedex_rpi.py index 3b8b5c82cb92913e7d0dea8f7d0397579d9dde3f..91020193dd81bb1ec87e6655e29a0af9935dedf3 100644 --- a/python/pokedex_rpi.py +++ b/python/pokedex_rpi.py @@ -42,6 +42,9 @@ with Hailo(hef_path) as hailo: # Optionally display the captured image try: cv2.imshow("Captured Image", frame) + print("-- Press any key to continue...") + cv2.waitKey(0) + cv2.destroyAllWindows() except cv2.error: print("-- GUI display failed, saving and showing with feh instead...") output_path = "/tmp/captured.png"