21.02
DetectionWindow Struct Reference

Detection window used for the object detection. More...

#include <Types.h>

## Data Fields

uint16_t x { 0 }
Top-left x coordinate. More...

uint16_t y { 0 }
Top-left y coordinate. More...

uint16_t width { 0 }
Width of the detection window. More...

uint16_t height { 0 }
Height of the detection window. More...

uint16_t idx_class { 0 }
Index of the class. More...

float score { 0.f }
Confidence value for the detection window. More...

## Detailed Description

Detection window used for the object detection.

The detection window keeps the following information:

1. Geometry of the rectangular window (x/y of top-left corner and width/height)
2. Index of the class used for evaluating which class the detection window belongs to
3. Confidence value (score) obtained with the classifier

Definition at line 590 of file Types.h.

## ◆ height

 uint16_t height { 0 }

Height of the detection window.

Definition at line 595 of file Types.h.

## ◆ idx_class

 uint16_t idx_class { 0 }

## ◆ score

 float score { 0.f }

Confidence value for the detection window.

Definition at line 597 of file Types.h.

## ◆ width

 uint16_t width { 0 }

Width of the detection window.

Definition at line 594 of file Types.h.

## ◆ x

 uint16_t x { 0 }

## ◆ y

 uint16_t y { 0 }

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