Thanks for your help.
It’s having this strange behavior that sometimes I’m able to register or detect a new face, but most of the times I get this error.
Also I tried to recognize a face using Postman and it doesn’t work, it gets stuck loading, so the Task Canceled Exception that I’m seeing is because a HttpClient.Timeout
.
Hopefully you may have an idea of what the problem is.
The stderr.txt has:
Process Process-2:
Traceback (most recent call last):
File “C:\DeepStack\intelligencelayer\shared\face.py”, line 186, in face
det = detector.predict(img, 0.55)
File “C:\DeepStack\intelligencelayer\shared.\process.py”, line 47, in predict
img0 = Image.open(img_path).convert(“RGB”)
File “C://DeepStack\windows_packages\PIL\Image.py”, line 2891, in open
fp = builtins.open(filename, “rb”)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\angel\AppData\Local\Temp\DeepStack\f3364380-2866-4fc9-9ee9-baeb357360eb’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py”, line 297, in _bootstrap
File “D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\process.py”, line 99, in run
File “C:\DeepStack\intelligencelayer\shared\face.py”, line 253, in face
except UnidentifiedImageError:
NameError: name ‘UnidentifiedImageError’ is not defined
Postman screenshot: