NVIDIA DeepStream SDK API Reference

9.2 Release
Object Tracker API

Detailed Description

Defines the DeepStream object tracker API.

Data Structures

struct  _NvMOTTimeMeta
 Per-frame timing: stream PTS (when valid), host-local ns for deltas, and frame index. More...
 

Macros

#define NVMOT_MAX_TRANSFORMS   4
 
#define NVMOTCOMP_GPU   0x01
 Compute target flags. More...
 
#define NVMOTCOMP_CPU   0x02
 Defines the "CPU" compute target flag. More...
 
#define NVMOTCOMP_PVA   0x04
 Defines the "PVA" compute target flag. More...
 
#define NVMOTCOMP_ANY   0xff
 Defines a compute target flag for "any target.". More...
 
#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY
 Defines the compute target flag for the default target. More...
 
#define NVMOT_MAX_TRANSFORMS   4
 
#define NVMOTCOMP_GPU   0x01
 Compute target flags. More...
 
#define NVMOTCOMP_CPU   0x02
 Defines the "CPU" compute target flag. More...
 
#define NVMOTCOMP_PVA   0x04
 Defines the "PVA" compute target flag. More...
 
#define NVMOTCOMP_ANY   0xff
 Defines a compute target flag for "any target.". More...
 
#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY
 Defines the compute target flag for the default target. More...
 
#define NVMOT_MAX_TRANSFORMS   4
 
#define NVMOTCOMP_GPU   0x01
 Compute target flags. More...
 
#define NVMOTCOMP_CPU   0x02
 Defines the "CPU" compute target flag. More...
 
#define NVMOTCOMP_PVA   0x04
 Defines the "PVA" compute target flag. More...
 
#define NVMOTCOMP_ANY   0xff
 Defines a compute target flag for "any target.". More...
 
#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY
 Defines the compute target flag for the default target. More...
 
#define NVMOT_MAX_TRANSFORMS   4
 
#define NVMOTCOMP_GPU   0x01
 Compute target flags. More...
 
#define NVMOTCOMP_CPU   0x02
 Defines the "CPU" compute target flag. More...
 
#define NVMOTCOMP_PVA   0x04
 Defines the "PVA" compute target flag. More...
 
#define NVMOTCOMP_ANY   0xff
 Defines a compute target flag for "any target.". More...
 
#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY
 Defines the compute target flag for the default target. More...
 

Typedefs

typedef uint64_t NvMOTTimeStamp
 
typedef uint64_t NvMOTStreamId
 
typedef uint32_t NvMOTFrameNum
 
typedef uint16_t NvMOTClassId
 
typedef NvMOTTimeStamp TimeStamp
 
typedef struct _NvMOTTimeMeta NvMOTTimeMeta
 Per-frame timing: stream PTS (when valid), host-local ns for deltas, and frame index. More...
 
typedef uint64_t NvMOTTimeStamp
 
typedef uint64_t NvMOTStreamId
 
typedef uint32_t NvMOTFrameNum
 
typedef uint16_t NvMOTClassId
 
typedef NvMOTTimeStamp TimeStamp
 
typedef struct _NvMOTTimeMeta NvMOTTimeMeta
 Holds the stream timestamp, host-local timestamp, and frame index. More...
 
typedef uint64_t NvMOTTimeStamp
 
typedef uint64_t NvMOTStreamId
 
typedef uint32_t NvMOTFrameNum
 
typedef uint16_t NvMOTClassId
 
typedef NvMOTTimeStamp TimeStamp
 
typedef struct _NvMOTTimeMeta NvMOTTimeMeta
 Per-frame timing: stream PTS (when valid), host-local ns for deltas, and frame index. More...
 
typedef uint64_t NvMOTTimeStamp
 
typedef uint64_t NvMOTStreamId
 
typedef uint32_t NvMOTFrameNum
 
typedef uint16_t NvMOTClassId
 
typedef NvMOTTimeStamp TimeStamp
 
typedef struct _NvMOTTimeMeta NvMOTTimeMeta
 Holds the stream timestamp, host-local timestamp, and frame index. More...
 

Functions

static TimeStamp NvDsCurrentTimestampNs (void)
 Wall-clock time in nanoseconds since the Unix epoch (std::chrono::system_clock). More...
 

Macro Definition Documentation

◆ NVMOT_MAX_TRANSFORMS [1/4]

#define NVMOT_MAX_TRANSFORMS   4

Definition at line 50 of file includes/nvdstracker.h.

◆ NVMOT_MAX_TRANSFORMS [2/4]

#define NVMOT_MAX_TRANSFORMS   4

Definition at line 50 of file 9.2/includes/nvdstracker.h.

◆ NVMOT_MAX_TRANSFORMS [3/4]

#define NVMOT_MAX_TRANSFORMS   4

◆ NVMOT_MAX_TRANSFORMS [4/4]

#define NVMOT_MAX_TRANSFORMS   4

◆ NVMOTCOMP_ANY [1/4]

#define NVMOTCOMP_ANY   0xff

Defines a compute target flag for "any target.".

Definition at line 83 of file includes/nvdstracker.h.

◆ NVMOTCOMP_ANY [2/4]

#define NVMOTCOMP_ANY   0xff

Defines a compute target flag for "any target.".

Definition at line 83 of file 9.2/includes/nvdstracker.h.

◆ NVMOTCOMP_ANY [3/4]

#define NVMOTCOMP_ANY   0xff

Defines a compute target flag for "any target.".

Definition at line 89 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_ANY [4/4]

#define NVMOTCOMP_ANY   0xff

Defines a compute target flag for "any target.".

Definition at line 89 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_CPU [1/4]

#define NVMOTCOMP_CPU   0x02

Defines the "CPU" compute target flag.

Definition at line 81 of file includes/nvdstracker.h.

◆ NVMOTCOMP_CPU [2/4]

#define NVMOTCOMP_CPU   0x02

Defines the "CPU" compute target flag.

Definition at line 81 of file 9.2/includes/nvdstracker.h.

◆ NVMOTCOMP_CPU [3/4]

#define NVMOTCOMP_CPU   0x02

Defines the "CPU" compute target flag.

Definition at line 87 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_CPU [4/4]

#define NVMOTCOMP_CPU   0x02

Defines the "CPU" compute target flag.

Definition at line 87 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_DEFAULT [1/4]

#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY

Defines the compute target flag for the default target.

Definition at line 85 of file 9.2/includes/nvdstracker.h.

◆ NVMOTCOMP_DEFAULT [2/4]

#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY

Defines the compute target flag for the default target.

Definition at line 85 of file includes/nvdstracker.h.

◆ NVMOTCOMP_DEFAULT [3/4]

#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY

Defines the compute target flag for the default target.

Definition at line 90 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_DEFAULT [4/4]

#define NVMOTCOMP_DEFAULT   NVMOTCOMP_ANY

Defines the compute target flag for the default target.

Definition at line 90 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_GPU [1/4]

#define NVMOTCOMP_GPU   0x01

Compute target flags.

You can select multiple targets; the tracker will optimize across them. Combinations are allowed, e.g. NVTCOMP_GPU or NVTCOMP_PVA Defines the "GPU" compute target flag.

Definition at line 80 of file includes/nvdstracker.h.

◆ NVMOTCOMP_GPU [2/4]

#define NVMOTCOMP_GPU   0x01

Compute target flags.

You can select multiple targets; the tracker will optimize across them. Combinations are allowed, e.g. NVTCOMP_GPU or NVTCOMP_PVA Defines the "GPU" compute target flag.

Definition at line 80 of file 9.2/includes/nvdstracker.h.

◆ NVMOTCOMP_GPU [3/4]

#define NVMOTCOMP_GPU   0x01

Compute target flags.

You can select multiple targets; the tracker will optimize across them. Combinations are allowed, e.g. NVTCOMP_GPU or NVTCOMP_PVA Defines the "GPU" compute target flag.

Definition at line 86 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_GPU [4/4]

#define NVMOTCOMP_GPU   0x01

Compute target flags.

You can select multiple targets; the tracker will optimize across them. Combinations are allowed, e.g. NVTCOMP_GPU or NVTCOMP_PVA Defines the "GPU" compute target flag.

Definition at line 86 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_PVA [1/4]

#define NVMOTCOMP_PVA   0x04

Defines the "PVA" compute target flag.

Definition at line 82 of file 9.2/includes/nvdstracker.h.

◆ NVMOTCOMP_PVA [2/4]

#define NVMOTCOMP_PVA   0x04

Defines the "PVA" compute target flag.

Definition at line 82 of file includes/nvdstracker.h.

◆ NVMOTCOMP_PVA [3/4]

#define NVMOTCOMP_PVA   0x04

Defines the "PVA" compute target flag.

Definition at line 88 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

◆ NVMOTCOMP_PVA [4/4]

#define NVMOTCOMP_PVA   0x04

Defines the "PVA" compute target flag.

Definition at line 88 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/nvdstracker.h.

Typedef Documentation

◆ NvMOTClassId [1/4]

typedef uint16_t NvMOTClassId

Definition at line 55 of file includes/nvdstracker.h.

◆ NvMOTClassId [2/4]

typedef uint16_t NvMOTClassId

Definition at line 55 of file 9.2/includes/nvdstracker.h.

◆ NvMOTClassId [3/4]

◆ NvMOTClassId [4/4]

◆ NvMOTFrameNum [1/4]

typedef uint32_t NvMOTFrameNum

Definition at line 54 of file includes/nvdstracker.h.

◆ NvMOTFrameNum [2/4]

typedef uint32_t NvMOTFrameNum

Definition at line 54 of file 9.2/includes/nvdstracker.h.

◆ NvMOTFrameNum [3/4]

◆ NvMOTFrameNum [4/4]

◆ NvMOTStreamId [1/4]

typedef uint64_t NvMOTStreamId

Definition at line 53 of file includes/nvdstracker.h.

◆ NvMOTStreamId [2/4]

typedef uint64_t NvMOTStreamId

Definition at line 53 of file 9.2/includes/nvdstracker.h.

◆ NvMOTStreamId [3/4]

◆ NvMOTStreamId [4/4]

◆ NvMOTTimeMeta [1/4]

typedef struct _NvMOTTimeMeta NvMOTTimeMeta

Per-frame timing: stream PTS (when valid), host-local ns for deltas, and frame index.

◆ NvMOTTimeMeta [2/4]

typedef struct _NvMOTTimeMeta NvMOTTimeMeta

Per-frame timing: stream PTS (when valid), host-local ns for deltas, and frame index.

◆ NvMOTTimeMeta [3/4]

typedef struct _NvMOTTimeMeta NvMOTTimeMeta

Holds the stream timestamp, host-local timestamp, and frame index.

◆ NvMOTTimeMeta [4/4]

typedef struct _NvMOTTimeMeta NvMOTTimeMeta

Holds the stream timestamp, host-local timestamp, and frame index.

◆ NvMOTTimeStamp [1/4]

typedef uint64_t NvMOTTimeStamp

Definition at line 52 of file 9.2/includes/nvdstracker.h.

◆ NvMOTTimeStamp [2/4]

typedef uint64_t NvMOTTimeStamp

Definition at line 52 of file includes/nvdstracker.h.

◆ NvMOTTimeStamp [3/4]

◆ NvMOTTimeStamp [4/4]

◆ TimeStamp [1/4]

Definition at line 56 of file 9.2/includes/nvdstracker.h.

◆ TimeStamp [2/4]

Definition at line 56 of file includes/nvdstracker.h.

◆ TimeStamp [3/4]

◆ TimeStamp [4/4]

Function Documentation

◆ NvDsCurrentTimestampNs()

static TimeStamp NvDsCurrentTimestampNs ( void  )
inlinestatic

Wall-clock time in nanoseconds since the Unix epoch (std::chrono::system_clock).

Definition at line 59 of file includes/nvdstracker.h.