crop_face #1

Merged
s444409 merged 4 commits from crop_face into main 2023-01-29 21:15:22 +01:00
Owner
No description provided.
s444498 added 3 commits 2023-01-29 19:01:31 +01:00
s444498 requested review from s444409 2023-01-29 20:31:16 +01:00
s444409 requested changes 2023-01-29 21:08:13 +01:00
s444409 left a comment
Collaborator

Pierdoly

Pierdoly
main.py Outdated
@ -8,14 +8,18 @@ import numpy as np
from source.cartoonize import Cartoonizer
Collaborator

Tutaj ta jedna linia powinna zostać - PEP mówi, że w global scope funkcje powinny być oddzielone dwoma pustymi liniami
PEP 8: E302 expected 2 blank lines, found 1

Tutaj ta jedna linia powinna zostać - PEP mówi, że w global scope funkcje powinny być oddzielone dwoma pustymi liniami `PEP 8: E302 expected 2 blank lines, found 1`
s444409 marked this conversation as resolved
@ -19,0 +17,4 @@
face_cascade = cv2.CascadeClassifier('haarcascades/haarcascade_frontalface_default.xml')
face = face_cascade.detectMultiScale(data_gray, 1.3, 4)
face = max(face, key=len)
(x, y, w, h) = face
Collaborator

x, y, w, h = face

`x, y, w, h = face`
s444409 marked this conversation as resolved
main.py Outdated
@ -24,3 +28,3 @@
def transfer_to_anime(ima: np.ndarray):
def transfer_to_anime(img: np.ndarray):
Collaborator

Not all heroes wear capes

Not all heroes wear capes
s444409 marked this conversation as resolved
s444498 added 1 commit 2023-01-29 21:14:33 +01:00
s444409 approved these changes 2023-01-29 21:15:17 +01:00
s444409 merged commit 5c087fdcf2 into main 2023-01-29 21:15:22 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: s444498/wko_anime-face-similarity#1
No description provided.