iperov / DeepFaceLab

DeepFaceLab is the leading software for creating deepfakes.
GNU General Public License v3.0
16.32k stars 11 forks source link

Somthing Wrong code in LandmarkProcessor #5208

Open Mombin opened 3 years ago

Mombin commented 3 years ago

Hi I looked out the code that you have updated recently. but some of your code confuse. in Landmarkprocessor I coding before your last commit like this. cv2.fillConvexPoly( hull_mask, cv2.convexHull( image_landmarks[48:68]), (1,) )

it work fine.

but currently I update your commit. you add the mouth Landmark like cv2.fillConvexPoly( hull_mask, cv2.convexHull( image_landmarks[60:]), (1,) )

Why did you set the landmark value to 60?

In Landmarkprocessor, line 129, you define mouth value 48:68 that I used. also you already used similar value in get_eye_mask.

which different between in eye and mouth value???

iperov commented 3 years ago

60: - teeth only