Face Direction Identifier and Auto Face Flip

Details

Download Files

Model description

For a long time, in my attempts to improve my Face Swap Workflows, one thing that has always annoyed me is the need to flip the faces manually to match them. However, I didn't want that, I was trying to build a "production" workflow, with minimal human interaction needed.

So, I started looking for a way to identify which side the face was looking. I looked for it in every corner of the internet, and nothing. I thought It was unacceptable, and I started thinking about a workaround to solve this problem.

And this workflow is the result. A mad workflow that determines the nose position in the image, and using the X position and width of the nose, determines whether the face is looking left, center, or right.

As the title says, it's imperfect but works 90% of the time.

Images made by this model

No Images Found.