Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
atcll
object-detection-camera
Commits
85da736f
Commit
85da736f
authored
8 months ago
by
Marcos Mendes
Browse files
Options
Download
Email Patches
Plain Diff
added features
parent
9117795e
master
No related merge requests found
Pipeline
#3412
failed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
detection_parser_client.py
+2
-1
detection_parser_client.py
with
2 additions
and
1 deletion
+2
-1
detection_parser_client.py
View file @
85da736f
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help