23.05
|
BoxWithNonMaximaSuppressionLimit Information class. More...
#include <Types.h>
Public Member Functions | |
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... | |
|
inline |
Constructor.
[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 592 of file Types.h.
|
inline |
Get the number of detections.
Definition at line 611 of file Types.h.
Referenced by arm_compute::operator<<(), and CPPBoxWithNonMaximaSuppressionLimitKernel::run_nmslimit().
|
inline |
Get image height (NMS may suppress boxes whose center sits beyond the image height)
Definition at line 651 of file Types.h.
Referenced by arm_compute::operator<<().
|
inline |
Get image width (NMS may suppress boxes whose center sits beyond the image width)
Definition at line 646 of file Types.h.
Referenced by arm_compute::operator<<().
|
inline |
Get size suppression threshold.
Definition at line 641 of file Types.h.
Referenced by arm_compute::operator<<().
|
inline |
|
inline |
Get the score threshold.
Definition at line 601 of file Types.h.
Referenced by arm_compute::operator<<(), and CPPBoxWithNonMaximaSuppressionLimitKernel::run_nmslimit().
|
inline |
Check if soft NMS is enabled.
Definition at line 616 of file Types.h.
Referenced by arm_compute::operator<<(), and CPPBoxWithNonMaximaSuppressionLimitKernel::run_nmslimit().
|
inline |
|
inline |
Get soft nms min score threshold.
Definition at line 631 of file Types.h.
Referenced by arm_compute::operator<<().
|
inline |
|
inline |
Get if NMS will suppress boxes based on their size/position.
Definition at line 636 of file Types.h.
Referenced by arm_compute::operator<<().