BoxWithNonMaximaSuppressionLimit Information class.
More...
#include <Types.h>
|
| BoxNMSLimitInfo (float score_thresh=0.05f, float nms=0.3f, int detections=100, bool soft_nms_enabled=false, NMSType soft_nms_method=NMSType::LINEAR, float soft_nms_sigma=0.5f, float soft_nms_min_score_thres=0.001f, bool suppress_size=false, float min_size=1.0f, float im_width=1.0f, float im_height=1.0f) |
| Constructor. More...
|
|
float | score_thresh () const |
| Get the score threshold. More...
|
|
float | nms () const |
| Get the NMS. More...
|
|
int | detections_per_im () const |
| Get the number of detections. More...
|
|
bool | soft_nms_enabled () const |
| Check if soft NMS is enabled. More...
|
|
NMSType | soft_nms_method () const |
| Get soft NMS method. More...
|
|
float | soft_nms_sigma () const |
| Get soft NMS sigma. More...
|
|
float | soft_nms_min_score_thres () const |
| Get soft nms min score threshold. More...
|
|
bool | suppress_size () const |
| Get if NMS will suppress boxes based on their size/position. More...
|
|
float | min_size () const |
| Get size suppression threshold. More...
|
|
float | im_width () const |
| Get image width (NMS may suppress boxes whose center sits beyond the image width) More...
|
|
float | im_height () const |
| Get image height (NMS may suppress boxes whose center sits beyond the image height) More...
|
|
BoxWithNonMaximaSuppressionLimit Information class.
Definition at line 496 of file Types.h.
◆ BoxNMSLimitInfo()
BoxNMSLimitInfo |
( |
float |
score_thresh = 0.05f , |
|
|
float |
nms = 0.3f , |
|
|
int |
detections = 100 , |
|
|
bool |
soft_nms_enabled = false , |
|
|
NMSType |
soft_nms_method = NMSType::LINEAR , |
|
|
float |
soft_nms_sigma = 0.5f , |
|
|
float |
soft_nms_min_score_thres = 0.001f , |
|
|
bool |
suppress_size = false , |
|
|
float |
min_size = 1.0f , |
|
|
float |
im_width = 1.0f , |
|
|
float |
im_height = 1.0f |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | score_thresh | (Optional) Score threshold. |
[in] | nms | (Optional) NMS value |
[in] | detections | (Optional) Number of detections |
[in] | soft_nms_enabled | (Optional) Enable SoftNMS |
[in] | soft_nms_method | (Optional) Soft NMS method |
[in] | soft_nms_sigma | (Optional) Soft NMS sigma value |
[in] | soft_nms_min_score_thres | (Optional) Soft NMS minimum score threshold |
[in] | suppress_size | (Optional) Filter out boxes based on their size. Defaults to false |
[in] | min_size | (Optional) Smaller boxes than min_size will be filtered out. Defaults to 1 |
[in] | im_width | (Optional) Boxes whose centers (on the x axis) is beyond im_width will be filtered. Defaults to 1 |
[in] | im_height | (Optional) Boxes whose centers (on the y axis) is beyond im_height will be filtered. Defaults to 1 |
Definition at line 513 of file Types.h.
526 _detections_per_im(detections),
◆ detections_per_im()
int detections_per_im |
( |
| ) |
const |
|
inline |
◆ im_height()
float im_height |
( |
| ) |
const |
|
inline |
Get image height (NMS may suppress boxes whose center sits beyond the image height)
Definition at line 588 of file Types.h.
◆ im_width()
Get image width (NMS may suppress boxes whose center sits beyond the image width)
Definition at line 583 of file Types.h.
◆ min_size()
Get size suppression threshold.
Definition at line 578 of file Types.h.
◆ nms()
Get the NMS.
Definition at line 543 of file Types.h.
◆ score_thresh()
float score_thresh |
( |
| ) |
const |
|
inline |
◆ soft_nms_enabled()
bool soft_nms_enabled |
( |
| ) |
const |
|
inline |
◆ soft_nms_method()
Get soft NMS method.
Definition at line 558 of file Types.h.
560 return _soft_nms_method;
◆ soft_nms_min_score_thres()
float soft_nms_min_score_thres |
( |
| ) |
const |
|
inline |
Get soft nms min score threshold.
Definition at line 568 of file Types.h.
570 return _soft_nms_min_score_thres;
◆ soft_nms_sigma()
float soft_nms_sigma |
( |
| ) |
const |
|
inline |
Get soft NMS sigma.
Definition at line 563 of file Types.h.
565 return _soft_nms_sigma;
◆ suppress_size()
bool suppress_size |
( |
| ) |
const |
|
inline |
Get if NMS will suppress boxes based on their size/position.
Definition at line 573 of file Types.h.
575 return _suppress_size;
The documentation for this class was generated from the following file: