Closed Gaebobman closed 1 year ago
Traceback (most recent call last): File "detect_user.py", line 37, in predict X_img = face_recognition.load_image_file(X_img_path) File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 86, in load_image_file im = PIL.Image.open(file) File "/usr/local/lib/python3.6/dist-packages/PIL/Image.py", line 3031, in open "cannot identify image file %r" % (filename if filename else fp) PIL.UnidentifiedImageError: cannot identify image file 'data/test_data/visitor.png'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "detect_user.py", line 138, in
아마 사진이 저장 완료 전에 Predict 를 하여 유발되는 예외로 추정됨, Timeout 을걸거나 추론 시도를 하지 않도록 수정해야 하겠음.
다음 Repository 에서 구현됨