mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 12:35:22 +00:00
Update functions.py
This commit is contained in:
parent
6522fa7d02
commit
8d91ea2f21
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user