From 8d91ea2f21db294e342440c896cb182add58404d Mon Sep 17 00:00:00 2001 From: RayVik Date: Fri, 28 Apr 2023 19:03:57 +0300 Subject: [PATCH] Update functions.py --- deepface/commons/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/commons/functions.py b/deepface/commons/functions.py index 309f0d4..d04d71c 100644 --- a/deepface/commons/functions.py +++ b/deepface/commons/functions.py @@ -102,7 +102,7 @@ def load_image(img): # The image is a path if os.path.isfile(img) is not True: raise ValueError(f"Confirm that {img} exists") - + # For reading images with unicode names with open(img, "rb") as img_f: chunk = img_f.read()