• DepthAI
  • ObjectTracker Demo --> No attribute Tracker Type

Hey. I have issues with the Luxonis object Tracker Demo. I get always the error:
...
objectTracker.setTrackerType(dai.TrackerType.ZERO_TERM_COLOR_HISTOGRAM)
AttributeError: module 'depthai' has no attribute 'TrackerType'
....
I'm running the Gen2.1 Pipeline together with an OAK-D on a RaspberryPi. Do you have any idea what's wrong?

The Demo Code:
https://docs.luxonis.com/projects/api/en/latest/samples/object_tracker/

ok. Just seen there is a 2.5 version available. Upgraded with:
python3 -mpip install depthai==2.5.0.0
Now the demo code runs.