46 #ifndef DW_OBJECT_TRACKER_H__ 47 #define DW_OBJECT_TRACKER_H__ 142 uint32_t numClasses);
164 uint32_t numClasses);
216 const dwObject *previousDetections,
size_t numPreviousDetections,
217 uint32_t classIdx, dwObjectTrackerHandle_t obj);
240 size_t *numTrackedDetections,
242 size_t numPreviousDetections,
246 uint32_t currentTimeIdx,
247 uint32_t classIdx, dwObjectTrackerHandle_t obj);
275 #endif // DW_OBJECT_TRACKER_H__ float float32_t
Specifies POD types.
DW_API_PUBLIC dwStatus dwObjectTracker_setCUDAStream(cudaStream_t stream, dwObjectTrackerHandle_t obj)
Sets the CUDA stream used.
NVIDIA DriveWorks API: Core Methods
uint32_t historyCapacity
Capacity of feature history circular buffer.
DW_API_PUBLIC dwStatus dwObjectTracker_reset(dwObjectTrackerHandle_t obj)
Resets the ObjectTracker.
float32_t detectorScoreThreshold
Higher thresholds detect less features. Default is 0.3.
uint32_t maxFeatureCountPerBox
Maximum features to track for each 2D bounding box. Default is 500.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
DW_API_PUBLIC dwStatus dwObjectTracker_featureTrackDeviceAsync(const dwImageCUDA *image, dwObjectTrackerHandle_t obj)
Tracks the features from a previously given image to the current image.
dwStatus
Status definition.
float32_t confRateTrackMin
Min rate at which confidence values of tracked boxes changes from frame to frame. ...
float32_t maxBoxImageScale
Maximum box scale in the image to track.
DW_API_PUBLIC dwStatus dwObjectTracker_boxTrackHost(dwObject *trackedDetections, size_t *numTrackedDetections, const dwObject *previousDetections, size_t numPreviousDetections, uint32_t classIdx, dwObjectTrackerHandle_t obj)
Tracks objects in previousDetections based on the tracked features by previously called dwObjectTrack...
DW_API_PUBLIC dwStatus dwObjectTracker_getCUDAStream(cudaStream_t *stream, dwObjectTrackerHandle_t obj)
Gets the CUDA stream used.
uint32_t maxNumObjects
Maximum number of objects to track.
float32_t confThreshDiscard
Threshold on confidence below which tracker no longer tracks the box location. Default is 0...
uint32_t pyramidLevelCount
Number of levels in the pyramid. Default is 3.
DW_API_PUBLIC dwStatus dwObjectTracker_release(dwObjectTrackerHandle_t *obj)
Releases the ObjectTracker module.
uint32_t iterationsLK
Upper bound on number of Lucas-Kanade iterations per level. Default is 10.
dwRect maskROI
Region of interest where the objects are tracked. Default is full image.
float32_t confRateDetect
Rate at which to combine confidence values of new boxes to existing tracked boxes when a new box is f...
float32_t minBoxImageScale
Minimum box scale in the image to track.
DW_API_PUBLIC dwStatus dwObjectTracker_initDefaultParams(dwObjectFeatureTrackerParams *featureTrackerParams, dwObjectTrackerParams *objectTrackerParamsArray, uint32_t numClasses)
Initializes ObjectTracker parameters with default values.
struct dwContextObject * dwContextHandle_t
Context handle.
float32_t confRateTrackMax
Max rate at which confidence values of tracked boxes changes from frame to frame. ...
NVIDIA DriveWorks API: Object Methods
DW_API_PUBLIC dwStatus dwObjectTracker_boxTrackHostExternalFeatures(dwObject *trackedDetections, size_t *numTrackedDetections, const dwObject *previousDetections, size_t numPreviousDetections, const dwFeatureListPointers *featureList, uint32_t maxFeatureCount, uint32_t historyCapacity, uint32_t currentTimeIdx, uint32_t classIdx, dwObjectTrackerHandle_t obj)
This function enables tracking of objects using already extracted features from the previous and curr...
NVIDIA DriveWorks API: 2D Tracker
Holds pointers to the data exposed by a feature list.
uint32_t windowSizeLK
Window size used in the Lucas-Kanade tracker. Supported sizes are 6,8,10,12,14. Default is 8...
uint32_t maxFeatureCount
Upper bound on number of features handled.
dwBool enablePriorityTracking
Priority of the objects can be used to control association between 2D features and bounding boxes in ...
float32_t confThreshConfirm
Threshold on confidence below which tracker will not confirmed to be used yet.
struct dwObjectTrackerObject * dwObjectTrackerHandle_t
Handle to an object tracker.
DW_API_PUBLIC dwStatus dwObjectTracker_initialize(dwObjectTrackerHandle_t *obj, dwContextHandle_t ctx, const dwImageProperties *imageProperties, const dwObjectFeatureTrackerParams *featureTrackerParams, const dwObjectTrackerParams *objectTrackerParamsArray, uint32_t numClasses)
Initializes the ObjectTracker module.
Defines the properties of the image.