Closed alfredtofu closed 8 years ago
We narrow images when we use opencv face detector. So we should get origin bbx (enlarge opencv return bbx). Please note the origin of image coordinate does not lie on image center.
Yep. You are right since you first resize the image
BTW, I still have some questions:
scale bbox code
I cannot understand why you do this. If you want to enlarge the bbox, It should be
center_x - width * scale / 2
instead ofx * scale
.