crop_face #1

Merged
s444409 merged 4 commits from crop_face into main 2023-01-29 21:15:22 +01:00
Showing only changes of commit d28b8dbec4 - Show all commits

View File

@ -19,7 +19,7 @@ def find_and_crop_face(data: np.ndarray) -> np.ndarray:
face = max(face, key=len)
(x, y, w, h) = face
s444409 marked this conversation as resolved
Review

x, y, w, h = face

`x, y, w, h = face`
face = data[y:y + h, x:x + w]
return data
return face
def compare_with_anime_characters(data: np.ndarray) -> int: