How align face?

asked 2019-01-22 07:33:52 -0500

Sartogersofortotropher gravatar image

Align the eyes and mouth so that they are approximately in the same position in the image.

image description

edit retag flag offensive close merge delete



I found some time ago some code on pyimagesearch - that adrian guy gave a solution for this. And if i remember right - i think the faceident module of opencv does similar stuff. I think dlib and landmarks were involved. But i guess a quick googling will let you even find working code for this.

holger gravatar imageholger ( 2019-01-22 10:38:36 -0500 )edit

Here is link: face align

supra56 gravatar imagesupra56 ( 2019-01-22 13:04:43 -0500 )edit

Yes this is the opencv version of the problem. Thank you for link,

holger gravatar imageholger ( 2019-01-22 13:09:35 -0500 )edit

on pyimagesearch is not right for you

supra56 gravatar imagesupra56 ( 2019-01-22 14:24:18 -0500 )edit

Here is the aforementioned pyimagesearch link. It uses both OpenCV and Dlib

phillity gravatar imagephillity ( 2019-01-22 18:02:13 -0500 )edit

It written in python , not c++

supra56 gravatar imagesupra56 ( 2019-01-22 20:21:35 -0500 )edit

thank you philli

holger gravatar imageholger ( 2019-01-23 12:51:46 -0500 )edit