From e2faddced45bd3be0fa562ae62edee0220fca462 Mon Sep 17 00:00:00 2001 From: tangqy <121102723@qq.com> Date: Wed, 22 Jan 2025 18:17:08 +0800 Subject: [PATCH] update comments & readme --- nodes/textract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/textract.py b/nodes/textract.py index 68917c6..fb49d86 100644 --- a/nodes/textract.py +++ b/nodes/textract.py @@ -127,7 +127,7 @@ class ImageOCRByTextractV2: ori_image_path = folder_paths.get_annotated_filepath(image_input) pos_img_path = os.path.join(temp_img_path) - ## 转换ori_image为tensor张量 + ## Convert orignal image to tensor pil_image = Image.open(ori_image_path) transform = transforms.Compose([ transforms.ToTensor(), # Convert PIL Image to tensor and normalize pixel values to [0, 1]