From cc6dd8c824fc99d4d30f237b1ce23398a222ecbc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 11 Oct 2025 19:08:22 +0000 Subject: [PATCH 1/2] Initial plan From 4bf06db34b26d7d54d544fbad841040c11262d63 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 11 Oct 2025 19:11:46 +0000 Subject: [PATCH 2/2] Fix undefined current_path variable in main function Co-authored-by: hackolite <826027+hackolite@users.noreply.github.com> --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 61489b80..231f5571 100644 --- a/main.py +++ b/main.py @@ -106,6 +106,9 @@ def main(): unuse_async_draw = args.unuse_async_draw use_debug_print = args.use_debug_print + # Get the current directory path + current_path = os.path.dirname(os.path.abspath(__file__)) + print('**** Load Config ********') opencv_setting_dict = None