happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 650 forks source link

Bounding box regression in MTCNN #289

Closed twmht closed 5 years ago

twmht commented 5 years ago

Hi,

Where is the regression formula (https://github.com/happynear/caffe-windows/blob/ms/src/caffe/layers/predict_box_layer.cpp#L84) come from?

I can't find the regression formula in the MTCNN-paper https://kpzhang93.github.io/MTCNN_face_detection_alignment/index.html

happynear commented 5 years ago

This method is in his Matlab codes. The paper is too short to clearly define the formulations.

happynear commented 5 years ago

For the bounding_boxexp, it is the bounding box regression of RCNN series. Kaipeng's bounding box regression is different. His method starts from https://github.com/happynear/caffe-windows/blob/ms/src/caffe/layers/predict_box_layer.cpp#L91 .