TI Deep Learning Library User Guide
sTIDL_AnchorBoxParams_t Struct Reference

Detailed Description

This structure define the parameters of AnchorBox used by Detection Output Layer in TIDL.

Data Fields

int32_t numAnchors
 
int32_t numKeyPoints
 
int32_t headWidth
 
int32_t headHeight
 
float32_tidl strideW
 
float32_tidl strideH
 
float32_tidl offsetW
 
float32_tidl offsetH
 
float32_tidl boxScales [4]
 
float32_tidl kpScales [TIDL_OD_MAX_KEYPOINTS]
 
float32_tidl boxWidth [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 
float32_tidl boxHeight [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 

Field Documentation

◆ numAnchors

int32_t sTIDL_AnchorBoxParams_t::numAnchors

Num Anchors used by the Current Head

◆ numKeyPoints

int32_t sTIDL_AnchorBoxParams_t::numKeyPoints

Num Key Points to be detected, Default zero

◆ headWidth

int32_t sTIDL_AnchorBoxParams_t::headWidth

Head Width as grid size

◆ headHeight

int32_t sTIDL_AnchorBoxParams_t::headHeight

Head Height as grid size

◆ strideW

float32_tidl sTIDL_AnchorBoxParams_t::strideW

Normalized Stride in Horizontal Dir

◆ strideH

float32_tidl sTIDL_AnchorBoxParams_t::strideH

Normalized Stride in Vertical Dir

◆ offsetW

float32_tidl sTIDL_AnchorBoxParams_t::offsetW

Normalized Offset in Horizontal Dir

◆ offsetH

float32_tidl sTIDL_AnchorBoxParams_t::offsetH

Normalized Offset in Vertical Dir

◆ boxScales

float32_tidl sTIDL_AnchorBoxParams_t::boxScales[4]

Scales used for Box decoding Y,X,H,W

◆ kpScales

float32_tidl sTIDL_AnchorBoxParams_t::kpScales[TIDL_OD_MAX_KEYPOINTS]

Scales used for Key points decoding

◆ boxWidth

float32_tidl sTIDL_AnchorBoxParams_t::boxWidth[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box Width

◆ boxHeight

float32_tidl sTIDL_AnchorBoxParams_t::boxHeight[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box height