mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 22:34:25 -07:00
Update Extractor.py
repairing 'DLIBExtractor' object has no attribute 'extract'
This commit is contained in:
parent
8302051ae8
commit
57d1b89f6d
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class ExtractSubprocessor(Subprocessor):
|
|||
elif rot == 270:
|
||||
rotated_image = image.swapaxes( 0,1 )[::-1,:,:]
|
||||
|
||||
rects = data.rects = self.e.extract (rotated_image, is_bgr=True)
|
||||
rects = data.rects = self.e.extract_from_bgr (rotated_image)
|
||||
if len(rects) != 0:
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue