Skip to content

Commit

Permalink
added parameter "agnostic_nms=True"
Browse files Browse the repository at this point in the history
  • Loading branch information
MichHeilig committed Jul 27, 2023
1 parent 593ac8f commit f44080b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OTVision/detect/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _predict(self, video: Path) -> Generator[Results, None, None]:
stream=True,
verbose=False,
batch=-1,
agnostic_nms=True
)

def _parse_detections(self, detection_result: Boxes) -> list[Detection]:
Expand Down

0 comments on commit f44080b

Please sign in to comment.