From 52ad8e46bec7b5100a2983b375573e1154174ccf Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 29 Apr 2023 17:37:54 +0100 Subject: [PATCH] Update functions.py --- deepface/commons/functions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deepface/commons/functions.py b/deepface/commons/functions.py index fe2c002..562e816 100644 --- a/deepface/commons/functions.py +++ b/deepface/commons/functions.py @@ -109,11 +109,10 @@ def load_image(img): chunk_arr = np.frombuffer(chunk, dtype=np.uint8) img = cv2.imdecode(chunk_arr, cv2.IMREAD_COLOR) return img - + # This causes troubles when reading files with non english names # return cv2.imread(img) - # --------------------------------------------------