Vision Apps User Guide

Detailed Description

DL draw box to be used with DL-RT.

Data Fields

vx_int32 skip_flag
 
vx_int32 use_color_map
 
vx_int32 num_classes
 
vx_uint8 color_map [TIVX_DL_DRAW_BOX_MAX_CLASSES][TIVX_DL_DRAW_BOX_MAX_COLORS]
 
vx_uint8 class_names [TIVX_DL_DRAW_BOX_MAX_CLASSES][TIVX_DL_DRAW_BOX_MAX_CLASS_NAME]
 
tivxDLRectangle rectangle [TIVX_DL_DRAW_BOX_MAX_CLASSES][TIVX_DL_DRAW_BOX_MAX_RECTANGLES]
 

Field Documentation

◆ skip_flag

vx_int32 tivxDLDrawBoxParams::skip_flag

Skip processing

◆ use_color_map

vx_int32 tivxDLDrawBoxParams::use_color_map

Flag to indicate, if 1 - use color map, 0 - auto assign colors to each class

◆ num_classes

vx_int32 tivxDLDrawBoxParams::num_classes

Number of classes per output not to exceed TIVX_DL_DRAW_BOX_MAX_CLASSES

◆ color_map

vx_uint8 tivxDLDrawBoxParams::color_map[TIVX_DL_DRAW_BOX_MAX_CLASSES][TIVX_DL_DRAW_BOX_MAX_COLORS]

Color map for each output, number of colors not to exceed TIVX_DL_DRAW_BOX_MAX_COLORS

◆ class_names

vx_uint8 tivxDLDrawBoxParams::class_names[TIVX_DL_DRAW_BOX_MAX_CLASSES][TIVX_DL_DRAW_BOX_MAX_CLASS_NAME]

Dictionary of class names not to exceed TIVX_DL_DRAW_BOX_MAX_CLASSES and each class name not to exceed TIVX_DL_DRAW_BOX_MAX_CLASS_NAME

◆ rectangle

Array of tivxDLRectangle not to exceed TIVX_DL_DRAW_BOX_MAX_CLASSES and number of rectangles per class not to exceed TIVX_DL_DRAW_BOX_MAX_RECTANGLES