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