|
| 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...
|
| |
Runs KLT Tracking on two frames.
◆ vpiCreateKLTBoundingBoxTracker()
#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()
#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