NVIDIA DeepStream SDK API Reference

8.0 Release
nvdstracker.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
29 #ifndef _NVMOTRACKER_H_
30 #define _NVMOTRACKER_H_
31 
32 #include <stdint.h>
33 #include <string>
34 #include <time.h>
35 #include <vector>
36 
37 #include "nvbufsurface.h"
38 #include "nvds_tracker_meta.h"
39 
40 #ifdef __cplusplus
41 extern "C"
42 {
43 #endif
44 
45 #define NVMOT_MAX_TRANSFORMS 4
46 
47 typedef uint64_t NvMOTStreamId;
48 typedef uint32_t NvMOTFrameNum;
49 typedef uint16_t NvMOTClassId;
50 
57 #define NVMOTCOMP_GPU 0x01
58 #define NVMOTCOMP_CPU 0x02
59 #define NVMOTCOMP_PVA 0x04
60 #define NVMOTCOMP_ANY 0xff
62 #define NVMOTCOMP_DEFAULT NVMOTCOMP_ANY
63 
67 typedef uint8_t NvMOTCompute;
68 
74 {
78  uint32_t maxWidth;
80  uint32_t maxHeight;
82  uint32_t maxPitch;
84  uint32_t maxSize;
86 
87 
91 typedef struct _NvMOTMiscConfig
92 {
94  uint32_t gpuId;
96  typedef void (*logMsg) (int logLevel, const char * format, ...);
98 
107 typedef struct _NvMOTConfig
108 {
112  uint32_t maxStreams;
117  uint8_t numTransforms;
128 } NvMOTConfig;
129 
133 typedef enum
134 {
140 
141 typedef enum
142 {
152 
159 typedef struct _NvMOTConfigResponse
160 {
173 
177 typedef enum
178 {
182 } NvMOTStatus;
183 
187 typedef struct _NvMOTRect
188 {
190  float x;
192  float y;
194  float width;
196  float height;
197 } NvMOTRect;
198 
202 typedef struct _NvMOTMask
203 {
205  float* data;
207  uint32_t width;
209  uint32_t height;
211  uint32_t allocatedSize;
212 } NvMOTMask;
213 
219 typedef struct _NvMOTObjToTrack
220 {
226  float confidence;
232 
236 typedef struct _NvMOTObjToTrackList
237 {
244  uint32_t numAllocated;
246  uint32_t numFilled;
248 
258 typedef struct _NvMOTFrame
259 {
265  uint32_t seq_index;
270  uint32_t srcFrameWidth;
272  uint32_t srcFrameHeight;
274  time_t timeStamp;
282  bool reset;
284  uint8_t numBuffers;
291 } NvMOTFrame;
292 
296 typedef struct _NvMOTTrackedObj
297 {
301  uint64_t trackingId;
305  float confidence;
307  uint32_t age;
313  float visibility;
315  float ptImgFeet[2];
317  float ptWorldFeet[2];
326  float bbox3DImg[8][2];
328  uint8_t reserved[128];
330 
334 typedef struct _NvMOTTrackedObjList
335 {
341  bool valid;
345  uint32_t numAllocated;
347  uint32_t numFilled;
349 
353 typedef struct _NvMOTTrackedObjBatch
354 {
358  uint32_t numAllocated;
360  uint32_t numFilled;
364 
368 typedef struct _NvMOTTrackerMiscData
369 {
372 
375 
378 
380 
386 typedef struct _NvMOTProcessParams
387 {
388  uint32_t numFrames;
391 
395 struct NvMOTContext;
396 typedef struct NvMOTContext* NvMOTContextHandle;
397 
398 typedef struct _NvMOTQuery
399 {
404  uint8_t numTransforms;
416  uint32_t reidFeatureSize;
439 } NvMOTQuery;
440 
459  NvMOTContextHandle *pContextHandle,
460  NvMOTConfigResponse *pConfigResponse);
461 
469 void NvMOT_DeInit(NvMOTContextHandle contextHandle);
470 
490  NvMOTProcessParams *pParams,
491  NvMOTTrackedObjBatch *pTrackedObjectsBatch);
492 
506  NvMOTProcessParams *pParams,
507  NvMOTTrackerMiscData *pTrackerMiscData);
522 NvMOTStatus NvMOT_Query(uint16_t customConfigFilePathSize, char* pCustomConfigFilePath, NvMOTQuery *pQuery);
523 
524 
542 
543 
556 NvMOTStatus NvMOT_UpdateParams(NvMOTContextHandle contextHandle, const std::string &configStr );
557  // end of API group
559 
560 #ifdef __cplusplus
561 }
562 #endif
563 
564 #endif
_NvMOTPerTransformBatchConfig
Holds a configuration for batches for an input transform (a scaling/color conversion).
Definition: nvdstracker.h:73
_NvMOTFrame::bufferList
NvBufSurfaceParams ** bufferList
Holds a pointer to an array of pointers to buffer parameter structures.
Definition: nvdstracker.h:287
_NvMOTMiscConfig::logMsg
void(* logMsg)(int logLevel, const char *format,...)
Holds a pointer to a callback for logging messages.
Definition: nvdstracker.h:96
_NvMOTQuery::reidFeatureSize
uint32_t reidFeatureSize
Reid feature size.
Definition: nvdstracker.h:416
_NvMOTPerTransformBatchConfig::maxPitch
uint32_t maxPitch
Holds the maximum pitch of each buffer.
Definition: nvdstracker.h:82
NvMOTTrackedObj
struct _NvMOTTrackedObj NvMOTTrackedObj
Holds information about each tracked object.
_NvMOTTrackedObj::reserved
uint8_t reserved[128]
Reserved custom data field.
Definition: nvdstracker.h:328
NvMOTStatus_Invalid_Path
@ NvMOTStatus_Invalid_Path
Definition: nvdstracker.h:181
_NvMOTQuery::outputConvexHull
bool outputConvexHull
Whether to output convex hull in user meta.
Definition: nvdstracker.h:424
_NvMOTQuery::supportPastFrame
bool supportPastFrame
Holds a Boolean which is true if outputing past frame is supported.
Definition: nvdstracker.h:428
_NvMOTQuery::maxShadowTrackingAge
uint32_t maxShadowTrackingAge
Holds maximum shadow tracking age per stream.
Definition: nvdstracker.h:412
_NvMOTObjToTrack::pPreservedData
void * pPreservedData
Holds a pointer to client data associated with the object.
Definition: nvdstracker.h:230
NvMOT_Init
NvMOTStatus NvMOT_Init(NvMOTConfig *pConfigIn, NvMOTContextHandle *pContextHandle, NvMOTConfigResponse *pConfigResponse)
Initializes a tracking context for a batch of one or more image streams.
_NvMOTQuery::batchMode
NvMOTBatchMode batchMode
Holds flags for whether batch or none batch mode is supported.
Definition: nvdstracker.h:430
_NvMOTMask::height
uint32_t height
Height of the segmentation mask.
Definition: nvdstracker.h:209
_NvMOTQuery::maxTargetsPerStream
uint32_t maxTargetsPerStream
Holds maximum number of targets per stream.
Definition: nvdstracker.h:410
NvMOTConfigStatus_Invalid
@ NvMOTConfigStatus_Invalid
Definition: nvdstracker.h:137
NvMOTConfig
struct _NvMOTConfig NvMOTConfig
Holds a tracker configuration.
_NvMOTTrackedObj::bbox3DWorld
NvDsObj3DBbox bbox3DWorld
3D bbox in world co-ordinates.
Definition: nvdstracker.h:323
_NvMOTObjToTrack::confidence
float confidence
Holds the detection confidence of the object.
Definition: nvdstracker.h:226
NvMOTClassId
uint16_t NvMOTClassId
Definition: nvdstracker.h:49
NvMOTTrackedObjBatch
struct _NvMOTTrackedObjBatch NvMOTTrackedObjBatch
Holds a batch of lists of tracked objects.
_NvMOTConfigResponse::customConfigStatus
NvMOTConfigStatus customConfigStatus
Holds the status of the custom configurations.
Definition: nvdstracker.h:171
_NvMOTMiscConfig::gpuId
uint32_t gpuId
Holds the ID of the GPU to be used.
Definition: nvdstracker.h:94
NvMOTMiscConfig
struct _NvMOTMiscConfig NvMOTMiscConfig
Holds miscellaneous configurations.
_NvMOTQuery::numTransforms
uint8_t numTransforms
Holds the number of NvMOTPerTransformBatchConfig entries in perTransformBatchConfig.
Definition: nvdstracker.h:404
NvMOTBatchMode_NonBatch
@ NvMOTBatchMode_NonBatch
Non-batch processing mode.
Definition: nvdstracker.h:148
_NvMOTConfigResponse::summaryStatus
NvMOTConfigStatus summaryStatus
Holds the summary status of the entire configuration request.
Definition: nvdstracker.h:162
_NvMOTTrackedObjBatch
Holds a batch of lists of tracked objects.
Definition: nvdstracker.h:353
_NvMOTTrackedObj::reid
NvDsObjReid reid
Each target’s reid vector information.
Definition: nvdstracker.h:311
_NvMOTObjToTrackList::numFilled
uint32_t numFilled
Holds the number of populated blocks in the list.
Definition: nvdstracker.h:246
_NvMOTPerTransformBatchConfig::maxHeight
uint32_t maxHeight
Holds the maximum height of each frame.
Definition: nvdstracker.h:80
_NvMOTTrackedObjList::numAllocated
uint32_t numAllocated
Holds the number of blocks allocated for the list.
Definition: nvdstracker.h:345
_NvMOTTrackedObj::associatedObjectIn
NvMOTObjToTrack * associatedObjectIn
Holds a pointer to the associated input object, if there is one.
Definition: nvdstracker.h:309
NvMOTFrame
struct _NvMOTFrame NvMOTFrame
Holds a frame containing the image and objects to be tracked.
_NvMOTQuery::colorFormats
NvBufSurfaceColorFormat colorFormats[1]
Holds the color formats for input buffers; a required value.
Definition: nvdstracker.h:406
_NvMOTProcessParams::numFrames
uint32_t numFrames
Holds the number of frames in the batch.
Definition: nvdstracker.h:388
_NvMOTTrackedObjList::list
NvMOTTrackedObj * list
Holds a pointer to a list or array of object information blocks.
Definition: nvdstracker.h:343
NvMOT_DeInit
void NvMOT_DeInit(NvMOTContextHandle contextHandle)
Deinitializes a stream context.
_NvMOTRect
Holds the definition of a rectangle.
Definition: nvdstracker.h:187
_NvDsObjReid
Holds Reid Vector information for an object.
Definition: nvds_tracker_meta.h:156
_NvMOTFrame
Holds a frame containing the image and objects to be tracked.
Definition: nvdstracker.h:258
_NvMOTTrackedObj::bbox
NvMOTRect bbox
Holds the bounding box.
Definition: nvdstracker.h:303
NvMOT_RemoveStreams
NvMOTStatus NvMOT_RemoveStreams(NvMOTContextHandle contextHandle, NvMOTStreamId streamIdMask)
Removes streams from a batch.
NvMOTPerTransformBatchConfig
struct _NvMOTPerTransformBatchConfig NvMOTPerTransformBatchConfig
Holds a configuration for batches for an input transform (a scaling/color conversion).
_NvMOTTrackedObjBatch::list
NvMOTTrackedObjList * list
Holds a pointer to an array of object lists.
Definition: nvdstracker.h:356
_NvMOTFrame::reset
bool reset
Holds a Boolean which is true to reset tracking for the stream.
Definition: nvdstracker.h:282
NvMOTRect
struct _NvMOTRect NvMOTRect
Holds the definition of a rectangle.
_NvMOTTrackedObj
Holds information about each tracked object.
Definition: nvdstracker.h:296
NvMOTConfigStatus_Unsupported
@ NvMOTConfigStatus_Unsupported
Definition: nvdstracker.h:138
_NvMOTObjToTrackList::list
NvMOTObjToTrack * list
Holds a pointer to a list or array of object information blocks.
Definition: nvdstracker.h:242
_NvMOTFrame::srcFrameWidth
uint32_t srcFrameWidth
Holds the width of the original source frame.
Definition: nvdstracker.h:270
_NvMOTTrackedObj::trackingId
uint64_t trackingId
Holds a unique ID for the object, assigned by the tracker.
Definition: nvdstracker.h:301
_NvMOTFrame::objectsIn
NvMOTObjToTrackList objectsIn
Holds a list of objects in this frame which are to be tracked.
Definition: nvdstracker.h:290
_NvMOTQuery::outputShadowTracks
bool outputShadowTracks
Whether to output Shadow Tracks info in user meta.
Definition: nvdstracker.h:436
_NvMOTTrackedObj::visibility
float visibility
Object visibility.
Definition: nvdstracker.h:313
_NvMOTTrackedObjList::frameNum
NvMOTFrameNum frameNum
Holds the frame number for objects in the list.
Definition: nvdstracker.h:339
NvMOTFrameNum
uint32_t NvMOTFrameNum
Definition: nvdsmotmetafusion.h:46
_NvMOTObjToTrack::classId
NvMOTClassId classId
Holds the class of the object.
Definition: nvdstracker.h:222
NvBufSurfaceParams
Hold the information of single buffer in the batch.
Definition: nvbufsurface.h:542
_NvMOTTrackedObj::bbox3DImg
float bbox3DImg[8][2]
3D bbox in frame co-ordinates.
Definition: nvdstracker.h:326
_NvMOTConfigResponse
Holds a tracker's configuration status.
Definition: nvdstracker.h:159
NvMOTConfigResponse
struct _NvMOTConfigResponse NvMOTConfigResponse
Holds a tracker's configuration status.
NvMOT_Query
NvMOTStatus NvMOT_Query(uint16_t customConfigFilePathSize, char *pCustomConfigFilePath, NvMOTQuery *pQuery)
Query tracker lib capabilities and requirements.
NvMOTObjToTrack
struct _NvMOTObjToTrack NvMOTObjToTrack
Holds information about an object to be tracked.
_NvMOTQuery::memType
NvBufSurfaceMemType memType
Holds the preferred memory type for input buffers.
Definition: nvdstracker.h:408
_NvMOTFrame::streamID
NvMOTStreamId streamID
Holds the stream ID of the stream source for this frame.
Definition: nvdstracker.h:261
_NvMOTQuery::outputReidTensor
bool outputReidTensor
Whether to output ReID tensor in user meta.
Definition: nvdstracker.h:414
_NvMOTConfig::miscConfig
NvMOTMiscConfig miscConfig
Holds miscellaneous configurations.
Definition: nvdstracker.h:122
_NvMOTConfig::customConfigFilePathSize
uint16_t customConfigFilePathSize
Holds the length of customConfigFilePath.
Definition: nvdstracker.h:124
_NvMOTQuery::outputVisibility
bool outputVisibility
Whether to output visibility in user meta.
Definition: nvdstracker.h:420
_NvMOTFrame::numBuffers
uint8_t numBuffers
Holds the number of entries in bufferList.
Definition: nvdstracker.h:284
_NvMOTTrackedObj::age
uint32_t age
Holds the track length in frames.
Definition: nvdstracker.h:307
_NvDsObjConvexHull
Holds convex hull information.
Definition: nvds_tracker_meta.h:143
_NvMOTQuery::computeConfig
NvMOTCompute computeConfig
Holds flags for supported compute targets.
Definition: nvdstracker.h:401
_NvMOTObjToTrack::bbox
NvMOTRect bbox
Holds the bounding box of the object.
Definition: nvdstracker.h:224
_NvMOTTrackerMiscData::pShadowTrackBatch
NvDsTargetMiscDataBatch * pShadowTrackBatch
Holds the frame info of shadow tracks.
Definition: nvdstracker.h:377
NvMOTQuery
struct _NvMOTQuery NvMOTQuery
_NvMOTPerTransformBatchConfig::maxSize
uint32_t maxSize
Holds the maximum size of the buffer in bytes.
Definition: nvdstracker.h:84
NvMOTStatus
NvMOTStatus
Defines generic status codes for tracking operations.
Definition: nvdstracker.h:177
_NvMOTTrackedObj::confidence
float confidence
Holds the tracking confidence of the object.
Definition: nvdstracker.h:305
_NvMOTTrackedObjBatch::numFilled
uint32_t numFilled
Holds the number of filled blocks in the list.
Definition: nvdstracker.h:360
NvMOTStreamId
uint64_t NvMOTStreamId
Definition: nvdstracker.h:47
_NvMOTMask::allocatedSize
uint32_t allocatedSize
Allocated size.
Definition: nvdstracker.h:211
NvMOTBatchMode_Error
@ NvMOTBatchMode_Error
Unsupported batch mode.
Definition: nvdstracker.h:144
_NvMOTTrackedObjBatch::numAllocated
uint32_t numAllocated
Holds the number of blocks allocated for the list.
Definition: nvdstracker.h:358
_NvMOTObjToTrack
Holds information about an object to be tracked.
Definition: nvdstracker.h:219
_NvMOTTrackerMiscData::pPastFrameObjBatch
NvDsTargetMiscDataBatch * pPastFrameObjBatch
Holds past frame data of current batch.
Definition: nvdstracker.h:371
_NvMOTObjToTrackList::numAllocated
uint32_t numAllocated
Holds the number of blocks allocated for the list.
Definition: nvdstracker.h:244
NvBufSurfaceMemType
NvBufSurfaceMemType
Specifies memory types for NvBufSurface.
Definition: nvbufsurface.h:332
_NvMOTRect::height
float height
Holds the height of the bounding box, in pixels.
Definition: nvdstracker.h:196
_NvMOTConfig::computeConfig
NvMOTCompute computeConfig
Holds the compute target.
Definition: nvdstracker.h:110
_NvMOTObjToTrack::doTracking
bool doTracking
Holds a Boolean which is true if NvMOT is to track this object.
Definition: nvdstracker.h:228
_NvMOTConfig::maxStreams
uint32_t maxStreams
Holds the maximum number of streams in a batch.
Definition: nvdstracker.h:112
_NvMOTProcessParams
Holds parameters for processing a batch.
Definition: nvdstracker.h:386
_NvMOTTrackedObjBatch::pReidTensorBatch
NvDsReidTensorBatch * pReidTensorBatch
The whole batch’s reid tensor to fill by low level tracker.
Definition: nvdstracker.h:362
_NvMOTConfig::maxBufSurfAddrSize
uint32_t maxBufSurfAddrSize
Holds the max number of surface buffer addresses from buffer pool.
Definition: nvdstracker.h:114
_NvMOTTrackedObjList
Holds a list of tracked objects.
Definition: nvdstracker.h:334
_NvMOTQuery::maxTrajectoryBufferLength
uint32_t maxTrajectoryBufferLength
maximum frame of history to save per terminated track.
Definition: nvdstracker.h:434
_NvMOTConfig::customConfigFilePath
char * customConfigFilePath
A pointer to the pathname of the tracker's custom configuration file.
Definition: nvdstracker.h:127
NvMOTConfigStatus
NvMOTConfigStatus
Defines configuration request return codes.
Definition: nvdstracker.h:133
NvMOTCompute
uint8_t NvMOTCompute
Definition: nvdstracker.h:67
_NvMOTQuery
Definition: nvdstracker.h:398
NvMOTTrackedObjList
struct _NvMOTTrackedObjList NvMOTTrackedObjList
Holds a list of tracked objects.
_NvMOTFrame::frameNum
NvMOTFrameNum frameNum
Holds the sequential frame number that identifies the frame within the stream.
Definition: nvdstracker.h:268
_NvMOTPerTransformBatchConfig::maxWidth
uint32_t maxWidth
Holds the maximum width of each frame.
Definition: nvdstracker.h:78
_NvMOTTrackerMiscData::pTerminatedTrackBatch
NvDsTargetMiscDataBatch * pTerminatedTrackBatch
Holds the history of terminated tracks.
Definition: nvdstracker.h:374
_NvMOTTrackedObj::mask
NvMOTMask mask
Each object's segmentation mask.
Definition: nvdstracker.h:321
NvMOT_Process
NvMOTStatus NvMOT_Process(NvMOTContextHandle contextHandle, NvMOTProcessParams *pParams, NvMOTTrackedObjBatch *pTrackedObjectsBatch)
Processes a batch.
_NvMOTRect::width
float width
Holds the width of the bounding box, in pixels.
Definition: nvdstracker.h:194
NvMOTProcessParams
struct _NvMOTProcessParams NvMOTProcessParams
Holds parameters for processing a batch.
_NvMOTObjToTrackList::detectionDone
bool detectionDone
Holds a Boolean which is true if detection was done on this frame even if the list of objects to trac...
Definition: nvdstracker.h:240
NvMOTStatus_Error
@ NvMOTStatus_Error
Definition: nvdstracker.h:180
_NvMOTTrackedObj::ptWorldFeet
float ptWorldFeet[2]
Foot location in 3D coordinates.
Definition: nvdstracker.h:317
NvMOTFrameNum
uint32_t NvMOTFrameNum
Definition: nvdstracker.h:48
_NvMOTTrackedObj::classId
NvMOTClassId classId
Holds the class ID of the object to be tracked.
Definition: nvdstracker.h:299
NvMOTConfigStatus_Error
@ NvMOTConfigStatus_Error
Definition: nvdstracker.h:136
_NvMOTFrame::srcFrameHeight
uint32_t srcFrameHeight
Holds the height of the original source frame.
Definition: nvdstracker.h:272
_NvMOTRect::x
float x
Holds the left edge position of the object bounding box, in pixels.
Definition: nvdstracker.h:190
_NvMOTQuery::maxConvexHullSize
uint32_t maxConvexHullSize
Holdes maximum number of points in a convex hull.
Definition: nvdstracker.h:426
_NvMOTQuery::contextHandle
NvMOTContextHandle contextHandle
Hold the context handle.
Definition: nvdstracker.h:438
_NvMOTRect::y
float y
Holds the top edge position of the object bounding box, in pixels.
Definition: nvdstracker.h:192
_NvMOTTrackedObj::convexHull
NvDsObjConvexHull convexHull
Convex hull information projected on frame.
Definition: nvdstracker.h:319
_NvMOTConfigResponse::transformBatchStatus
NvMOTConfigStatus transformBatchStatus
Holds the transform batch configuration request status: summary status for all transforms.
Definition: nvdstracker.h:167
_NvMOTPerTransformBatchConfig::bufferType
NvBufSurfaceMemType bufferType
Holds the type of buffer.
Definition: nvdstracker.h:76
NvMOTBatchMode
NvMOTBatchMode
Definition: nvdstracker.h:141
_NvMOTTrackedObjList::numFilled
uint32_t numFilled
Holds the number of populated blocks in the list.
Definition: nvdstracker.h:347
_NvDsTargetMiscDataBatch
Batch of all streams of a given target misc output.
Definition: nvds_tracker_meta.h:105
_NvMOTObjToTrackList
Holds a list of objects.
Definition: nvdstracker.h:236
NvMOTMask
struct _NvMOTMask NvMOTMask
Holds the segmentaiton mask of an object.
_NvMOTMask::data
float * data
Holds the segmentation mask.
Definition: nvdstracker.h:205
_NvDsObj3DBbox
Holds 3D bbox information for an object.
Definition: nvds_tracker_meta.h:169
NvMOTContextHandle
struct NvMOTContext * NvMOTContextHandle
Definition: nvdstracker.h:396
_NvMOTFrame::timeStampValid
bool timeStampValid
Holds a Boolean which is true if the timestamp value is properly populated.
Definition: nvdstracker.h:277
NvMOT_UpdateParams
NvMOTStatus NvMOT_UpdateParams(NvMOTContextHandle contextHandle, const std::string &configStr)
Updates Dynamic Parameters for the low level tracker.
NvMOTConfigStatus_OK
@ NvMOTConfigStatus_OK
Definition: nvdstracker.h:135
_NvMOTQuery::outputTerminatedTracks
bool outputTerminatedTracks
Whether to output terminted Tacks info in user meta.
Definition: nvdstracker.h:432
_NvMOTFrame::doTracking
bool doTracking
Holds a Boolean which is true if objects in this frame are to be tracked.
Definition: nvdstracker.h:280
nvds_tracker_meta.h
NvMOT_RetrieveMiscData
NvMOTStatus NvMOT_RetrieveMiscData(NvMOTContextHandle contextHandle, NvMOTProcessParams *pParams, NvMOTTrackerMiscData *pTrackerMiscData)
Process the past-frame data in the low-level tracker lib and retrieve.
_NvMOTFrame::timeStamp
time_t timeStamp
Holds the timestamp of the frame at the time of capture.
Definition: nvdstracker.h:274
NvMOTBatchMode_Batch
@ NvMOTBatchMode_Batch
Batch processing mode.
Definition: nvdstracker.h:146
_NvMOTTrackerMiscData
Tracker misc data.
Definition: nvdstracker.h:368
NvMOTStatus_OK
@ NvMOTStatus_OK
Definition: nvdstracker.h:179
NvMOTBatchMode_MaxValue
@ NvMOTBatchMode_MaxValue
Max value of the enum.
Definition: nvdstracker.h:150
NvMOTObjToTrackList
struct _NvMOTObjToTrackList NvMOTObjToTrackList
Holds a list of objects.
_NvMOTConfigResponse::miscConfigStatus
NvMOTConfigStatus miscConfigStatus
Holds the status of the miscellaneous configurations.
Definition: nvdstracker.h:169
_NvMOTMask
Holds the segmentaiton mask of an object.
Definition: nvdstracker.h:202
_NvMOTTrackedObjList::streamID
NvMOTStreamId streamID
Holds the stream ID of the stream associated with objects in the list.
Definition: nvdstracker.h:337
NvMOTTrackerMiscData
struct _NvMOTTrackerMiscData NvMOTTrackerMiscData
Tracker misc data.
nvbufsurface.h
_NvMOTConfig
Holds a tracker configuration.
Definition: nvdstracker.h:107
_NvMOTQuery::outputFootLocation
bool outputFootLocation
Whether to output foot location in user meta.
Definition: nvdstracker.h:422
_NvMOTMask::width
uint32_t width
Width of the segmentation mask.
Definition: nvdstracker.h:207
_NvMOTTrackedObj::ptImgFeet
float ptImgFeet[2]
Foot location in frame coordinates.
Definition: nvdstracker.h:315
_NvMOTProcessParams::frameList
NvMOTFrame * frameList
Holds a pointer to an array of frame data.
Definition: nvdstracker.h:389
_NvMOTConfig::perTransformBatchConfig
NvMOTPerTransformBatchConfig * perTransformBatchConfig
Holds a pointer to a list of numTransform batch configurations, one per transform,...
Definition: nvdstracker.h:120
_NvMOTConfigResponse::computeStatus
NvMOTConfigStatus computeStatus
Holds the compute target request status.
Definition: nvdstracker.h:164
_NvMOTFrame::seq_index
uint32_t seq_index
Holds the index of the stream in the sequence of streams.
Definition: nvdstracker.h:265
NvBufSurfaceColorFormat
NvBufSurfaceColorFormat
Defines color formats for NvBufSurface.
Definition: nvbufsurface.h:105
_NvDsReidTensorBatch
ReID tensor of the batch.
Definition: nvds_tracker_meta.h:120
_NvMOTTrackedObjList::valid
bool valid
Holds a Boolean which is true if this entry in the batch is valid.
Definition: nvdstracker.h:341
ds3d::v2xinfer::format
static std::string format(const char *fmt,...)
Definition: sources/libs/ds3d/inference_custom_lib/ds3d_v2x_infer_custom_preprocess/tensor.hpp:26
_NvMOTConfig::numTransforms
uint8_t numTransforms
Holds the number of NvMOTPerTransformBatchConfig entries in perTransformBatchConfig.
Definition: nvdstracker.h:117
_NvMOTQuery::outputTrajectory
bool outputTrajectory
Whether to output target trajectories in user meta.
Definition: nvdstracker.h:418
_NvMOTMiscConfig
Holds miscellaneous configurations.
Definition: nvdstracker.h:91