|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef NVMULTIOBJECTTRACKERLIB_NVTRAJECTORYMANAGER_HPP_
19 #define NVMULTIOBJECTTRACKERLIB_NVTRAJECTORYMANAGER_HPP_
29 #include <sys/syscall.h>
33 #include "modules/utility/debug_common.hpp"
34 #include "modules/NvMultiObjectTracker/NvTrackerParams.hpp"
35 #include "modules/NvMultiObjectTracker/NvTrackedObject.hpp"
36 #include "modules/NvMultiObjectTracker/NvMultiObjectTracker_common.hpp"
37 #include "modules/MultiViewAssociator/IMultiViewAssociator.hpp"
47 int m_maxProjTrajectoryLength4Matching;
48 int m_minOverlappedTrajectoryLength4Matching;
49 float m_iouAvgScaleFactor;
77 void read(
const YAML::Node &fn)
override;
194 std::uint_least32_t seed;
197 uint32_t bytes = syscall(SYS_getrandom, &seed,
sizeof(seed), 0);
203 if (bytes !=
sizeof(seed))
206 std::random_device rd;
211 std::mt19937_64 eng(seed);
214 std::uniform_int_distribution<uint64_t> distr;
217 prevId_ = distr(eng) << 32;
221 std::atomic<uint64_t> prevId_;
255 std::map<std::shared_ptr<NvTrackedObject>, std::shared_ptr<NvTrackedObject> > &toBeTerminated,
272 const NvMOTStreamId streamId,
const uint32_t currFrameNum,
const bool doPurge =
false
296 const std::vector<NvMOTStreamId>& streamIdsToAdd={},
const std::vector<NvMOTStreamId>& streamIdsToDel={}
375 std::atomic<uint64_t>
new_id{0};
398 {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}
452 const std::shared_ptr<NvTrackedObject> target,
453 std::map<std::shared_ptr<NvTrackedObject>, std::shared_ptr<NvTrackedObject>> &toBeFused
475 const std::list<TargetInfo> &tracklet,
int overrideShadowAge = -1
498 const std::list<TargetInfo> &newTraj,
const std::list<TargetInfo> &peerTraj,
509 const std::shared_ptr<NvTrackedObject> target, std::shared_ptr<NvTrackedObject> &bestMatchPeer
530 bool try3DReAssoc(
const std::shared_ptr<NvTrackedObject> newTarget);
539 const std::list<TargetInfo> &traj,
const std::list<TargetInfo> &peerTraj
550 const std::list<TargetInfo> &traj,
const std::list<TargetInfo> &peerTraj,
const float peerTrajCov
561 const std::list<TargetInfo> &traj,
const std::list<TargetInfo> &peerTraj,
const float peerTrajCov
586 const bool detectMotion(
const Eigen::Vector2f &vec,
float threshold);
594 std::shared_ptr<NvTrackedObject> targetToBeKept, std::shared_ptr<NvTrackedObject> targetToBeFused
605 const uint64_t targetId, std::map<uint64_t, Trajectory4Archive> &tracklets, std::set<uint64_t> &peersToBeDeleted
615 const std::list<TargetInfo> &tracklet,
const std::list<TargetInfo> &peerTracklet
625 const uint64_t targetId,
const uint64_t peerId, std::map<uint64_t, Trajectory4Archive> &tracklets
649 virtual void dumpVizTrajectories(
650 const std::shared_ptr<NvTrackedObject> curTarget,
651 std::map<std::shared_ptr<NvTrackedObject>, std::shared_ptr<NvTrackedObject> > &toBeTerminated
659 #endif // NVMULTIOBJECTTRACKERLIB_NVTRAJECTORYMANAGER_HPP_
bool m_enable3DReAssoc
Archive-only world-distance re-association, independent of m_enableReAssoc.
bool tryReAssoc(const std::shared_ptr< NvTrackedObject > target, std::map< std::shared_ptr< NvTrackedObject >, std::shared_ptr< NvTrackedObject >> &toBeFused)
Try to perform the re-assoc with the targets in the temporary DB that stores projected trajectories.
std::atomic< uint64_t > reid_score_valid
Pairs where reidMatchingScoreIsValid == true.
bool m_dumpTrajectoryTentative
Dump the tentative points in the trajectories.
const std::tuple< float, int, float, float, float, float > calculateSimilarityBtwTracklets(const std::list< TargetInfo > &traj, const std::list< TargetInfo > &peerTraj, const float peerTrajCov)
Calculate tracklet, direction, speed, and size similarity metrics.
float m_minSpeed4AngleChecking
Min. speed (pixels/frame) to check the angle difference using "m_maxAngle4TrackletMatching".
std::atomic< uint64_t > azbt_worlddist_lt1
Below-threshold archive candidates with world distance < 1.0 m.
std::atomic< uint64_t > az_score_hist[10]
std::atomic< uint64_t > candidates_seen
Total peer candidates iterated across all findMatch4ReAssoc calls.
const std::tuple< float, int, float, float, float > calculateAssocScore4QuasiDTW(const std::list< TargetInfo > &traj, const std::list< TargetInfo > &peerTraj, const float peerTrajCov)
Calculate quasi-DTW association metrics between two trajectories.
int m_targetIDOffset
Offset value for Target ID.
const uint64_t generateNewTargetID()
Generate a thread-safe target ID according to the configured ID mode.
const float computeAngleInDegree(const Eigen::Vector2f &vec1, const Eigen::Vector2f &vec2)
Compute the angle between the two tracklets direction [degree].
bool try3DReAssoc(const std::shared_ptr< NvTrackedObject > newTarget)
Perform archive-only world-distance and frame-gap re-association.
void archiveTrajectory(const std::shared_ptr< NvTrackedObject > target)
Store the trajectories of the terminated objects up to a certain time.
std::atomic< uint64_t > zs_bsim_ge70
Zero-score live-DB cands with bboxSim >= 0.7.
int m_maxInactiveDumpFrames
When dumpTrajectoryInactive is true, cap consecutive inactive frames dumped per gap (0 = no cap / dis...
std::atomic< uint64_t > ws_gap_100_200
Within-stream: frameGap [100, 200).
std::atomic< uint64_t > az_calls_no_archive
Archive map missing or empty at entry.
bool processTrajectory(const uint64_t targetId, const NvMOTStreamId streamId, std::list< TargetInfo > &tracklet)
Trim the tracklet by removing the last un-validated trajectory points.
bool m_dumpDetectorBboxes
Dump the detector bounding boxes instead of recovered bounding boxes.
std::list< TargetInfo > createProjectedTrajectories(const uint64_t targetId, const NvMOTStreamId streamId, const std::list< TargetInfo > &tracklet, int overrideShadowAge=-1)
Trim the tracklet by removing the last un-validated trajectory points and return the projected trajec...
std::atomic< uint64_t > ws_bsim_ge50
Within-stream worldDist-pass: bboxSim >= 0.50 (passes gate).
int m_prepLength4TrajectoryProjection
The length of the trajectory during which the state estimator is updated to make projections.
std::atomic< uint64_t > ws_gap_lt50
Within-stream: frameGap < 50.
float m_maxNmCascadeWorldDist
Max world-dist for nm cascade activation. 99.0 = no limit.
float m_minBboxSizeSimilarity4TrackletMatching
Min bbox size similarity for tracklet matching.
std::map< NvMOTStreamId, std::shared_ptr< ProjectedTrajectoryList > > m_projectedTrajectories
Temporary buffer of the projected trajectories to be re-associated.
const uint64_t peekNewTargetID() const
Return the next target ID without consuming it.
NvMotDataTypes::Rect2f m_srcImageBox
The tracker source image box.
std::atomic< uint64_t > ws_bsim_25_50
Within-stream worldDist-pass: 0.25 <= bboxSim < 0.50.
float m_maxWsExt25WorldDist
Within-stream extended-rescue upper limit.
bool findMatch4ReAssoc(const std::shared_ptr< NvTrackedObject > target, std::shared_ptr< NvTrackedObject > &bestMatchPeer)
Find the best live projected-trajectory match for a target.
void cleanUpArchivedTrajectories(const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)
Remove expired archived trajectories for all input streams.
virtual std::list< TargetInfo > getTrimmedTraj4ReAssoc(const std::list< TargetInfo > &newTraj, const std::list< TargetInfo > &peerTraj, const NvMOTFrameNum lastTrackedFrameNum_peer)
Get the trimmed new trajectory for reassociation with peer trajectory.
std::string m_trajectoryDumpFileName
Prefix to the filename where the archived trajectories are dumped to.
std::atomic< uint64_t > azbt_worlddist_4_5
Below-thresh archive cands with world dist in [4, 5)m.
void fuseArchivedTracklets(const uint64_t targetId, const uint64_t peerId, std::map< uint64_t, Trajectory4Archive > &tracklets)
Fuse the peer's tracklet into the target's.
std::atomic< uint64_t > proj_near_zero_vel
Live shadow projections where |imgVx|<0.5 AND |imgVy|<0.5 at prep-window end.
const bool getDumpDetectorBboxes()
Return whether detector bounding boxes are dumped.
std::atomic< uint64_t > ws_gap_50_100
Within-stream: frameGap [50, 100).
virtual ~NvTrajectoryManager()
Report statistics and destroy the trajectory manager.
std::map< NvMOTStreamId, std::shared_ptr< IMultiViewAssociator > > m_multiViewAssociators
Multi-view associators.
float m_minTrackletMatchingScore
Min tracklet similarity score for matching.
uint64_t peekNextId() const
Return the next ID without consuming it.
std::map< TrackerIndex, std::shared_ptr< NvTrackedObject > > NvTrackedObjectList
void removeFromProjectedTrajectoryDB(std::shared_ptr< NvTrackedObject > target)
Remove from the projected trajectory DB.
bool m_isOffline
Boolean to indicate if the trajectory manager is used for offline processing.
void dumpTrajectoryIntoFile(const NvMOTStreamId streamId, const TargetId targetId, const Trajectory4Archive &traj)
Dump the trajectory data into a file in a specified format.
const float computeSpeedSimilarity(const Eigen::Vector2f &vec1, const Eigen::Vector2f &vec2)
Compute the speed similarity between the two tracklets.
NvTrajectoryManager(const std::string &configFilePath)
Construct a trajectory manager from configuration.
float m_minMatchRatio4ValidTrackletDetermination
Tracklet will be considered to be valid if the ratio of valid matching is greater than or equal to th...
std::atomic< uint64_t > az_calls_total
Total findArchiveMatch4ReAssoc invocations.
float m_maxWorldDist4ArchiveReAssoc
Max world-plane distance (meters) for archive re-assoc fallback when IoU=0.
const std::string m_configFilePath
Config file path.
int m_maxFrameGap4WorldDistReAssoc
Max frame gap for archive world-dist re-assoc (0=unlimited).
std::atomic< uint64_t > lz_worlddist_3_4
Eligible live-DB cands with world dist in [3, 4)m.
std::atomic< uint64_t > zs_disp_50_100
Zero_score candidates with min peer-center distance in [50, 100)px.
void setSrcFrameInfo(const NvMotDataTypes::Rect2f originalSrcImageBox, const NvMotDataTypes::Rect2f srcImageBox)
Set source-frame geometry used for trajectory output.
std::atomic< uint64_t > az_bsim_lt50
Zero-score archive candidates with bboxSim < 0.5.
float m_minMatchingScore4Overall
Min matching score for overall.
std::atomic< uint64_t > reid_zs_04_05
Zero-tracklet pairs: reidScore [0.4, 0.5).
std::atomic< uint64_t > lz_worlddist_2_3
Eligible live-DB cands with world dist in [2, 3)m.
float m_minVisibility4TrajDump
Minimum visibility to dump a trajectory.
std::atomic< uint64_t > ws_gap_ge200
Within-stream: frameGap >= 200.
void fuseTracklets(std::shared_ptr< NvTrackedObject > targetToBeKept, std::shared_ptr< NvTrackedObject > targetToBeFused)
Fuse two tracklets.
std::atomic< uint64_t > azbt_worlddist_3_4
Below-thresh archive cands with world dist in [3, 4)m.
Class to generate unique IDs.
const bool detectMotion(const Eigen::Vector2f &vec, float threshold)
Detect if a tracklet is in motion, that is, if its speed is at least the threshold.
TrajectoryManagerOfflineParams m_offlineParams
Offline trajectory management.
uint64_t generateId()
Generate and consume the next unique ID.
float m_wsExt25StrictCosSim
Stricter cosine similarity for within-stream extended rescue from 3.0 m out to m_maxWsExt25WorldDist.
std::atomic< uint64_t > archive_zero_score
Archive candidates that passed temporal check but got trackletScore == 0.
std::atomic< uint64_t > zs_disp_0_50
Zero_score candidates with min peer-center distance < 50px.
std::atomic< uint64_t > ws_wd_15_2
Within-stream FAILED worldDist gate: [1.5, 2.0)m.
void add2ProjectedTrajectoryDB(std::shared_ptr< NvTrackedObject > target)
Add the projected trajectory to the temporary DB so that it can be re-associated.
float m_minBboxSizeSimilarity4ReAssocCS
CS bboxSim gate: rejects cross-camera archive candidates with bboxSim < threshold.
bool m_dumpTrajectoryInactive
Dump the inactive points in the trajectories.
std::atomic< uint64_t > inact_frames_41plus
Cap-skipped inactive frames at gap positions 41+.
virtual float calculateSizeSimilarityScore(const std::list< TargetInfo > &traj, const std::list< TargetInfo > &peerTraj)
Calculate bounding-box size similarity between two trajectories.
bool m_useUniqueID
Enables unique tracker IDs.
std::map< NvMOTStreamId, bool > m_isFileTrajectoryDumpCreated
Post-processing: dump trajectories into a file: only accessed in main thread.
int m_trajectoryProjectionLength
The length of the projected trajectory.
std::atomic< uint64_t > az_bsim_ge70
Zero-score archive cands with bboxSim >= 0.7.
std::atomic< uint64_t > lz_worlddist_1_2
Eligible live-DB cands with world dist in [1, 2)m.
float m_maxWorldDist4ArchiveReAssocCS
Meters. 0.0=disabled (use m_maxWorldDist4ArchiveReAssoc).
std::atomic< float > az_score_best
Running max archive candidate score across all findArchiveMatch4ReAssoc calls.
Stores a terminated target trajectory for archival output.
std::atomic< uint64_t > new_id
New IDs assigned (no re-assoc found).
std::map< NvMOTStreamId, std::shared_ptr< Trajectory4ArchiveList > > m_trajectoryArchive
Archive of past trajectories up to a configured age, modified on the main thread and read by workers.
std::map< NvMOTStreamId, std::shared_ptr< TrackedObjectsReidIndList > > m_trackedObjectsReidInd
Target's index in reid batch.
Manage target IDs, archived trajectories, and trajectory reassociation.
void assignTargetIDs(const NvTrackedObjectList &targetList, std::map< std::shared_ptr< NvTrackedObject >, std::shared_ptr< NvTrackedObject > > &toBeTerminated, const NvMOTTimeMeta &timeMeta)
Assign target IDs and set targetIDTimeStamp.
float m_wsExt25MinCosSim
Minimum cosine similarity for within-stream extended rescue between the world-distance gate and 3....
std::atomic< uint64_t > az_worlddist_ge5
Eligible arch cands with world dist >= 5.0m.
std::atomic< uint64_t > reid_ind_found
Pairs where the new target is in m_trackedObjectsReidInd.
std::map< NvMOTStreamId, std::shared_ptr< IEstimator2 > > m_trajProjector
Per-stream state estimator used to project trajectories for re-association.
std::atomic< uint64_t > inact_frames_21_30
Cap-skipped inactive frames at gap positions 21-30.
std::atomic< float > best_failing_score
Highest tracklet score that failed minMatchingScore4Overall threshold.
bool m_dumpTrajectoryQuasiActive
Dump the quasi-active points in the trajectories.
float m_minMatchingScore4ReidSimilarity
Min reid similarity score for re-assoc.
void updateParams(const YAML::Node &fn)
Update dynamic parameters during runtime.
std::atomic< uint64_t > az_calls_loop_empty
Archive had entries but all pre-filtered.
UIDGenerator m_uidGenerator
ID generator.
struct NvTrajectoryManager::ReAssocStats m_stats
Stores trajectory-reassociation counters.
std::atomic< uint64_t > az_calls_cand_failed
Had candidates but best score < threshold.
std::atomic< uint64_t > reassoc_success
Successful trajectory re-associations (tryReAssoc returned true).
NvTrackerParamsTrajectoryManager m_params
Config params for target management.
int m_debugVerboseLevel
Controls debug message verbosity.
float m_maxAngle4TrackletMatching
Max angle difference for tracklet matching [degree].
std::atomic< uint64_t > reid_zs_02_04
Zero-tracklet pairs: reidScore [0.2, 0.4).
std::atomic< uint64_t > reid_rescue_possible
Pairs where reidCanRescue == true.
Provides common loading helpers for tracker configuration parameters.
std::atomic< uint64_t > peer_reassoc_success
Successful peer/MVA re-associations.
std::map< std::shared_ptr< NvTrackedObject >, uint > TrackedObjectsReidIndList
float m_nmCascadeDecayRate
Near-miss cascade decay rate in 1/m.
std::atomic< uint64_t > db_empty_at_find
Of those, how many had an empty projTrajList (no shadow tracks in DB).
Store trajectory-manager configuration parameters.
std::atomic< uint64_t > ws_wd_2_3
Within-stream FAILED worldDist gate: [2.0, 3.0)m.
float m_trajectoryProjectionMeasurementNoiseScale
Trajectory projector's measurement noise scale w.r.t. state estimator.
int m_maxTrackletMatchingTimeSearchRange
The search space in time for max tracklet similarity.
bool m_checkClassMatch
Check class match for re-assoc (sourced from BaseConfig:checkClassMatch).
std::atomic< uint64_t > archive_reassoc
Subset of reassoc_success from archive (terminated-track) search.
std::atomic< uint64_t > db_add_calls
Times add2ProjectedTrajectoryDB was called (shadow tracks entering DB).
std::atomic< uint64_t > ws_passed
Within-stream candidates PASSING distance gate.
std::atomic< uint64_t > az_worlddist_lt1
Eligible archive candidates with world distance < 1.0 m.
std::atomic< uint64_t > zero_tracklet_score
Candidates that passed temporal check but got trackletScore == 0 (size gate or DTW all-zero).
float m_trackletSpacialSearchRegionScale
The search region scale for peer tracklet.
float m_maxWorldDist4ArchiveReAssocWS
Wider within-stream world-distance gate in meters; 0 uses m_maxWorldDist4ArchiveReAssoc.
bool m_dumpTrajectoryIntoFile
Dump the archived trajectories into a file for accuracy evaluation.
const NvTrackerParamsTrajectoryManager getParams()
Return a copy of trajectory-manager parameters.
std::atomic< uint64_t > below_thresh
Calls where best score > 0 but < minMatchingScore4Overall.
std::atomic< uint64_t > az_worlddist_4_5
Eligible arch cands with world dist in [4, 5)m.
std::map< uint64_t, NvMOTFrameNum > m_usedPeerTargetIds
Claimed peer target id mapped to the frame of the claim.
std::atomic< uint64_t > reid_zs_lt02
Zero-tracklet pairs: reidScore < 0.2.
void purgeArchivedTrajectories()
Purge all archived trajectories.
float m_trajectoryProjectionProcessNoiseScale
Trajectory projector's process noise scale w.r.t. state estimator.
bool m_enableVanishingTrackletReconstruction
Enable Vanishing Tracklet reconstruction.
std::atomic< uint64_t > zs_disp_200_plus
Zero_score candidates with min peer-center distance ≥ 200px.
void updateStreamIds(const std::vector< NvMOTStreamId > &streamIdsToAdd={}, const std::vector< NvMOTStreamId > &streamIdsToDel={})
Update per-stream trajectory state when streams are added or removed.
std::atomic< uint64_t > reid_zs_ge05
Zero-tracklet pairs: reidScore >= 0.5 (rescue threshold).
std::atomic< uint64_t > temporal_fail
Candidates failing temporal containment check (peer window doesn't span new track).
int calculateTrackletInclusionScore(const std::list< TargetInfo > &tracklet, const std::list< TargetInfo > &peerTracklet)
Calculate the number of duplicate bboxes between the two tracklets.
Defines the parameters that are specific to offline trajectory management.
float m_maxIou4AngleChecking
Max. IOU to compare angles for tracklet matching. If IOU is higher, angle checking is not performed.
std::atomic< uint64_t > ws_bsim_10_25
Within-stream worldDist-pass: 0.10 <= bboxSim < 0.25.
bool checkDuplicateTracklet(const uint64_t targetId, std::map< uint64_t, Trajectory4Archive > &tracklets, std::set< uint64_t > &peersToBeDeleted)
Check if the tracklet is a duplicate to another existing tracklet.
void resetIDs()
Reset the unique-ID generator with a new random prefix.
virtual std::deque< DetectedObjInfo > generateTrackedObjects4ReidPerStream(const NvMOTStreamId streamId, const NvTrackedObjectList &targetList)
Generate target detections that require ReID extraction for one stream.
void read(const YAML::Node &fn) override
Update trajectory-manager parameters from a YAML node.
std::atomic< uint64_t > az_bsim_50_70
Zero-score archive cands with bboxSim in [0.5, 0.7).
int m_minTrajectoryLength4Projection
Min trajectory length required to make projected trajectory.
std::atomic< uint64_t > zs_disp_100_200
Zero_score candidates with min peer-center distance in [100, 200)px.
float m_minSpeedSimilarity4TrackletMatching
Min speed similarity for tracklet matching.
void setMultiViewAssociators(std::map< NvMOTStreamId, std::shared_ptr< IMultiViewAssociator >> multiViewAssociators)
Set the multi-view associators.
void cleanUpArchivedTrajectories_perStream(const NvMOTStreamId streamId, const uint32_t currFrameNum, const bool doPurge=false)
Remove expired archived trajectories for one stream.
std::atomic< uint64_t > live_world_fallback
World-distance fallback fires in findMatch4ReAssoc.
bool findArchiveMatch4ReAssoc(const std::shared_ptr< NvTrackedObject > newTarget)
Fallback re-association against terminated tracks in m_trajectoryArchive.
float m_minVisibility4VanishingTrackletReconstruction
The projected object bboxes that have higher visibility than this would be appended to the Vanishing ...
std::atomic< uint64_t > inact_dumped
Inactive frames actually dumped.
float m_visibilityThreshold4VanishingTrackletDetection
If the visibility of the last projected tracklet gets lower than this, this tracklet will be consider...
std::atomic< uint64_t > ws_wd_3_5
Within-stream FAILED worldDist gate: [3.0, 5.0)m.
float m_matchingScoreWeight4ReidSimilarity
Weight for reid similarity score.
std::atomic< uint64_t > azbt_worlddist_1_2
Below-thresh archive cands with world dist in [1, 2)m.
bool m_enableReAssoc
Enable Re-Assoc.
NvMotDataTypes::Rect2f m_originalSrcImageBox
The original video source image box.
std::atomic< uint64_t > azbt_worlddist_nopos
Below-thresh archive cands with no valid world position.
std::map< NvMOTStreamId, std::ofstream > m_fileTrajectoryDump
Per-stream trajectory dump file, accessed only on the main thread.
std::atomic< uint64_t > az_worlddist_2_3
Eligible arch cands with world dist in [2, 3)m.
std::atomic< uint64_t > lz_worlddist_ge5
Eligible live-DB cands with world dist >= 5.0m.
std::atomic< uint64_t > lz_worlddist_4_5
Eligible live-DB cands with world dist in [4, 5)m.
float m_matchingScoreWeight4TrackletSimilarity
Weight for tracklet similarity score.
NvTrackerParamsTrajectoryManager()
Initialize trajectory-manager parameters with default values.
std::atomic< uint64_t > zs_bsim_lt50
Zero-score live-DB candidates with bboxSim < 0.5.
const float getMinVisibility4TrajDump()
Return the minimum visibility required for trajectory dumping.
std::map< std::shared_ptr< NvTrackedObject >, std::pair< std::list< TargetInfo >, float > > ProjectedTrajectoryList
const Trajectory4Archive & getArchivedTrajectory(const NvMOTStreamId videoStreamId, const uint64_t targetId)
Return an archived trajectory by stream and target ID.
float m_nmCascadeMaxCosSim
Near-miss cascade cosine-similarity plateau.
std::atomic< uint64_t > zs_bsim_50_70
Zero-score live-DB cands with bboxSim in [0.5, 0.7).
std::atomic< uint64_t > az_worlddist_3_4
Eligible arch cands with world dist in [3, 4)m.
int m_reidExtractionInterval
Frame interval to extract reid features per target.
float m_minInclusionRatio4DuplicateTrackletRemoval
Min inclusion ratio for Duplicate Tracklet Removal. 0.8 means 80%.
std::atomic< uint64_t > find_calls
Times findMatch4ReAssoc was called (tracks needing an ID).
std::atomic< uint64_t > lz_worlddist_lt1
Eligible live-DB candidates with world distance < 1.0 m.
void reset()
Reset the generator with a new random upper-ID prefix.
std::atomic< uint64_t > ws_wd_ge5
Within-stream FAILED worldDist gate: >= 5.0m.
std::atomic< uint64_t > az_worlddist_1_2
Eligible arch cands with world dist in [1, 2)m.
float m_nmCascadeMinCosSim
Near-miss cascade cosine similarity at the cross-stream gate.
Eigen::Vector2f m_scale2OriginalSourceCoordinates
The scale factor that converts to the width/height of the original source frame.
std::atomic< uint64_t > azbt_worlddist_ge5
Below-thresh archive cands with world dist >= 5.0m.
UIDGenerator()
Initialize the generator with a random upper-ID prefix.
std::atomic< uint64_t > archive_candidates
Archive entries attempted (non-reported, non-empty, gap > 0) in findArchiveMatch4ReAssoc.
std::atomic< uint64_t > inact_frames_31_40
Cap-skipped inactive frames at gap positions 31-40.
int m_maxAge4TrackletArchiving
The max age (i.e., frames) of the tracklets that are kept in the archive.
float m_minIou4DuplicateTrackletRemoval
Min iou between bboxes from two tracklets for duplication tracklet detection.
Renders and writes visual tracker debugging output.
bool m_isInit
Status if Params have been initialized.
std::atomic< uint64_t > azbt_worlddist_2_3
Below-thresh archive cands with world dist in [2, 3)m.
std::map< uint64_t, Trajectory4Archive > Trajectory4ArchiveList
std::atomic< uint64_t > archive_world_fallback
World-distance fallback fires in findArchiveMatch4ReAssoc.
std::atomic< uint64_t > ws_bsim_lt10
Within-stream worldDist-pass: bboxSim < 0.10.