Commit 7b1068d8 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #351 from sunglok:bugfix_trackerMIL

parents 52a11379 4a64d570
......@@ -71,9 +71,9 @@ class TrackerMILImpl : public TrackerMIL
TrackerMIL::Params::Params()
{
samplerInitInRadius = 3;
samplerTrackInRadius = 4;
samplerSearchWinSize = 25;
samplerInitMaxNegNum = 65;
samplerTrackInRadius = 4;
samplerTrackMaxPosNum = 100000;
samplerTrackMaxNegNum = 65;
featureSetNumFeatures = 250;
......@@ -83,7 +83,7 @@ void TrackerMIL::Params::read( const cv::FileNode& fn )
{
samplerInitInRadius = fn["samplerInitInRadius"];
samplerSearchWinSize = fn["samplerSearchWinSize"];
samplerInitInRadius = fn["samplerInitInRadius"];
samplerInitMaxNegNum = fn["samplerInitMaxNegNum"];
samplerTrackInRadius = fn["samplerTrackInRadius"];
samplerTrackMaxPosNum = fn["samplerTrackMaxPosNum"];
samplerTrackMaxNegNum = fn["samplerTrackMaxNegNum"];
......@@ -94,7 +94,7 @@ void TrackerMIL::Params::write( cv::FileStorage& fs ) const
{
fs << "samplerInitInRadius" << samplerInitInRadius;
fs << "samplerSearchWinSize" << samplerSearchWinSize;
fs << "samplerInitInRadius" << samplerInitInRadius;
fs << "samplerInitMaxNegNum" << samplerInitMaxNegNum;
fs << "samplerTrackInRadius" << samplerTrackInRadius;
fs << "samplerTrackMaxPosNum" << samplerTrackMaxPosNum;
fs << "samplerTrackMaxNegNum" << samplerTrackMaxNegNum;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment