Commit 85da736f authored by Marcos Mendes's avatar Marcos Mendes
Browse files

added features

parent 9117795e
No related merge requests found
Pipeline #3412 failed with stage
in 4 seconds
Showing with 2 additions and 1 deletion
+2 -1
......@@ -626,12 +626,13 @@ def loop_and_detect(table, queue_results, queue_frames_logs, results_mutex, vis,
#print(others)
#"timestamp_readFrame" : str(last_start_timestamp),
#print(timestamp_end)
final_json_p = {
"numberOf" : len(others),
"listOfObjects" : others,
"timestamp" : time.time(),
"receiverID" : int(service_configs.camera_configs.camera_id),
"test" : {"timestamp_start_yolo": timestamp_start[0], "timestamp_end_yolo": timestamp_end[1]},
"test" : {"timestamp_start_yolo": timestamp_start[0], "timestamp_end_yolo": timestamp_end},
}
client.publish("jetson/camera/tracking/objects", payload=json.dumps(final_json_p), qos=0, retain=False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment