From b19295c2ec423a00f6139fcd468daa3dd774a034 Mon Sep 17 00:00:00 2001 From: stormcenter <18633108@qq.com> Date: Thu, 4 Apr 2024 09:32:10 +0800 Subject: [PATCH] for vid2pose parames issue --- scripts/vid2pose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vid2pose.py b/scripts/vid2pose.py index c3a4281..71ce888 100644 --- a/scripts/vid2pose.py +++ b/scripts/vid2pose.py @@ -36,7 +36,7 @@ kps_results = [] for i, frame_pil in enumerate(tqdm(frames)): image_np = cv2.cvtColor(np.array(frame_pil), cv2.COLOR_RGB2BGR) - image_np = cv2.resize(image_np, (height, width)) + image_np = cv2.resize(image_np, (width, height)) face_result = lmk_extractor(image_np) try: lmks = face_result['lmks'].astype(np.float32)