1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.99k stars 1.34k forks source link

Can I use the " face_alignment " package to turn a profile face image into a front face? #135

Closed CXiaoDing closed 4 years ago

CXiaoDing commented 5 years ago

I run the example——detect_landmarks_in_image.py, and I can get the face landmarks of a profile face image, but I want to get the front face image. Can I get it by using these landmarks? Thank you !!! @1adrianb @xerus @jeongyoonlee @ashafaei @mihanlg

zalo commented 5 years ago

Here's a quickie example for extracting Face Chips using this and OpenCV.

https://gist.github.com/zalo/fa4396ae7a72b7683888fd9cd1c6d920 image

CXiaoDing commented 5 years ago

@zalo thank you very much! But I run the example in https://gist.github.com/zalo/fa4396ae7a72b7683888fd9cd1c6d920 and I found if the raw image is profile face, the result is also a profile face image. Is there any way to change a profile face to a frontal face? thank you!

c1a1o1 commented 5 years ago

@zalo I can't open https://gist.github.com/zalo/fa4396ae7a72b7683888fd9cd1c6d920 ????

xiao-keeplearning commented 5 years ago

@zalo 我无法打开https://gist.github.com/zalo/fa4396ae7a72b7683888fd9cd1c6d920 ???? You may need proxy

EricHallahan commented 5 years ago

Is there any way to change a profile face to a frontal face?

No.