htopcu
1
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.5.1
• TensorRT Version 7.1.3+cuda10.2
• Issue Type( questions, new requirements, bugs) Question
Hi,
How can I print/use detections from sgie1 ? I can only access detections from pgie.
deepstream_test_1_usb_2.py (15.3 KB)
Or I access both but I cant tell the difference because class id’s similar
Thanks.
kayccc
3
Glad to know you found the solution.
htopcu
4
Hi @kayccc . I have another problem with object_id.
How is track_id changing here ?
track_id = obj_meta.object_id
now = time.time()
if flag==0 and track_id != last_track_id:
print(str(track_id) + ' -- ' + str(last_track_id))
last_track_id = track_id
print('Photo')
takenow = time.time()
flag = 1
TAKE_PHOTO = True
if now>takenow+5:
print('Reset')
flag = 0
This is the output
1 -- 0
Photo
Reset
18446744073709551615 -- 1
Photo
Reset
Reset
1 -- 18446744073709551615
Photo