diff --git a/supervision/detection/line_counter.py b/supervision/detection/line_counter.py index 1281f8a25..b8c6368a2 100644 --- a/supervision/detection/line_counter.py +++ b/supervision/detection/line_counter.py @@ -96,7 +96,9 @@ def trigger(self, detections: Detections) -> Tuple[np.ndarray, np.ndarray]: crossed_in = np.full(len(detections), False) crossed_out = np.full(len(detections), False) - for i, (xyxy, tracker_id) in enumerate(zip(detections.xyxy, detections.tracker_id)): + for i, (xyxy, tracker_id) in enumerate( + zip(detections.xyxy, detections.tracker_id) + ): if tracker_id is None: continue