About Haar cascade detector generating
A question about feature generating.
In file apps/traincascade/haarfeatures.cpp
Line 145 - 158
The haar_3 horizontal feature should like this:
+-----+-----+-----+
| -1 | 1 | -1 |
+-----+-----+-----+
The code to generate haar_3 feature is
148 features.push_back( Feature( offset, false,
149 x, y, dx*3, dy, -1,
150 x+dx, y, dx , dy, +3 ) );
I think the +3 should be +2.
Who could answer me????
Thanks a lot!
Please submit a ticket at http://code.opencv.org/projects/opencv/issues then the developers will check it.