deepface
deepface copied to clipboard
[FEATURE]: Better errors
Description
I would like to get better errors. Now error is descriptive and hard to detect what caused a problem to show meaningful message to end user.
Lets say it detected spoof im img1. It could return "error_code": "IMG1_SPOOF".
For bad file format "error_code": "IMG1_BAD_FORMAT". An so on.
Parsing returned exception with stack trace is not developer friendly ;)
Additional Info
No response
I cannot agree more