YYuanAnyVision / mxnet_mtcnn_face_detection

MTCNN face detection
738 stars 314 forks source link

different size for width and height #4

Closed kaishijeng closed 7 years ago

kaishijeng commented 7 years ago

Does the alignment and cropping allow different values for width and height? If yes, how to change it?

Thanls

YYuanAnyVision commented 7 years ago

it's possible, but the parameters in extract_face_chips function are learned from the data, which are all square images. the simplest way is crop the output image with whatever ratio you want ..