Skip to content

Commit

Permalink
Resolved merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
revtheundead committed Jan 17, 2024
1 parent 1f64098 commit 2367fca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion supervision/detection/line_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2367fca

Please sign in to comment.