VPI - Vision Programming Interface

0.1.0 Release

KLTBoundingBoxTracker

Data Structures

struct  VPIKLTBoundingBoxTrackerParams
 Structure that defines the parameters for vpiCreateKLTBoundingBoxTracker. More...
 

Enumerations

enum  VPIKLTBoundingBoxTrackerType { VPI_KLT_INVERSE_COMPOSITIONAL }
 KLT Tracker type.
 

Functions

VPIStatus vpiCreateKLTBoundingBoxTracker (VPIStream stream, uint32_t imageWidth, uint32_t imageHeight, VPIImageType imageType, VPIPayload *payload)
 Creates payload for vpiSubmitKLTBoundingBoxTracker. More...
 
VPIStatus vpiSubmitKLTBoundingBoxTracker (VPIPayload payload, VPIImage templateImage, VPIArray inputBoxList, VPIArray inputPredictionList, VPIImage referenceImage, VPIArray outputBoxList, VPIArray outputEstimationList, const VPIKLTBoundingBoxTrackerParams *params)
 Runs KLT Tracker on two frames. More...
 

Detailed Description

Runs KLT Tracking on two frames.

Function Documentation

◆ vpiCreateKLTBoundingBoxTracker()

VPIStatus vpiCreateKLTBoundingBoxTracker ( VPIStream  stream,
uint32_t  imageWidth,
uint32_t  imageHeight,
VPIImageType  imageType,
VPIPayload payload 
)

#include <vpi/algo/KLTBoundingBoxTracker.h>

Creates payload for vpiSubmitKLTBoundingBoxTracker.

Parameters
stream[in] a stream handle
imageWidth[in] input image width
imageHeight[in] input image height
imageType[in] input image type
payload[out] pointer to a payload handle
Returns
an error code on failure else VPI_SUCCESS

◆ vpiSubmitKLTBoundingBoxTracker()

VPIStatus vpiSubmitKLTBoundingBoxTracker ( VPIPayload  payload,
VPIImage  templateImage,
VPIArray  inputBoxList,
VPIArray  inputPredictionList,
VPIImage  referenceImage,
VPIArray  outputBoxList,
VPIArray  outputEstimationList,
const VPIKLTBoundingBoxTrackerParams params 
)

#include <vpi/algo/KLTBoundingBoxTracker.h>

Runs KLT Tracker on two frames.

Outputs tracked bounding boxes and estimated transform array.

Parameters
payload[in] payload created with vpiCreateKLTBoundingBoxTracker
referenceImage[in] reference image
templateImage[in] template image
inputBoxList[in] input bounding box array, must have type VPI_ARRAY_TYPE_BBOX
inputPredictionList[in] input predicted transform array, must have type VPI_ARRAY_TYPE_TRANSFORM
params[in] parameters for the KLT tracker
outputBoxList[out] output bounding box array, must have type VPI_ARRAY_TYPE_BBOX
outputEstimationList[out] estimated transform array, must have type VPI_ARRAY_TYPE_TRANSFORM
Returns
an error code on failure else VPI_SUCCESS