mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-15 09:33:44 -07:00
revert fix "face could be detected twice"
This commit is contained in:
parent
5ad4b1011c
commit
85cbdcd290
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class ExtractSubprocessor(Subprocessor):
|
||||||
elif rot == 270:
|
elif rot == 270:
|
||||||
rotated_image = image.swapaxes( 0,1 )[::-1,:,:]
|
rotated_image = image.swapaxes( 0,1 )[::-1,:,:]
|
||||||
|
|
||||||
rects = data.rects = self.e.extract (rotated_image, is_bgr=True, is_remove_intersects=True)
|
rects = data.rects = self.e.extract (rotated_image, is_bgr=True)
|
||||||
if len(rects) != 0:
|
if len(rects) != 0:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue