Vision Apps User Guide

Detailed Description

DL rectangles to be used with DL Draw Box.

Data Fields

vx_int32 pos [4]
 
vx_float32 score
 
vx_int32 class_id
 

Field Documentation

◆ pos

vx_int32 tivxDLRectangle::pos[4]

Array of 4 values, which could be either output_type = 0 -> [xmin, ymin], [xmax, ymax] output_type = 1 -> [x, y], [width height] output_type is defined in tivxDLDrawBoxParams

◆ score

vx_float32 tivxDLRectangle::score

Confidence score in % value [0.0f - 100.0f]

◆ class_id

vx_int32 tivxDLRectangle::class_id

class_id of detected object which indexes into array of class_names defined in tivxDLDrawBoxParams