fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
@@ -50,7 +50,8 @@ class DetectionsManager:
|
||||
self.counts[zone_out_id][zone_in_id].add(tracker_id)
|
||||
if len(detections_all) > 0:
|
||||
detections_all.class_id = np.vectorize(
|
||||
lambda x: self.tracker_id_to_zone_id.get(x, -1))
|
||||
lambda x: self.tracker_id_to_zone_id.get(x, -1)
|
||||
)
|
||||
(detections_all.tracker_id)
|
||||
else:
|
||||
detections_all.class_id = np.array([], dtype=int)
|
||||
|
||||
Reference in New Issue
Block a user