alew3 / faceit_live3

This is an update to faceit_live using first order model
366 stars 96 forks source link

Distorted face #9

Closed felartu closed 4 years ago

felartu commented 4 years ago

Hi,

I'm taking a picture of myself using my webcam, saving the picture into the /media file and then running the software and the end result is a distorted face even though both the source and the webcam feed are very very alike.

What affects the end result of the moving face?

alew3 commented 4 years ago

Try cropping your photo in a squared ratio 1:1, for example: 1000x1000

felartu commented 4 years ago

I have the photo in 1:1 ratio at 600px each side, still distorted when I move my face distorted

alew3 commented 4 years ago

@felartu try pressing 'C' to recenter the camera and look directly at the webcam. Did you have the same problem with other images?

felartu commented 4 years ago

Pressing 'C' reset it to the original picture but as soon as I move again it gets distorted. It happens with all images.

alew3 commented 4 years ago

Pressing 'C' reset it to the original picture but as soon as I move again it gets distorted. It happens with all images.

What's the resolution of your webcam? I'm downsampling to 640x480 to speed up processing, haven't tried the results on a webcam with a different aspect ratio (1.33 to 1) webcam...maybe this is causing the issue?

felartu commented 4 years ago

I got a Logitech C930 1080p HD camera to test, is the same result.

Perhaps it needs the source image face to be in a predetermined position? Does it work in dark rooms?