diff --git a/deepface/commons/functions.py b/deepface/commons/functions.py index 9dbe66a..7bf0e10 100644 --- a/deepface/commons/functions.py +++ b/deepface/commons/functions.py @@ -1,5 +1,4 @@ import os -from pathlib import Path import numpy as np import pandas as pd from keras.preprocessing.image import load_img, save_img, img_to_array @@ -291,4 +290,4 @@ def detectFace(img, target_size=(224, 224), grayscale = False): img_pixels /= 255 return img_pixels else: - raise ValueError("Face could not be detected in ", img,". Please confirm that the picture is a face photo.") \ No newline at end of file + raise ValueError("Face could not be detected in ", img,". Please confirm that the picture is a face photo.")