Skip to content

Commit 2fc2a1a

Browse files
committed
Fixed example params
1 parent f3bfc4a commit 2fc2a1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

example/examples.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ class MotionDetectorExample : public VideoExample
5656
settings.m_matchType = tracking::MatchHungrian;
5757
settings.m_dt = 0.4f; // Delta time for Kalman filter
5858
settings.m_accelNoiseMag = 0.5f; // Accel noise magnitude for Kalman filter
59-
settings.m_distThres = frame.rows / 20.f; // Distance threshold between region and object on two frames
59+
settings.m_distThres = frame.rows / 10.f; // Distance threshold between region and object on two frames
6060

61-
settings.m_useAbandonedDetection = true;
61+
settings.m_useAbandonedDetection = false;
6262
if (settings.m_useAbandonedDetection)
6363
{
6464
settings.m_minStaticTime = minStaticTime;

0 commit comments

Comments
 (0)