Reading bounding boxes objects from inference output.
More...
#include <bounding_box.h>
Reading bounding boxes objects from inference output.
◆ bounding_box()
bounding_box::bounding_box |
( |
const float * |
p, |
|
|
std::size_t |
x_shift, |
|
|
std::size_t |
y_shift |
|
) |
| |
Read bounding box from memory.
- Parameters
-
[in] | p | Pointer to the memory |
[in] | x_shift | Tile shift by X-axis |
[in] | y_shift | Tile shift by Y-axis |
◆ ~bounding_box()
bounding_box::~bounding_box |
( |
| ) |
|
|
default |
◆ intersect()
auto bounding_box::intersect |
( |
const bounding_box & |
other | ) |
const |
Two boxes intersection.
- Returns
- true Boxes intersect each other
◆ confidence()
float bounding_box::confidence |
( |
| ) |
const |
|
inline |
Model confidence about detected object.
- Returns
- 1.0 The maximum confidence about detected object class
-
0.0 The minimum confidence about detected object class
◆ print()
void bounding_box::print |
( |
| ) |
const |
Print to console bounding box information.
◆ mid_x()
float bounding_box::mid_x |
( |
| ) |
const |
|
inline |
◆ mid_y()
float bounding_box::mid_y |
( |
| ) |
const |
|
inline |
◆ pmin()
auto bounding_box::pmin |
( |
| ) |
const |
◆ pmax()
auto bounding_box::pmax |
( |
| ) |
const |
◆ class_color()
auto bounding_box::class_color |
( |
| ) |
const |
Assigned color of a class of a detected object.
The documentation for this class was generated from the following files:
- bounding_box.h
- bounding_box.cpp