hhj1897 / face_pose_augmentation

MIT License
116 stars 19 forks source link

Mirroring Effect in Result #14

Closed Mayur28 closed 1 year ago

Mayur28 commented 1 year ago

Hi,

I've been experimenting with the solution which seems to work fantastically most of the time, but I noticed that in some cases, the result exhibits a mirroring effect which I wanted to find out if you have any ideas on how to eliminate it. Please refer to the image attached below to see what I am referring to. Note that the blinking and mouth movements are a "perfect reflection" of the proper face.

image image

hhj1897 commented 1 year ago

This is likely because you tried to turn face toward the opposite direction. Please note the tool is only designed to make the face turn more toward the side, not less, nor to make it turn toward the opposite direction. Namely, if the detected yaw > 0, delta yaw should also > 0, and vice versa. In case if want to balance the distribution of yaw, you can add a random horizontal flip after using this tool.

Mayur28 commented 1 year ago

Understood, thank you for the clarification.