From 5e456b2fc57df7de9509aa5731dfd354647c2013 Mon Sep 17 00:00:00 2001
From: "michael.divia" <michael.divia@etu.hesge.ch>
Date: Wed, 9 Apr 2025 21:19:56 +0200
Subject: [PATCH] asdojoashdksah

---
 python/pokedex_rpi.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/python/pokedex_rpi.py b/python/pokedex_rpi.py
index 3b8b5c8..9102019 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"
-- 
GitLab