Closed TaynaCT closed 4 years ago
Hi @TaynaCT ,
In SDK 3.0, there is no OBJECT_TRACK_STATE
but there is OBJECT_TRACKING_STATE instead.
Hi @Poutsh ,
apparently this was the problem. Thank you. But just FYI, on this page( https://www.stereolabs.com/docs/object-detection/using-object-detection/ ) on the ACCESSING OBJECT INFORMATION section, they put wrong info :( The example they give is:
if object_tracking_state == sl.OBJECT_TRACK_STATE.OK :
print("Object {0} is tracked\n".format(object_id))
it shoud be sl.OBJECT_TRACKING_STATE.OK
instead.
Thank you for your help. :)
So I'm building an app in python for the ZED 2 using Objects detection module. O the main thread I try to see the OBJECT_TRACK_STATE. But once in a while, when the camera detects a lot of things, the program throws this error message:
What is going on? These are the conditions I have on my code:
zed2 #pyzed.sl