MTCNN_face_detection_alignment icon indicating copy to clipboard operation
MTCNN_face_detection_alignment copied to clipboard

Some questions about generateBoundingBox() function.

Open DuinoDu opened this issue 8 years ago • 7 comments

Hey, thanks for your excellent job! I have one question about generateBoundingBox.m

    [y x]=find(map>=t);
    a=find(map>=t); 
    if size(y,1)==1
        y=y';x=x';score=map(a)';dx1=dx1';dy1=dy1';dx2=dx2';dy2=dy2';
    else
        score=map(a);
    end

When size(y,1)==1, there is only one point found in map. So why do you transpose those variables?

BTW, I implement mtcnn in python. Here is the repo.

Thanks.

DuinoDu avatar Oct 24 '16 03:10 DuinoDu

Hey, I make another cpp version of mtcnn. Here is the repo.

DuinoDu avatar Nov 29 '16 10:11 DuinoDu

I think it is reversed.

whcjb avatar Jan 25 '18 02:01 whcjb

@DuinoDu I am wondered as well, do you have an answer?

KLH1472 avatar Oct 07 '18 08:10 KLH1472

@DuinoDu That drives me crazy, do you know why??

KLH1472 avatar Oct 07 '18 08:10 KLH1472

Maybe you can refer to python version.

DuinoDu avatar Oct 20 '18 02:10 DuinoDu

Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 @DuinoDu

KLH1472 avatar Oct 20 '18 02:10 KLH1472

Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32

KLH1472 avatar Oct 20 '18 02:10 KLH1472