Ask Your Question

GangCheng's profile - activity

2013-10-02 05:18:38 -0600 received badge  Good Question (source)
2013-07-09 10:24:47 -0600 received badge  Nice Question (source)
2013-07-09 09:47:07 -0600 received badge  Student (source)
2013-07-09 08:44:25 -0600 received badge  Editor (source)
2013-07-09 08:30:53 -0600 asked a question A bug about HOG Algorithm

I found a bug when I apply HOG Algorithm of OPENCV 2.4.0 to detect pedestrian. The foundLocations of its outputs are right, while it outputs wrong foundWeights. I believe it can be debuged by following changes. Add "weights.clear();" at the beginning of "HOGDescriptor::detect(const Mat& img, vector<point>& hits, vector<double>& weights, double hitThreshold, Size winStride, Size padding, const vector<point>& locations) const" in hog.cpp.