Dear sirs,
I have tried to use the VLIB_haarDetectObjectsSparse(…) function. In first I use the integral image and classifier tree with pedestrian classifier from example folder. There was same number of outObjects wich contain the outObjLoc array from example file. Subtracting outObjLoc from inObjLoc I have got point list and have drew rectangles on the restored image(from yours integral image). You can see result on image below.
Then I took OpenCV trained classifier(face classifier), parse it and tried to build classifier tree (as in example file) and use it with VLIB_haarDetectObjectsSparse(…) function. It did not work.
Please, explain me several things:
1) How to use VLIB_haarDetectObjectsSparse(…) function?
2) Can I use OpenCV trained classifier with this function?
3) What did I do wrong trying to use example?
4) Is it right to obtain the Y & X positions as upper 16 bits for Y and lowe 16 bits for X of outObjects->objectPos as documentation say?