Hello! When running the example [Hailo-Application-Code-Examples/runtime/hailo-8/python/object_detection at main · hailo-ai/Hailo-Application-Code-Examples · GitHub] from (Hailo-Application-Code-Examples/runtime/hailo-8/python/object_detection at main · hailo-ai/Hailo-Application-Code-Examples · GitHub), on the provided video, the first time works well. Running it a second time however, does not open a windows, I assume because some resources were not freed. I am using a Raspberry Pi 5 with Hailo AI HAT.
Running
active_threads = threading.enumerate()
logger.info(f"Active threads during shutdown: {len(active_threads)}")
shows that the MainThread is still active when the program closes.