joaofaro / KCFcpp

C++ Implementation of KCF Tracker
BSD 3-Clause "New" or "Revised" License
889 stars 445 forks source link

Getting peak_value > 1 #14

Open aseuteurideu opened 6 years ago

aseuteurideu commented 6 years ago

When I checked detect method's both double pv and float peak_value variables after peak_value = (float) pv; line, sometimes I got value more than 1.0 (mostly still less than 1.1 but can be higher). Have any idea what would be the problem?

Edit: it happens when HOG is set False

guyiyifeurach commented 5 years ago

cv::Point2f res = detect(_tmpl, getFeatures(image, 0, 1.0f), peak_value); I get peak_value,and it is really bigger than 1,in the case that HOG is false.I meet the same situation.