Skip to content

some tracked objects flying? #445

@xinsuinizhuan

Description

@xinsuinizhuan

when i set the settings.m_maxTraceLength long, the object disable will fly

TrackerSettings settings;
settings.SetDistance(tracking::DistRects);
settings.m_kalmanType = tracking::KalmanLinear;
settings.m_filterGoal = tracking::FilterCenter;
settings.m_lostTrackType = tracking::TrackNone; // Use visual objects tracker for collisions resolving. Used if m_filterGoal == tracking::FilterRect
settings.m_matchType = tracking::MatchHungrian;
settings.m_useAcceleration = false; // Use constant acceleration motion model
settings.m_dt = settings.m_useAcceleration ? 0.05f : 0.5f; // Delta time for Kalman filter
settings.m_accelNoiseMag = 0.1f; // Accel noise magnitude for Kalman filter
settings.m_distThres = 0.95f; // Distance threshold between region and object on two frames
settings.m_minAreaRadiusPix = -1.f;
settings.m_minAreaRadiusK = 0.8f;
settings.m_useAbandonedDetection = false;
settings.m_maximumAllowedSkippedFrames = cvRound(2 * m_videofps); // Maximum allowed skipped frames
settings.m_maxTraceLength = cvRound(40 * m_videofps); // Maximum trace length

图片

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions