mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-11 15:47:01 -07:00
1
This commit is contained in:
parent
0c93b89e87
commit
60804ca3ba
3 changed files with 20 additions and 15 deletions
|
@ -156,6 +156,8 @@ class ExtractSubprocessor(Subprocessor):
|
|||
landmarks_extractor,
|
||||
rects_extractor,
|
||||
):
|
||||
h, w, ch = image.shape
|
||||
|
||||
if data.rects_rotation == 0:
|
||||
rotated_image = image
|
||||
elif data.rects_rotation == 90:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue