mirror of
https://github.com/serengil/deepface.git
synced 2025-06-09 12:57:08 +00:00
Linting
This commit is contained in:
parent
001e609a82
commit
53510f0584
@ -128,7 +128,9 @@ def detect_faces(
|
|||||||
angle=angle,
|
angle=angle,
|
||||||
size=(img.shape[0], img.shape[1])
|
size=(img.shape[0], img.shape[1])
|
||||||
)
|
)
|
||||||
detected_face = aligned_img[int(rotated_y1) : int(rotated_y2), int(rotated_x1) : int(rotated_x2)]
|
detected_face = aligned_img[
|
||||||
|
int(rotated_y1) : int(rotated_y2),
|
||||||
|
int(rotated_x1) : int(rotated_x2)]
|
||||||
|
|
||||||
result = DetectedFace(
|
result = DetectedFace(
|
||||||
img=detected_face,
|
img=detected_face,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user