TI Deep Learning Product 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 strideL
 
float32_tidl offsetW
 
float32_tidl offsetH
 
float32_tidl offsetL
 
float32_tidl offsetDir
 
float32_tidl boxScales [4]
 
float32_tidl kpScales [TIDL_OD_MAX_KEYPOINTS]
 
float32_tidl boxLength [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 
float32_tidl boxWidth [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 
float32_tidl boxHeight [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 
float32_tidl boxAngle [TIDL_OD_MAX_ANCHORS_PER_HEAD]
 
float32_tidlanchorInputs
 

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 (x) Dir

◆ strideH

float32_tidl sTIDL_AnchorBoxParams_t::strideH

Normalized Stride in Vertical (y) Dir

◆ strideL

float32_tidl sTIDL_AnchorBoxParams_t::strideL

Normalized Stride in Height (z) Dir

◆ offsetW

float32_tidl sTIDL_AnchorBoxParams_t::offsetW

Normalized Offset in Horizontal (x) Dir

◆ offsetH

float32_tidl sTIDL_AnchorBoxParams_t::offsetH

Normalized Offset in Vertical (y) Dir

◆ offsetL

float32_tidl sTIDL_AnchorBoxParams_t::offsetL

Normalized Offset in Height (z) Dir used in 3D OD

◆ offsetDir

float32_tidl sTIDL_AnchorBoxParams_t::offsetDir

Normalized Offset for Dir used in 3D OD

◆ 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

◆ boxLength

float32_tidl sTIDL_AnchorBoxParams_t::boxLength[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box Width used in 3D OD only

◆ boxWidth

float32_tidl sTIDL_AnchorBoxParams_t::boxWidth[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box Width used in 3D and 2D OD

◆ boxHeight

float32_tidl sTIDL_AnchorBoxParams_t::boxHeight[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box height used in 3D and 2D OD

◆ boxAngle

float32_tidl sTIDL_AnchorBoxParams_t::boxAngle[TIDL_OD_MAX_ANCHORS_PER_HEAD]

Normalized Anchors Box rotation angles used in 3D and 2D OD

◆ anchorInputs

float32_tidl* sTIDL_AnchorBoxParams_t::anchorInputs