GergelySzabolcs Hi, I was playing around with this and continuously encounter this
critical error:
[18443010C1A5FA0F00] [10.0.14.31] [21.922] [system] [critical] Fatal error. Please report to developers. Log: 'ShaveHandler' '172'.
Running this from a Windows Command Prompt does yield a little more information:
[2022-09-21 12:53:07.380] [warning] Monitor thread (device: 18443010C1A5FA0F00 [10.0.14.31]) - ping was missed, closing the device connection
# possible tracking types: ZERO_TERM_COLOR_HISTOGRAM, ZERO_TERM_IMAGELESS, SHORT_TERM_IMAGELESS, SHORT_TERM_KCF
objectTracker.setTrackerType(dai.TrackerType.ZERO_TERM_COLOR_HISTOGRAM)
objectTracker.setMaxObjectsToTrack(100) #Maxes at 1000 but setting it to match object detector.
objectTracker.setTrackerIdAssignmentPolicy(dai.TrackerIdAssignmentPolicy.SMALLEST_ID)
With the 'setMaxObjectsToTrack' line commented out it runs with no issue, but tracking does max at 60 objects. The model I'm using is currently a 6 shave model though I have a 5 shave version that runs into the same issue (and it nannies me that I should use the 6 shave model. π )
I've also tried the first three tracking types as your Object Tracking page says that Short_Term_KCF maxes at 60 objects. I'm currently at code level 2.17.4.0.
While you and the page say that theoretically we can track up to 1000 items the method description further down says 60 is the max.
setMaxObjectsToTrack(self: depthai.node.ObjectTracker, maxObjectsToTrack: int) β None
Specify maximum number of object to track.
Parameter maxObjectsToTrack:
Maximum number of object to track. Maximum 60.
Can more than 60 objects be tracked? What am I missing that may be causing this to fail?
Thank you for any assistance you can provide,