mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
small fixed and refactorings
This commit is contained in:
parent
d6a45763a2
commit
f3b343c0e5
9 changed files with 479 additions and 170 deletions
|
@ -63,7 +63,7 @@ def add_landmarks_debug_images(input_path):
|
|||
|
||||
if img is not None:
|
||||
face_landmarks = dflimg.get_landmarks()
|
||||
img = LandmarksProcessor.draw_landmarks(img, face_landmarks, transparent_mask=True)
|
||||
LandmarksProcessor.draw_landmarks(img, face_landmarks, transparent_mask=True)
|
||||
|
||||
output_file = '{}{}'.format( str(Path(str(input_path)) / filepath.stem), '_debug.jpg')
|
||||
cv2_imwrite(output_file, img, [int(cv2.IMWRITE_JPEG_QUALITY), 50] )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue