mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
Extractor now produces a less shaked face. but second pass is now slower by 25%,
before/after: https://imgur.com/L77puLH
This commit is contained in:
parent
e013cb0f6b
commit
1de1e0029f
2 changed files with 37 additions and 14 deletions
|
@ -217,6 +217,7 @@ class ExtractSubprocessor(Subprocessor):
|
|||
else:
|
||||
face_idx = 0
|
||||
for rect, image_landmarks in zip( rects, landmarks ):
|
||||
|
||||
if src_dflimg is not None and face_idx > 1:
|
||||
#cannot extract more than 1 face from dflimg
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue