golunovas / mtcnn-cpp

C++ implementation of MTCNN
29 stars 20 forks source link

question about NUM_PTS and NUM_REGRESSIONS variable #9

Closed michaelnguyen11 closed 5 years ago

michaelnguyen11 commented 5 years ago

Hi Golunovas,

First of all, thank you for your hard work, this is a wonderful repository.

Could you please explain about 2 variable, what it stand for and why did you set it to : const int NUM_REGRESSIONS = 4; const int NUM_PTS = 5;

I researched many document and read MTCNN paper but I couldn't understand it.

Many thank in advance !

BRs, Michael

golunovas commented 5 years ago

Hi Michael,

To be precise, those variables are constants. NUM_PTS is a number of facial points. MTCNN searches for right and left eyes centers, nose tip, and right and left mouth corners. NUM_REGRESSORS is just a size of CNN's regression output. that output contains regression values for each bbox coordinate.

Best regards,

Alex

michaelnguyen11 commented 5 years ago

Hi Alex,

Thank you for you quick response.

I understood your repository deeper.

Thank you again.

BRs, Michael