ArmNN
 20.08
DetectionPostProcessDescriptor Struct Reference

#include <Descriptors.hpp>

Public Member Functions

 DetectionPostProcessDescriptor ()
 
bool operator== (const DetectionPostProcessDescriptor &rhs) const
 

Public Attributes

uint32_t m_MaxDetections
 Maximum numbers of detections. More...
 
uint32_t m_MaxClassesPerDetection
 Maximum numbers of classes per detection, used in Fast NMS. More...
 
uint32_t m_DetectionsPerClass
 Detections per classes, used in Regular NMS. More...
 
float m_NmsScoreThreshold
 NMS score threshold. More...
 
float m_NmsIouThreshold
 Intersection over union threshold. More...
 
uint32_t m_NumClasses
 Number of classes. More...
 
bool m_UseRegularNms
 Use Regular NMS. More...
 
float m_ScaleX
 Center size encoding scale x. More...
 
float m_ScaleY
 Center size encoding scale y. More...
 
float m_ScaleW
 Center size encoding scale weight. More...
 
float m_ScaleH
 Center size encoding scale height. More...
 

Detailed Description

Definition at line 503 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 505 of file Descriptors.hpp.

506  : m_MaxDetections(0)
510  , m_NmsIouThreshold(0)
511  , m_NumClasses(0)
512  , m_UseRegularNms(false)
513  , m_ScaleX(0)
514  , m_ScaleY(0)
515  , m_ScaleW(0)
516  , m_ScaleH(0)
517  {}
float m_ScaleW
Center size encoding scale weight.
float m_ScaleX
Center size encoding scale x.
uint32_t m_DetectionsPerClass
Detections per classes, used in Regular NMS.
uint32_t m_MaxClassesPerDetection
Maximum numbers of classes per detection, used in Fast NMS.
uint32_t m_MaxDetections
Maximum numbers of detections.
float m_NmsIouThreshold
Intersection over union threshold.
uint32_t m_NumClasses
Number of classes.
bool m_UseRegularNms
Use Regular NMS.
float m_ScaleH
Center size encoding scale height.
float m_ScaleY
Center size encoding scale y.
float m_NmsScoreThreshold
NMS score threshold.

Member Function Documentation

◆ operator==()

bool operator== ( const DetectionPostProcessDescriptor rhs) const
inline

Definition at line 519 of file Descriptors.hpp.

References DetectionPostProcessDescriptor::m_DetectionsPerClass, DetectionPostProcessDescriptor::m_MaxClassesPerDetection, DetectionPostProcessDescriptor::m_MaxDetections, DetectionPostProcessDescriptor::m_NmsIouThreshold, DetectionPostProcessDescriptor::m_NmsScoreThreshold, DetectionPostProcessDescriptor::m_NumClasses, DetectionPostProcessDescriptor::m_ScaleH, DetectionPostProcessDescriptor::m_ScaleW, DetectionPostProcessDescriptor::m_ScaleX, DetectionPostProcessDescriptor::m_ScaleY, and DetectionPostProcessDescriptor::m_UseRegularNms.

520  {
521  return m_MaxDetections == rhs.m_MaxDetections &&
522  m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
523  m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
524  m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
525  m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
526  m_NumClasses == rhs.m_NumClasses &&
527  m_UseRegularNms == rhs.m_UseRegularNms &&
528  m_ScaleX == rhs.m_ScaleX &&
529  m_ScaleY == rhs.m_ScaleY &&
530  m_ScaleW == rhs.m_ScaleW &&
531  m_ScaleH == rhs.m_ScaleH;
532  }
float m_ScaleW
Center size encoding scale weight.
float m_ScaleX
Center size encoding scale x.
uint32_t m_DetectionsPerClass
Detections per classes, used in Regular NMS.
uint32_t m_MaxClassesPerDetection
Maximum numbers of classes per detection, used in Fast NMS.
uint32_t m_MaxDetections
Maximum numbers of detections.
float m_NmsIouThreshold
Intersection over union threshold.
uint32_t m_NumClasses
Number of classes.
bool m_UseRegularNms
Use Regular NMS.
float m_ScaleH
Center size encoding scale height.
float m_ScaleY
Center size encoding scale y.
float m_NmsScoreThreshold
NMS score threshold.

Member Data Documentation

◆ m_DetectionsPerClass

◆ m_MaxClassesPerDetection

◆ m_MaxDetections

◆ m_NmsIouThreshold

◆ m_NmsScoreThreshold

◆ m_NumClasses

◆ m_ScaleH

◆ m_ScaleW

◆ m_ScaleX

◆ m_ScaleY

◆ m_UseRegularNms


The documentation for this struct was generated from the following file: