-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to crop the face #4
Comments
You mean to get face roi from the image? If so, the below code may help.
|
I mean when you finish the task of detecting and alignment of the given face.how can I crop the face acoording the bounding box and save the result before the task of the recognization of the face |
你是指分割出人脸吗? |
是的,就是把人脸分割出来,还有,这个仓库的代码能进行人脸对齐么,如果一个文件夹内很多人的图片,进行人脸对齐是按照第一个人的人脸进行对齐么 |
我只改写了人脸检测的部分,在matlab版本里面有对齐的部分,issue里有另一个同学添加了显示对齐部分的代码 |
https://github.com/kpzhang93/MTCNN_face_detection_alignment 亲,你说的matlab版本是这个么,我在里面怎么没找到人脸对齐部分的代码,我qq 1445033890,能加个qq指导下学渣么 |
哈哈,好喜欢这种一言不合就用中文的感觉 |
@ycsun19 可以用skimage的相似变换skimage.transform.estimate_transform('similarity',dst,src),参考https://github.com/ydwen/caffe-face/blob/caffe-face/face_example/extractDeepFeature.m 中用的相似变换处理mtcnn输出的五点 |
你好,对训练有点疑问,在训练的时候,每一个batch_size是只训练一种任务吗,比如分类或者box_reg,或者landmark。还是说每个batch_size里面,这几个任务都包含了,然后里面的数据分布是按照一定的比例来的。 |
how to crop the face
The text was updated successfully, but these errors were encountered: