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?
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.
When I checked
detect
method's bothdouble pv
andfloat peak_value
variables afterpeak_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