DFL-2.0 initial branch commit

This commit is contained in:
Colombo 2020-01-21 18:43:39 +04:00
commit 38b85108b3
154 changed files with 5251 additions and 9414 deletions

View file

@ -4,9 +4,10 @@ import struct
import cv2
import numpy as np
from core.interact import interact as io
from core.structex import *
from facelib import FaceType
from utils.struct_utils import *
from interact import interact as io
class DFLJPG(object):
def __init__(self):
@ -243,6 +244,7 @@ class DFLJPG(object):
source_landmarks=source_landmarks,
image_to_face_mat=image_to_face_mat,
fanseg_mask=fanseg_mask,
eyebrows_expand_mod=eyebrows_expand_mod,
relighted=relighted)
def remove_ie_polys(self):
@ -322,4 +324,3 @@ class DFLJPG(object):
return self.dfl_dict.get ('eyebrows_expand_mod', None)
def get_relighted(self):
return self.dfl_dict.get ('relighted', False)