Compute Library
 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.

Field Documentation

◆ height

◆ idx_class

◆ score

◆ width

◆ x

◆ y


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