From bd999e7d1d411f1423404d34f5b504d04b8756da Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Thu, 25 Aug 2022 10:26:02 +0200 Subject: [PATCH] Script execution --- script/test/test_stream_out.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/test/test_stream_out.py b/script/test/test_stream_out.py index 2dd1b2c..a43d3a4 100644 --- a/script/test/test_stream_out.py +++ b/script/test/test_stream_out.py @@ -9,7 +9,7 @@ statistics=Namespace() - +OUTPUT_PORT = 12005 viewer.show_stream("tcp://localhost:" + str(OUTPUT_PORT)) pipeline_config = PipelineConfig("test_pipeline", parameters={"camera_name": "simulation", "function":"transparent"}) @@ -21,7 +21,7 @@ def send(port): except: traceback.print_exc() -OUTPUT_PORT = 12005 + thread = Thread(target=send, args=(OUTPUT_PORT)) thread.start()