56 #ifndef NV_VPI_ALGORITHMS_KLT_BOUNDING_BOX_TRACKER_H
57 #define NV_VPI_ALGORITHMS_KLT_BOUNDING_BOX_TRACKER_H
68 #include "../Export.h"
69 #include "../ImageFormat.h"
70 #include "../Status.h"
108 #if NV_VPI_VERSION_API_AT_MOST(2, 0)
109 __asm__(
".symver vpiInitKLTFeatureTrackerCreationParams,vpiInitKLTFeatureTrackerCreationParams@VPI_2.0");
153 #if NV_VPI_VERSION_API_AT_MOST(2, 0)
154 __asm__(
".symver vpiCreateKLTFeatureTracker,vpiCreateKLTFeatureTracker@VPI_2.0");
struct VPIArrayImpl * VPIArray
A handle to an array.
struct VPIImageImpl * VPIImage
A handle to an image.
float maxScaleChange
Maximum relative scale change.
float maxTranslationChange
Maximum relative translation change.
int32_t maxTemplateHeight
Maximum height of each tracked templates.
int32_t maxTemplateCount
Maximum number of templates to be tracked.
float nccThresholdUpdate
Threshold for requiring template update.
float nccThresholdStop
Threshold to early stop iteration.
float nccThresholdKill
Threshold to consider template tracking was lost.
int32_t numberOfIterationsScaling
Number of Inverse compositional iterations of scale estimations.
VPIKLTFeatureTrackerType trackingType
Type of KLT tracking that will be performed.
int32_t maxTemplateWidth
Maximum width of each tracked template.
VPIStatus vpiCreateKLTFeatureTracker(uint64_t backends, int32_t imageWidth, int32_t imageHeight, VPIImageFormat imageFormat, const VPIKLTFeatureTrackerCreationParams *params, VPIPayload *payload)
Creates payload for vpiSubmitKLTFeatureTracker.
VPIStatus vpiSubmitKLTFeatureTracker(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage templateImage, VPIArray inputBoxList, VPIArray inputPredictionList, VPIImage referenceImage, VPIArray outputBoxList, VPIArray outputEstimationList, const VPIKLTFeatureTrackerParams *params)
Runs KLT Feature Tracker on two frames.
VPIStatus vpiInitKLTFeatureTrackerCreationParams(VPIKLTFeatureTrackerCreationParams *params)
Initialize VPIKLTFeatureTrackerCreationParams with default values.
VPIKLTFeatureTrackerType
KLT Feature Tracker algorithm type.
VPIStatus vpiInitKLTFeatureTrackerParams(VPIKLTFeatureTrackerParams *params)
Initialize VPIKLTFeatureTrackerParams with default values.
@ VPI_KLT_INVERSE_COMPOSITIONAL
Inverse compositional algorithm for KLT tracker.
Creation parameters of KLT Feature Tracker.
Structure that defines the parameters for vpiCreateKLTFeatureTracker.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
struct VPIStreamImpl * VPIStream
A handle to a stream.