From 6cc5cb481ce65194b343a9ce74e1b430451e1627 Mon Sep 17 00:00:00 2001 From: Matthew Mazzola Date: Sun, 3 Mar 2024 18:27:58 +0000 Subject: [PATCH] move import --- utilities.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utilities.py b/utilities.py index 38282a7..7a34cb9 100755 --- a/utilities.py +++ b/utilities.py @@ -4,6 +4,7 @@ import re import cv2 +import PIL.Image as Image from word2number import w2n @@ -193,9 +194,6 @@ def copy_dir(src_dir, dst_dir): copytree(src_dir, dst_dir) -import PIL.Image as Image - - def get_image_size(img_path): img = Image.open(img_path) width, height = img.size