return correction

This commit is contained in:
Mateusz Tylka 2023-01-29 18:58:45 +01:00
parent 58d2f6f83c
commit d28b8dbec4

View File

@ -19,7 +19,7 @@ def find_and_crop_face(data: np.ndarray) -> np.ndarray:
face = max(face, key=len) face = max(face, key=len)
(x, y, w, h) = face (x, y, w, h) = face
face = data[y:y + h, x:x + w] face = data[y:y + h, x:x + w]
return data return face
def compare_with_anime_characters(data: np.ndarray) -> int: def compare_with_anime_characters(data: np.ndarray) -> int: