【4】报错AttributeError: ‘depthai.node.ObjectTracker‘ object has no attribute ‘setTrackerIdAssigment

报错提示:
运行官方例程“gen2 blur faces 报错AttributeError: ‘depthai.node.ObjectTracker’ object has no attribute ‘setTrackerIdAssigmentPolicy’
【4】报错AttributeError: ‘depthai.node.ObjectTracker‘ object has no attribute ‘setTrackerIdAssigment_第1张图片

解决方法:
这是旧版api,新版:objectTracker.setTrackerIdAssignmentPolicy(dai.TrackerIdAssignmentPolicy.SMALLEST_ID)

你可能感兴趣的:(OAK常见报错,OAK报错)