Adapts test frame and ROI batches to the low-level tracker API.
Definition at line 33 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Public Member Functions | |
| DsLowLevelTracker () | |
| Initialize empty low-level tracker input and output storage. More... | |
| ~DsLowLevelTracker () | |
| Deinitialize the tracker context and release allocated metadata. More... | |
| bool | isInitialized () |
| Report whether the low-level tracker is initialized. More... | |
| void | initialize (const uint32_t gpuId, const int maxVideoStreams, const int numVideoStreams, const int maxObjectsPerFrame, const int numTransforms, const uint maxWidth, const uint maxHeight, const uint maxPitch, const NvBufSurfaceColorFormat srcImgColorFormat, std::string lowLevelTrackerConfigFilePath="", const int debugVerboseLevel=0) |
| Allocate tracker metadata and initialize a low-level tracking context. More... | |
| const NvMOTTrackedObjBatch & | update (const FrameBatch &framesInBatch, const int numTransforms, RoiBatch rois=RoiBatch(), const bool isDetectionDone=false, const uint32_t frameBatchNo=0) |
| Process a batch of frames and return the current tracker output. More... | |
| const void | removeStream (const NvMOTStreamId videoStreamID) |
| Remove a stream from the low-level tracker context. More... | |
| const std::map< NvMOTStreamId, NvMOTFrame * > | getMotInputParams () |
| Return input frame metadata keyed by video stream ID. More... | |
| DsLowLevelTracker () | |
| Initialize empty low-level tracker input and output storage. More... | |
| ~DsLowLevelTracker () | |
| Deinitialize the tracker context and release allocated metadata. More... | |
| bool | isInitialized () |
| Report whether the low-level tracker is initialized. More... | |
| void | initialize (const uint32_t gpuId, const int maxVideoStreams, const int numVideoStreams, const int maxObjectsPerFrame, const int numTransforms, const uint maxWidth, const uint maxHeight, const uint maxPitch, const NvBufSurfaceColorFormat srcImgColorFormat, std::string lowLevelTrackerConfigFilePath="", const int debugVerboseLevel=0) |
| Allocate tracker metadata and initialize a low-level tracking context. More... | |
| const NvMOTTrackedObjBatch & | update (const FrameBatch &framesInBatch, const int numTransforms, RoiBatch rois=RoiBatch(), const bool isDetectionDone=false, const uint32_t frameBatchNo=0) |
| Process a batch of frames and return the current tracker output. More... | |
| const void | removeStream (const NvMOTStreamId videoStreamID) |
| Remove a stream from the low-level tracker context. More... | |
| const std::map< NvMOTStreamId, NvMOTFrame * > | getMotInputParams () |
| Return input frame metadata keyed by video stream ID. More... | |
Protected Member Functions | |
| void | initializeLowLeveTracker (uint maxWidth, uint maxHeight, uint maxPitch, NvBufSurfaceColorFormat colorFormat, uint maxStream, uint numTransforms, std::string lowLevelTrackerConfigFilePath="") |
| Recreate the low-level tracker context for configured transforms and streams. More... | |
| void | allocateMotOutputData (const int maxVideoStreams, const int maxObjectsPerFrame) |
| Allocate current-frame tracker output storage. More... | |
| void | deAllocateMotOutputData () |
| Release current-frame tracker output storage. More... | |
| void | allocateMotInputData (const int numTransforms, const int numVideoStreams, const int maxObjectsPerFrame) |
| Allocate low-level tracker input storage. More... | |
| void | deAllocateMotInputData () |
| Release low-level tracker input storage. More... | |
| bool | generateMotInputParams (const FrameBatch &framesInBatch, const int numTransforms, RoiBatch &rois, const bool isDetectionDone, const uint32_t frameBatchNo=0) |
| Populate low-level tracker input metadata from frame and ROI batches. More... | |
| void | initializeLowLeveTracker (uint maxWidth, uint maxHeight, uint maxPitch, NvBufSurfaceColorFormat colorFormat, uint maxStream, uint numTransforms, std::string lowLevelTrackerConfigFilePath="") |
| Recreate the low-level tracker context for configured transforms and streams. More... | |
| void | allocateMotOutputData (const int maxVideoStreams, const int maxObjectsPerFrame) |
| Allocate current-frame tracker output storage. More... | |
| void | deAllocateMotOutputData () |
| Release current-frame tracker output storage. More... | |
| void | allocateMotInputData (const int numTransforms, const int numVideoStreams, const int maxObjectsPerFrame) |
| Allocate low-level tracker input storage. More... | |
| void | deAllocateMotInputData () |
| Release low-level tracker input storage. More... | |
| bool | generateMotInputParams (const FrameBatch &framesInBatch, const int numTransforms, RoiBatch &rois, const bool isDetectionDone, const uint32_t frameBatchNo=0) |
| Populate low-level tracker input metadata from frame and ROI batches. More... | |
Protected Attributes | |
| NvMOTTrackedObjBatch | m_motOutputObjectsMeta |
| Current-frame output from the tracker. More... | |
| NvMOTProcessParams | m_motInputParams |
| Input batch submitted to the tracker. More... | |
| NvMOTMiscConfig | m_motMiscConfig |
| Miscellaneous tracker configuration. More... | |
| NvMOTContext * | mp_MotCtx |
| Low-level tracker context. More... | |
| NvMOTConfigResponse | m_motConfigResponse |
| Response to the tracker configuration request. More... | |
| NvMOTCompute | m_computeType |
| Requested tracker compute target. More... | |
| NvBufSurfaceColorFormat | m_srcImgColorFormat |
| Source image color format. More... | |
| int | m_debugVerboseLevel |
| Debug verbosity level. More... | |
| bool | m_isIntialized |
| Indicates whether the low-level tracker is initialized. More... | |
| bool | m_useBatchNumForFrameId = false |
| Selects frame-batch numbers instead of per-stream frame numbers. More... | |
|
inline |
Initialize empty low-level tracker input and output storage.
Reset the MOT context.
Definition at line 37 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTProcessParams::frameList, _NvMOTTrackedObjBatch::list, m_computeType, m_isIntialized, m_motInputParams, m_motOutputObjectsMeta, mp_MotCtx, and NVMOTCOMP_ANY.
|
inline |
Deinitialize the tracker context and release allocated metadata.
Deinitialize NvMOT.
De-allocate the output to the tracker.
De-allocate the input to the tracker.
Definition at line 50 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References deAllocateMotInputData(), deAllocateMotOutputData(), mp_MotCtx, and NvMOT_DeInit().
|
inline |
Initialize empty low-level tracker input and output storage.
Reset the MOT context.
Definition at line 37 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTProcessParams::frameList, _NvMOTTrackedObjBatch::list, m_computeType, m_isIntialized, m_motInputParams, m_motOutputObjectsMeta, mp_MotCtx, and NVMOTCOMP_ANY.
|
inline |
Deinitialize the tracker context and release allocated metadata.
Deinitialize NvMOT.
De-allocate the output to the tracker.
De-allocate the input to the tracker.
Definition at line 50 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References deAllocateMotInputData(), deAllocateMotOutputData(), mp_MotCtx, and NvMOT_DeInit().
|
inlineprotected |
Allocate low-level tracker input storage.
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | numVideoStreams | Number of video streams. |
| [in] | maxObjectsPerFrame | Maximum number of objects per frame. |
Definition at line 287 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTFrame::bufferList, deAllocateMotInputData(), _NvMOTFrame::doTracking, _NvMOTProcessParams::frameList, _NvMOTFrame::frameNum, _NvMOTObjToTrackList::list, m_motInputParams, _NvMOTObjToTrackList::numAllocated, _NvMOTFrame::numBuffers, _NvMOTObjToTrackList::numFilled, _NvMOTProcessParams::numFrames, _NvMOTFrame::objectsIn, _NvMOTFrame::reset, _NvMOTFrame::streamID, and _NvMOTFrame::timeMeta.
Referenced by initialize().
|
inlineprotected |
Allocate low-level tracker input storage.
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | numVideoStreams | Number of video streams. |
| [in] | maxObjectsPerFrame | Maximum number of objects per frame. |
Definition at line 287 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTFrame::bufferList, deAllocateMotInputData(), _NvMOTFrame::doTracking, _NvMOTProcessParams::frameList, _NvMOTFrame::frameNum, _NvMOTObjToTrackList::list, m_motInputParams, _NvMOTObjToTrackList::numAllocated, _NvMOTFrame::numBuffers, _NvMOTObjToTrackList::numFilled, _NvMOTProcessParams::numFrames, _NvMOTFrame::objectsIn, _NvMOTFrame::reset, _NvMOTFrame::streamID, and _NvMOTFrame::timeMeta.
|
inlineprotected |
Allocate current-frame tracker output storage.
| [in] | maxVideoStreams | Maximum number of video streams. |
| [in] | maxObjectsPerFrame | Maximum number of tracked objects per frame. |
This should be equal to or larger than (# of targets)*(max length of shadow tracking)*(# of video streams).
Definition at line 239 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References deAllocateMotOutputData(), _NvMOTTrackedObjList::frameNum, _NvMOTTrackedObjList::list, _NvMOTTrackedObjBatch::list, m_motOutputObjectsMeta, _NvMOTTrackedObjList::numAllocated, _NvMOTTrackedObjBatch::numAllocated, _NvMOTTrackedObjList::numFilled, _NvMOTTrackedObjBatch::numFilled, _NvMOTTrackedObjList::streamID, and _NvMOTTrackedObjList::valid.
|
inlineprotected |
Allocate current-frame tracker output storage.
| [in] | maxVideoStreams | Maximum number of video streams. |
| [in] | maxObjectsPerFrame | Maximum number of tracked objects per frame. |
This should be equal to or larger than (# of targets)*(max length of shadow tracking)*(# of video streams).
Definition at line 239 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References deAllocateMotOutputData(), _NvMOTTrackedObjList::frameNum, _NvMOTTrackedObjList::list, _NvMOTTrackedObjBatch::list, m_motOutputObjectsMeta, _NvMOTTrackedObjList::numAllocated, _NvMOTTrackedObjBatch::numAllocated, _NvMOTTrackedObjList::numFilled, _NvMOTTrackedObjBatch::numFilled, _NvMOTTrackedObjList::streamID, and _NvMOTTrackedObjList::valid.
Referenced by initialize().
|
inlineprotected |
Release low-level tracker input storage.
Definition at line 321 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTFrame::bufferList, _NvMOTProcessParams::frameList, _NvMOTObjToTrackList::list, m_motInputParams, _NvMOTProcessParams::numFrames, and _NvMOTFrame::objectsIn.
|
inlineprotected |
Release low-level tracker input storage.
Definition at line 321 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTFrame::bufferList, _NvMOTProcessParams::frameList, _NvMOTObjToTrackList::list, m_motInputParams, _NvMOTProcessParams::numFrames, and _NvMOTFrame::objectsIn.
Referenced by allocateMotInputData(), and ~DsLowLevelTracker().
|
inlineprotected |
Release current-frame tracker output storage.
Definition at line 266 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTTrackedObjList::list, _NvMOTTrackedObjBatch::list, m_motOutputObjectsMeta, and _NvMOTTrackedObjBatch::numAllocated.
Referenced by allocateMotOutputData(), and ~DsLowLevelTracker().
|
inlineprotected |
Release current-frame tracker output storage.
Definition at line 266 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTTrackedObjList::list, _NvMOTTrackedObjBatch::list, m_motOutputObjectsMeta, and _NvMOTTrackedObjBatch::numAllocated.
|
inlineprotected |
Populate low-level tracker input metadata from frame and ROI batches.
| [in] | framesInBatch | Source images and frame numbers keyed by stream ID. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | rois | Detection regions keyed by stream ID. |
| [in] | isDetectionDone | Indicates whether detection completed for this batch. |
| [in] | frameBatchNo | Frame-batch number used when batch-based frame IDs are enabled. |
In case of NV12 image, the input cv::Mat image would have 1.5x height in CV_8UC1 format.
There are two planes: Y-ch and UV-ch.
Y-ch in NV12 is uchar.
UV-ch have half of the height of Y-ch.
UV-ch would start after Y-ch.
UV-ch in NV12 is uchar.
There is only one plane where RGBA pixels are interleaved.
RGBA is in uchar4 format.
{bboxInd, bbox, classId, detectionConfidence}.
Definition at line 346 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References NvBufSurfaceMappedAddr::addr, _NvMOTObjToTrack::bbox, _NvMOTFrame::bufferList, NvBufSurfacePlaneParams::bytesPerPix, _NvMOTObjToTrack::classId, NvBufSurfaceParams::colorFormat, _NvMOTObjToTrack::confidence, NvBufSurfaceParams::dataPtr, NvBufSurfaceParams::dataSize, _NvMOTObjToTrackList::detectionDone, _NvMOTObjToTrack::doTracking, _NvMOTFrame::doTracking, _NvMOTProcessParams::frameList, _NvMOTTimeMeta::frameNum, _NvMOTFrame::frameNum, _NvMOTTimeMeta::frameTimeStamp, _NvMOTTimeMeta::frameTimeValid, Time::getUnixTimestampNanoSeconds(), _NvMOTRect::height, NvBufSurfacePlaneParams::height, NvBufSurfaceParams::height, _NvMOTObjToTrackList::list, _NvMOTTimeMeta::localTimestamp, m_debugVerboseLevel, m_motInputParams, m_srcImgColorFormat, m_useBatchNumForFrameId, NvBufSurfaceParams::mappedAddr, NvBufSurfacePlaneParams::num_planes, _NvMOTObjToTrackList::numAllocated, _NvMOTFrame::numBuffers, _NvMOTObjToTrackList::numFilled, _NvMOTProcessParams::numFrames, NVBUF_COLOR_FORMAT_NV12, NVBUF_COLOR_FORMAT_RGBA, _NvMOTFrame::objectsIn, NvBufSurfacePlaneParams::offset, NvBufSurfacePlaneParams::pitch, NvBufSurfaceParams::pitch, NvBufSurfaceParams::planeParams, NvBufSurfacePlaneParams::psize, _NvMOTFrame::reset, _NvMOTFrame::sensorName, _NvMOTFrame::streamID, _NvMOTFrame::timeMeta, _NvMOTRect::width, NvBufSurfacePlaneParams::width, NvBufSurfaceParams::width, _NvMOTRect::x, and _NvMOTRect::y.
|
inlineprotected |
Populate low-level tracker input metadata from frame and ROI batches.
| [in] | framesInBatch | Source images and frame numbers keyed by stream ID. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | rois | Detection regions keyed by stream ID. |
| [in] | isDetectionDone | Indicates whether detection completed for this batch. |
| [in] | frameBatchNo | Frame-batch number used when batch-based frame IDs are enabled. |
In case of NV12 image, the input cv::Mat image would have 1.5x height in CV_8UC1 format.
There are two planes: Y-ch and UV-ch.
Y-ch in NV12 is uchar.
UV-ch have half of the height of Y-ch.
UV-ch would start after Y-ch.
UV-ch in NV12 is uchar.
There is only one plane where RGBA pixels are interleaved.
RGBA is in uchar4 format.
{bboxInd, bbox, classId, detectionConfidence}.
Definition at line 346 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References NvBufSurfaceMappedAddr::addr, _NvMOTObjToTrack::bbox, _NvMOTFrame::bufferList, NvBufSurfacePlaneParams::bytesPerPix, _NvMOTObjToTrack::classId, NvBufSurfaceParams::colorFormat, _NvMOTObjToTrack::confidence, NvBufSurfaceParams::dataPtr, NvBufSurfaceParams::dataSize, _NvMOTObjToTrackList::detectionDone, _NvMOTObjToTrack::doTracking, _NvMOTFrame::doTracking, _NvMOTProcessParams::frameList, _NvMOTTimeMeta::frameNum, _NvMOTFrame::frameNum, _NvMOTTimeMeta::frameTimeStamp, _NvMOTTimeMeta::frameTimeValid, Time::getUnixTimestampNanoSeconds(), _NvMOTRect::height, NvBufSurfacePlaneParams::height, NvBufSurfaceParams::height, _NvMOTObjToTrackList::list, _NvMOTTimeMeta::localTimestamp, m_debugVerboseLevel, m_motInputParams, m_srcImgColorFormat, m_useBatchNumForFrameId, NvBufSurfaceParams::mappedAddr, NvBufSurfacePlaneParams::num_planes, _NvMOTObjToTrackList::numAllocated, _NvMOTFrame::numBuffers, _NvMOTObjToTrackList::numFilled, _NvMOTProcessParams::numFrames, NVBUF_COLOR_FORMAT_NV12, NVBUF_COLOR_FORMAT_RGBA, _NvMOTFrame::objectsIn, NvBufSurfacePlaneParams::offset, NvBufSurfacePlaneParams::pitch, NvBufSurfaceParams::pitch, NvBufSurfaceParams::planeParams, NvBufSurfacePlaneParams::psize, _NvMOTFrame::reset, _NvMOTFrame::sensorName, _NvMOTFrame::streamID, _NvMOTFrame::timeMeta, _NvMOTRect::width, NvBufSurfacePlaneParams::width, NvBufSurfaceParams::width, _NvMOTRect::x, and _NvMOTRect::y.
Referenced by update().
|
inline |
Return input frame metadata keyed by video stream ID.
Definition at line 155 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTProcessParams::frameList, m_motInputParams, _NvMOTProcessParams::numFrames, and _NvMOTFrame::streamID.
|
inline |
Return input frame metadata keyed by video stream ID.
Definition at line 155 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTProcessParams::frameList, m_motInputParams, _NvMOTProcessParams::numFrames, and _NvMOTFrame::streamID.
|
inline |
Allocate tracker metadata and initialize a low-level tracking context.
| [in] | gpuId | GPU identifier used by the tracker. |
| [in] | maxVideoStreams | Maximum number of video streams in output storage. |
| [in] | numVideoStreams | Number of video streams in input storage. |
| [in] | maxObjectsPerFrame | Maximum number of objects allocated per frame. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | maxWidth | Maximum transformed frame width. |
| [in] | maxHeight | Maximum transformed frame height. |
| [in] | maxPitch | Maximum transformed frame row pitch. |
| [in] | srcImgColorFormat | Source image color format. |
| [in] | lowLevelTrackerConfigFilePath | Path to the low-level tracker configuration file. |
| [in] | debugVerboseLevel | Debug verbosity level. |
Allocate mot output for current frame data.
Allocate MOT input data.
Configure tracker component limits.
Leave the per-stream target limit unrestricted.
Leave the per-batch target limit unrestricted.
Initialize the low-level tracker.
Definition at line 80 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References allocateMotInputData(), allocateMotOutputData(), _NvMOTMiscConfig::gpuId, initializeLowLeveTracker(), m_debugVerboseLevel, m_isIntialized, m_motMiscConfig, and m_srcImgColorFormat.
|
inline |
Allocate tracker metadata and initialize a low-level tracking context.
| [in] | gpuId | GPU identifier used by the tracker. |
| [in] | maxVideoStreams | Maximum number of video streams in output storage. |
| [in] | numVideoStreams | Number of video streams in input storage. |
| [in] | maxObjectsPerFrame | Maximum number of objects allocated per frame. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | maxWidth | Maximum transformed frame width. |
| [in] | maxHeight | Maximum transformed frame height. |
| [in] | maxPitch | Maximum transformed frame row pitch. |
| [in] | srcImgColorFormat | Source image color format. |
| [in] | lowLevelTrackerConfigFilePath | Path to the low-level tracker configuration file. |
| [in] | debugVerboseLevel | Debug verbosity level. |
Allocate mot output for current frame data.
Allocate MOT input data.
Configure tracker component limits.
Leave the per-stream target limit unrestricted.
Leave the per-batch target limit unrestricted.
Initialize the low-level tracker.
Definition at line 80 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References allocateMotInputData(), allocateMotOutputData(), _NvMOTMiscConfig::gpuId, initializeLowLeveTracker(), m_debugVerboseLevel, m_isIntialized, m_motMiscConfig, and m_srcImgColorFormat.
|
inlineprotected |
Recreate the low-level tracker context for configured transforms and streams.
| [in] | maxWidth | Maximum transformed frame width. |
| [in] | maxHeight | Maximum transformed frame height. |
| [in] | maxPitch | Maximum transformed frame row pitch. |
| [in] | colorFormat | Transformed frame color format. |
| [in] | maxStream | Maximum number of video streams. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | lowLevelTrackerConfigFilePath | Path to the low-level tracker configuration file. |
Store the allocation size in bytes.
Configure the NvMOT context.
Deinitialize NvMOT.
Initialize NvMOT.
Release temporary configuration storage.
Definition at line 181 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTPerTransformBatchConfig::bufferType, _NvMOTConfig::computeConfig, _NvMOTConfig::customConfigFilePath, _NvMOTConfig::customConfigFilePathSize, m_computeType, m_motConfigResponse, m_motMiscConfig, _NvMOTPerTransformBatchConfig::maxHeight, _NvMOTPerTransformBatchConfig::maxPitch, _NvMOTPerTransformBatchConfig::maxSize, _NvMOTConfig::maxStreams, _NvMOTPerTransformBatchConfig::maxWidth, _NvMOTConfig::miscConfig, mp_MotCtx, _NvMOTConfig::numTransforms, NVBUF_MEM_CUDA_UNIFIED, NvMOT_DeInit(), NvMOT_Init(), NvMOTStatus_OK, and _NvMOTConfig::perTransformBatchConfig.
|
inlineprotected |
Recreate the low-level tracker context for configured transforms and streams.
| [in] | maxWidth | Maximum transformed frame width. |
| [in] | maxHeight | Maximum transformed frame height. |
| [in] | maxPitch | Maximum transformed frame row pitch. |
| [in] | colorFormat | Transformed frame color format. |
| [in] | maxStream | Maximum number of video streams. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | lowLevelTrackerConfigFilePath | Path to the low-level tracker configuration file. |
Store the allocation size in bytes.
Configure the NvMOT context.
Deinitialize NvMOT.
Initialize NvMOT.
Release temporary configuration storage.
Definition at line 181 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References _NvMOTPerTransformBatchConfig::bufferType, _NvMOTConfig::computeConfig, _NvMOTConfig::customConfigFilePath, _NvMOTConfig::customConfigFilePathSize, m_computeType, m_motConfigResponse, m_motMiscConfig, _NvMOTPerTransformBatchConfig::maxHeight, _NvMOTPerTransformBatchConfig::maxPitch, _NvMOTPerTransformBatchConfig::maxSize, _NvMOTConfig::maxStreams, _NvMOTPerTransformBatchConfig::maxWidth, _NvMOTConfig::miscConfig, mp_MotCtx, _NvMOTConfig::numTransforms, NVBUF_MEM_CUDA_UNIFIED, NvMOT_DeInit(), NvMOT_Init(), NvMOTStatus_OK, and _NvMOTConfig::perTransformBatchConfig.
Referenced by initialize().
|
inline |
Report whether the low-level tracker is initialized.
Definition at line 64 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References m_isIntialized.
|
inline |
Report whether the low-level tracker is initialized.
Definition at line 64 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References m_isIntialized.
|
inline |
Remove a stream from the low-level tracker context.
| [in] | videoStreamID | Video stream ID to remove. |
Definition at line 149 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References mp_MotCtx, and NvMOT_RemoveStreams().
|
inline |
Remove a stream from the low-level tracker context.
| [in] | videoStreamID | Video stream ID to remove. |
Definition at line 149 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References mp_MotCtx, and NvMOT_RemoveStreams().
|
inline |
Process a batch of frames and return the current tracker output.
| [in] | framesInBatch | Source images and frame numbers keyed by stream ID. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | rois | Detection regions keyed by stream ID. |
| [in] | isDetectionDone | Indicates whether detection completed for this batch. |
| [in] | frameBatchNo | Frame-batch number used when batch-based frame IDs are enabled. |
Construct the input data.
Process a frame.
Definition at line 123 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References generateMotInputParams(), m_motInputParams, m_motOutputObjectsMeta, mp_MotCtx, _NvMOTTrackedObjBatch::numFilled, NvMOT_Process(), and NvMOTStatus_OK.
|
inline |
Process a batch of frames and return the current tracker output.
| [in] | framesInBatch | Source images and frame numbers keyed by stream ID. |
| [in] | numTransforms | Number of input transforms per frame. |
| [in] | rois | Detection regions keyed by stream ID. |
| [in] | isDetectionDone | Indicates whether detection completed for this batch. |
| [in] | frameBatchNo | Frame-batch number used when batch-based frame IDs are enabled. |
Construct the input data.
Process a frame.
Definition at line 123 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
References generateMotInputParams(), m_motInputParams, m_motOutputObjectsMeta, mp_MotCtx, _NvMOTTrackedObjBatch::numFilled, NvMOT_Process(), and NvMOTStatus_OK.
|
protected |
Requested tracker compute target.
Definition at line 508 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by DsLowLevelTracker(), and initializeLowLeveTracker().
|
protected |
Debug verbosity level.
Definition at line 510 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by generateMotInputParams(), and initialize().
|
protected |
Indicates whether the low-level tracker is initialized.
Definition at line 511 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by DsLowLevelTracker(), initialize(), and isInitialized().
|
protected |
Response to the tracker configuration request.
Definition at line 507 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by initializeLowLeveTracker().
|
protected |
Input batch submitted to the tracker.
Definition at line 504 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by allocateMotInputData(), deAllocateMotInputData(), DsLowLevelTracker(), generateMotInputParams(), getMotInputParams(), and update().
|
protected |
Miscellaneous tracker configuration.
Definition at line 505 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by initialize(), and initializeLowLeveTracker().
|
protected |
Current-frame output from the tracker.
Definition at line 503 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by allocateMotOutputData(), deAllocateMotOutputData(), DsLowLevelTracker(), and update().
|
protected |
Source image color format.
Definition at line 509 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by generateMotInputParams(), and initialize().
|
protected |
Selects frame-batch numbers instead of per-stream frame numbers.
Definition at line 512 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by generateMotInputParams().
|
protected |
Low-level tracker context.
Definition at line 506 of file sources/libs/nvmultiobjecttracker/include/modules/utility/DsLowLevelTracker.hpp.
Referenced by DsLowLevelTracker(), initializeLowLeveTracker(), removeStream(), update(), and ~DsLowLevelTracker().