You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
It looks like a false positive detection. Or not?
Another way to filter tracking errors:
track.IsRobust(4, // Minimal trajectory size
0.85f, // Minimal ratio raw_trajectory_points / trajectory_lenght
cv::Size2f(0.1f, 10.0f), // Min and max ratio: width / height
1) <---------------------- set here a small value
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
The text was updated successfully, but these errors were encountered: