S

Size: a a a
S
S
РК
АМ
S
РК
АМ
M
S
h
ПС
def detector(fullImagePath):
try:
image = cv2.imread(fullImagePath)
rgb = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
boxes = face_recognition.face_locations(rgb, model='cnn')
if len(boxes) == 0:
os.remove(fullImagePath)
except Exception as e:
logger.warning(f"{e}, {fullImagePath.split('/')[-1]}")
PZ
ПС
PZ
PZ
PZ
PZ
PZ
PZ