Script execution
This commit is contained in:
@@ -14,17 +14,12 @@ viewer.show_stream("tcp://localhost:" + str(OUTPUT_PORT))
|
||||
|
||||
pipeline_config = PipelineConfig("test_pipeline", parameters={"camera_name": "simulation", "function":"transparent"})
|
||||
|
||||
source = None
|
||||
def send():
|
||||
global source
|
||||
print ("Startint pipeline on port: ", OUTPUT_PORT)
|
||||
try:
|
||||
processing_pipeline(stop_event, statistics, parameter_queue, camera_client, pipeline_config, OUTPUT_PORT, MockBackgroundManager())
|
||||
except:
|
||||
traceback.print_exc()
|
||||
finally:
|
||||
print ("Source -> " , source)
|
||||
|
||||
|
||||
thread = Thread(target=send)
|
||||
thread.start()
|
||||
|
||||
Reference in New Issue
Block a user