kpzhang93 / MTCNN_face_detection_alignment

Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Neural Networks
MIT License
2.8k stars 1.01k forks source link

in generateBoundingBox function, why plus 1? #49

Open ZhiqiJiang opened 5 years ago

ZhiqiJiang commented 5 years ago

in generateBoundingBox function of the file generateBoundingBox.m, there is "boundingbox=[fix((stride(boundingbox-1)+1)/scale) fix((stride(boundingbox-1)+cellsize-1+1)/scale) score reg]". Then my question is why plus 1.

Thank you in advance.