You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, _validate_args() will log an error stating that a directory is not writeable if it does not exist.
While this is technically true, we should notify the users why the directory isn't writeable; notifying the user that the directory does not exist or the permissions are set to read-only is more helpful.
We should always strive to provide a positive user experience.
The text was updated successfully, but these errors were encountered:
doesn't check if the image path actually exists - this will result in a FileNotFoundError exception.
This is just one of many possible exceptions that need to be handled. The user should be informed that the image path they gave either does not exist, has permissions that prevents face-mask-detector from opening it, or has some other issue.
We need to catch every possible exception that can be raised and print a helpful error message to the user.
Currently,
_validate_args()
will log an error stating that a directory is not writeable if it does not exist.While this is technically true, we should notify the users why the directory isn't writeable; notifying the user that the directory does not exist or the permissions are set to read-only is more helpful.
We should always strive to provide a positive user experience.
The text was updated successfully, but these errors were encountered: