MTCNN_face_detection_alignment
MTCNN_face_detection_alignment copied to clipboard
Some questions about generateBoundingBox() function.
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.
Hey, I make another cpp version of mtcnn. Here is the repo.
I think it is reversed.
@DuinoDu I am wondered as well, do you have an answer?
@DuinoDu That drives me crazy, do you know why??
Maybe you can refer to python version.
Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32 @DuinoDu
Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32