From 6ae4c2d8aa981f6465e8570ca10846e3d35e293c Mon Sep 17 00:00:00 2001 From: Yonghye Kwon Date: Mon, 25 Nov 2024 00:17:46 +0900 Subject: [PATCH] Modify batch processing example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed289b8..4b55137 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ if __name__ == '__main__': ```python images = [cv2.imread('sample.png'), Image.open('sample.png')] -keypoints = model(images) +batch_keypoints = model(images) for i, (img, keypoints) in enumerate(zip(images, batch_keypoints)): # Convert PIL Image to numpy array if needed