From 9e513d4995b52de717c6729b65ec457b2b07dc32 Mon Sep 17 00:00:00 2001 From: m15kh Date: Wed, 18 Dec 2024 19:03:35 +0000 Subject: [PATCH] update code --- alignment/coordinate_reg/image_infer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alignment/coordinate_reg/image_infer.py b/alignment/coordinate_reg/image_infer.py index a336221e8..0a693cd07 100644 --- a/alignment/coordinate_reg/image_infer.py +++ b/alignment/coordinate_reg/image_infer.py @@ -15,7 +15,7 @@ color = (200, 160, 75) for face in faces: lmk = face.landmark_2d_106 - lmk = np.round(lmk).astype(np.int) + lmk = np.round(lmk).astype(np.int64) for i in range(lmk.shape[0]): p = tuple(lmk[i]) cv2.circle(tim, p, 1, color, 1, cv2.LINE_AA)