1 | initial version |
After digging into OpenCV's source code, I finally obtain answers to my own questions.
node.left node.right node.featureIdx node.threshold
I'm not sure what's node.left and node.right are for as I can't see them being called anywhere.
float ret = rect[0].weight * CALC_SUM(p[0], _offset) + rect[1].weight * CALC_SUM(p[1], _offset);