mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-14 02:37:00 -07:00
removing dflimg image_to_face_mat
This commit is contained in:
parent
5d819e3e83
commit
7c1ea1a617
3 changed files with 5 additions and 22 deletions
|
@ -225,6 +225,3 @@ class DFLJPG(object):
|
|||
def get_source_filename(self): return self.dfl_dict['source_filename']
|
||||
def get_source_rect(self): return self.dfl_dict['source_rect']
|
||||
def get_source_landmarks(self): return np.array ( self.dfl_dict['source_landmarks'] )
|
||||
def get_image_to_face_mat(self):
|
||||
mat = self.dfl_dict.get('image_to_face_mat', None)
|
||||
return np.array(mat) if mat is not None else None
|
Loading…
Add table
Add a link
Reference in a new issue