mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
Update functions.py
This commit is contained in:
parent
16fa3c2969
commit
52ad8e46be
@ -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)
|
||||
|
||||
|
||||
# --------------------------------------------------
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user