Skip to content

Commit

Permalink
Correct Face detection example
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhny007 committed Dec 16, 2017
1 parent 06d48a1 commit d4b3dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VideoExample.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ class FaceDetectorExample : public VideoExample
0.3f, // Delta time for Kalman filter
0.1f, // Accel noise magnitude for Kalman filter
0.8f, // Distance threshold between region and object on two frames
2 * m_fps, // Maximum allowed skipped frames
m_fps / 2, // Maximum allowed skipped frames
5 * m_fps // Maximum trace length
);

Expand Down Expand Up @@ -375,7 +375,7 @@ class PedestrianDetectorExample : public VideoExample

m_tracker = std::make_unique<CTracker>(m_useLocalTracking,
tracking::DistJaccard,
tracking::KalmanUnscented,
tracking::KalmanLinear,
tracking::FilterRect,
tracking::TrackKCF, // Use KCF tracker for collisions resolving
tracking::MatchHungrian,
Expand Down

0 comments on commit d4b3dea

Please sign in to comment.