ArmNN
 21.05
DetectionPostProcessDescriptor Struct Reference

#include <Descriptors.hpp>

Inheritance diagram for DetectionPostProcessDescriptor:
BaseDescriptor

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 519 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 521 of file Descriptors.hpp.

522  : m_MaxDetections(0)
526  , m_NmsIouThreshold(0)
527  , m_NumClasses(0)
528  , m_UseRegularNms(false)
529  , m_ScaleX(0)
530  , m_ScaleY(0)
531  , m_ScaleW(0)
532  , m_ScaleH(0)
533  {}
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 535 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.

536  {
537  return m_MaxDetections == rhs.m_MaxDetections &&
538  m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
539  m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
540  m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
541  m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
542  m_NumClasses == rhs.m_NumClasses &&
543  m_UseRegularNms == rhs.m_UseRegularNms &&
544  m_ScaleX == rhs.m_ScaleX &&
545  m_ScaleY == rhs.m_ScaleY &&
546  m_ScaleW == rhs.m_ScaleW &&
547  m_ScaleH == rhs.m_ScaleH;
548  }
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: