Mech-DLK SDK (C++) 3.0.0
Mech-DLK SDK (C++) Reference Documentation
 
Loading...
Searching...
No Matches
mmind::dl::MRotatedBbox Struct Reference

Rotated bounding box for object detection. More...

#include <MBbox.h>

Classes

struct  ExtraInfo
 

Public Member Functions

 MRotatedBbox ()=default
 
 MRotatedBbox (const MPointF &center, float width, float height, float angle, float confidence, int labelIndex, const std::string &labelName)
 
 MRotatedBbox (const MBbox &bbox)
 
std::vector< MPointFtoBboxPoints () const
 
MBbox toBbox () const
 

Public Attributes

MPointF center {0.0, 0.0}
 
float width {0.0}
 
float height {0.0}
 
float angle {0.0}
 
struct mmind::dl::MRotatedBbox::ExtraInfo extraInfo
 

Detailed Description

Rotated bounding box for object detection.

Oriented rectangle defined by center point, width, height, and rotation angle. Includes detection metadata (confidence, class label).

Definition at line 73 of file MBbox.h.

Constructor & Destructor Documentation

◆ MRotatedBbox() [1/3]

mmind::dl::MRotatedBbox::MRotatedBbox ( )
default

◆ MRotatedBbox() [2/3]

mmind::dl::MRotatedBbox::MRotatedBbox ( const MPointF & center,
float width,
float height,
float angle,
float confidence,
int labelIndex,
const std::string & labelName )

◆ MRotatedBbox() [3/3]

mmind::dl::MRotatedBbox::MRotatedBbox ( const MBbox & bbox)

Member Function Documentation

◆ toBbox()

MBbox mmind::dl::MRotatedBbox::toBbox ( ) const

◆ toBboxPoints()

std::vector< MPointF > mmind::dl::MRotatedBbox::toBboxPoints ( ) const

Member Data Documentation

◆ angle

float mmind::dl::MRotatedBbox::angle {0.0}

Definition at line 89 of file MBbox.h.

89{0.0};

◆ center

MPointF mmind::dl::MRotatedBbox::center {0.0, 0.0}

Definition at line 86 of file MBbox.h.

86{0.0, 0.0};

◆ extraInfo

struct mmind::dl::MRotatedBbox::ExtraInfo mmind::dl::MRotatedBbox::extraInfo

◆ height

float mmind::dl::MRotatedBbox::height {0.0}

Definition at line 88 of file MBbox.h.

88{0.0};

◆ width

float mmind::dl::MRotatedBbox::width {0.0}

Definition at line 87 of file MBbox.h.

87{0.0};

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