diff --git a/supervision/detection/line_counter.py b/supervision/detection/line_counter.py index 09efd49d..8f09f219 100644 --- a/supervision/detection/line_counter.py +++ b/supervision/detection/line_counter.py @@ -137,7 +137,7 @@ class LineZone: continue triggers = [ - self.vector.cross_product(point=anchor) > 0 for anchor in box_anchors + self.vector.cross_product(point=anchor) < 0 for anchor in box_anchors ] if len(set(triggers)) == 2: