mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
face coordinate values casted to int
This commit is contained in:
parent
5bb411f3aa
commit
5603d5f44a
@ -82,10 +82,10 @@ class CenterFaceClient(Detector):
|
||||
# mouth_left = (int(landmark[8]), int(landmark [9]))
|
||||
|
||||
facial_area = FacialAreaRegion(
|
||||
x=x,
|
||||
y=y,
|
||||
w=w,
|
||||
h=h,
|
||||
x=int(x),
|
||||
y=int(y),
|
||||
w=int(w),
|
||||
h=int(h),
|
||||
left_eye=left_eye,
|
||||
right_eye=right_eye,
|
||||
confidence=min(max(0, float(confidence)), 1.0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user