Initialization
Parameters
TheNMSAgent
is initialized with two arguments:
This is the Intersection Over Union (IOU) threshold used to determine whether two bounding boxes overlap more than the specified threshold. If they do, the one with the lower confidence score is suppressed.
This is the minimum confidence score that a detection must have to be considered valid. Detections with scores below this threshold are ignored.
Example
example.py