revert fix "face could be detected twice"

This commit is contained in:
Colombo 2019-10-14 19:11:49 +04:00
parent 5ad4b1011c
commit 85cbdcd290

View file

@ -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