DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

BoxTracker2D.h File Reference

Detailed Description

NVIDIA DriveWorks API: 2D Box Tracker

Description: This file defines methods for tracking 2D boxes.

Definition in file BoxTracker2D.h.

Go to the source code of this file.

Data Structures

struct  dwBoxTracker2DParams
 Holds 2D object-tracker parameters. More...
 
struct  dwTrackedBox2D
 Holds a tracked 2D bounding box. More...
 

Typedefs

typedef struct dwBoxTracker2DObject * dwBoxTracker2DHandle_t
 Handle to a 2D object tracker. More...
 

Functions

DW_API_PUBLIC dwStatus dwBoxTracker2D_add (const dwBox2D *boxes, size_t num, dwBoxTracker2DHandle_t obj)
 Adds bounding boxes to the tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_addPreClustered (const dwTrackedBox2D *boxes, size_t num, dwBoxTracker2DHandle_t obj)
 Adds pre-clustered bounding boxes to the tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_enablePriorityTracking (bool enable, dwBoxTracker2DHandle_t obj)
 Enables priority tracking of a boundary box. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_get (const dwTrackedBox2D **boxList, size_t *num, dwBoxTracker2DHandle_t obj)
 Gets tracked bounding boxes and IDs. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_getTrackingPriority (float32_t *priority, uint32_t idx, dwBoxTracker2DHandle_t obj)
 Returns the priority of a bounding box. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_initialize (dwBoxTracker2DHandle_t *obj, const dwBoxTracker2DParams *parameters, int32_t imageWidth, int32_t imageHeight, dwContextHandle_t context)
 Initializes 2D bounding box tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_initParams (dwBoxTracker2DParams *parameters)
 Initializes 2D tracker parameters with default values. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_release (dwBoxTracker2DHandle_t obj)
 Releases the 2D bounding box tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_reset (dwBoxTracker2DHandle_t obj)
 Resets the 2D bounding box tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_setTrackingPriority (uint32_t idx, float32_t priority, dwBoxTracker2DHandle_t obj)
 Sets the priority of a bounding box. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_shallowReset (dwBoxTracker2DHandle_t obj)
 Performs a shallow reset on the 2D bounding box tracker. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_track (const float32_t *curFeatureLocations, const dwFeature2DStatus *curFeatureStatuses, const float32_t *preFeatureLocations, dwBoxTracker2DHandle_t obj)
 Tracks the bounding boxes. More...
 
DW_API_PUBLIC dwStatus dwBoxTracker2D_updateFeatures (const float32_t *featureLocations, const dwFeature2DStatus *statuses, size_t nFeatures, dwBoxTracker2DHandle_t obj)
 Updates the feature locations of the 2D bounding boxes. More...