报错提示:
运行官方例程“gen2 blur faces 报错AttributeError: ‘depthai.node.ObjectTracker’ object has no attribute ‘setTrackerIdAssigmentPolicy’
解决方法:
这是旧版api,新版:objectTracker.setTrackerIdAssignmentPolicy(dai.TrackerIdAssignmentPolicy.SMALLEST_ID)
< 1 min read
运行官方例程“gen2 blur faces 报错AttributeError: ‘depthai.node.ObjectTracker’ object has no attribute ‘setTrackerIdAssigmentPolicy’
这是旧版api,新版:objectTracker.setTrackerIdAssignmentPolicy(dai.TrackerIdAssignmentPolicy.SMALLEST_ID)