diff --git a/mainscripts/Extractor.py b/mainscripts/Extractor.py index 30e464a..2777d6b 100644 --- a/mainscripts/Extractor.py +++ b/mainscripts/Extractor.py @@ -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