This commit is contained in:
2022-08-26 11:04:05 +02:00
parent 5382e7c65a
commit fcb1a34d26
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
#viewer.show_stream("tcp://localhost:" + str(DEFAULT_PIPELINE_PORT))
#pipeline_config = PipelineConfig("test_pipeline", parameters={"camera_name": "simulation", "function":"transparent"})
#start_pipeline("test_pipeline", {"camera_name": "simulation", "function":"transparent"})
with source(host="127.0.0.1", port=DEFAULT_PIPELINE_PORT, mode=SUB, receive_timeout = 3000) as stream:
data = stream.receive()
if not data:
raise Exception("Received None message.")
print (data.data.data.keys())