|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
13 #ifndef DW_IMAGEPROCESSING_TRACKING_BOXTRACKER2D_BOXTRACKER2D_H_
14 #define DW_IMAGEPROCESSING_TRACKING_BOXTRACKER2D_BOXTRACKER2D_H_
17 #include <dw/core/base/Config.h>
18 #include <dw/core/context/Context.h>
19 #include <dw/core/base/Types.h>
20 #include <dw/imageprocessing/features/FeatureList.h>
382 #endif // DW_IMAGEPROCESSING_TRACKING_BOXTRACKER2D_BOXTRACKER2D_H_
float64_t minBoxImageScale
Minimum box scale in the image to track.
float64_t maxBoxImageScale
Maximum box scale in the image to track.
DW_API_PUBLIC dwStatus dwBoxTracker2D_getTrackingPriority(float32_t *priority, uint32_t idx, dwBoxTracker2DHandle_t obj)
Returns the priority of a bounding box.
uint32_t maxBoxCount
Maximum 2D boxes to track.
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.
uint32_t groupThreshold
Minimum possible number of boxes minus 1.
int32_t trackedFrameCount
Total number of tracked frames.
int32_t id
Bounding box ID.
DW_API_PUBLIC dwStatus dwBoxTracker2D_shallowReset(dwBoxTracker2DHandle_t obj)
Performs a shallow reset on the 2D bounding box tracker.
DW_API_PUBLIC dwStatus dwBoxTracker2D_enablePriorityTracking(bool enable, dwBoxTracker2DHandle_t obj)
Enables priority tracking of a boundary box.
DW_API_PUBLIC dwStatus dwBoxTracker2D_add(const dwBox2D *boxes, size_t num, dwBoxTracker2DHandle_t obj)
Adds bounding boxes to the tracker.
float32_t confidence
Confidence in tracking results.
DW_API_PUBLIC dwStatus dwBoxTracker2D_get(const dwTrackedBox2D **boxList, size_t *num, dwBoxTracker2DHandle_t obj)
Gets tracked bounding boxes and IDs.
float32_t confThreshConfirm
Threshold on confidence below which tracker no longer report box location.
DW_API_PUBLIC dwStatus dwBoxTracker2D_reset(dwBoxTracker2DHandle_t obj)
Resets the 2D bounding box tracker.
float32_t maxMatchDistance
Maximum distance around the closest tracked box to search for a candidate matching box.
DW_API_PUBLIC dwStatus dwBoxTracker2D_setTrackingPriority(uint32_t idx, float32_t priority, dwBoxTracker2DHandle_t obj)
Sets the priority of a bounding box.
size_t nFeatures
Total number of tracked 2D features.
DW_API_PUBLIC dwStatus dwBoxTracker2D_release(dwBoxTracker2DHandle_t obj)
Releases the 2D bounding box tracker.
float float32_t
Specifies POD types.
const float32_t * featureLocations
2d feature coordinates inside the bounding box.
DW_API_PUBLIC dwStatus dwBoxTracker2D_track(const float32_t *curFeatureLocations, const dwFeature2DStatus *curFeatureStatuses, const float32_t *preFeatureLocations, dwBoxTracker2DHandle_t obj)
Tracks the bounding boxes.
float32_t confThreshDiscard
Threshold on confidence below which tracker no longer track box location.
DW_API_PUBLIC dwStatus dwBoxTracker2D_addPreClustered(const dwTrackedBox2D *boxes, size_t num, dwBoxTracker2DHandle_t obj)
Adds pre-clustered bounding boxes to the tracker.
Holds a tracked 2D bounding box.
dwFeature2DStatus
Defines the feature array used by detector and tracker.
struct dwContextObject * dwContextHandle_t
Context handle.
Holds 2D object-tracker parameters.
uint32_t maxFeatureCountPerBox
Maximum features to track for each 2D bounding box.
float32_t minMatchOverlap
Minimum amount of overlap between a tracked box and an added box such that the 2 boxes can be conside...
DW_API_PUBLIC dwStatus dwBoxTracker2D_initParams(dwBoxTracker2DParams *parameters)
Initializes 2D tracker parameters with default values.
dwStatus
Status definition.
float32_t confRateDetect
Rate at which to combine confidence values of new boxes to existing tracked boxes when a new box is f...
const NvSciSyncObj *const obj
dwBox2D box
Bounding box location and size.
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.
float64_t similarityThreshold
The threshold to define the location and size similarity of the bounding boxes.
float32_t confRateTrack
Rate at which confidence values of tracked boxes changes from frame to frame, i.e....
struct dwBoxTracker2DObject * dwBoxTracker2DHandle_t
Handle to a 2D object tracker.