EagleEye
EagleEye copied to clipboard
Improved Error Handling and Feedback in Face Recognition Module
This pull request introduces several improvements to the face_recog.py
.
Added checks and error handling for the if
conditions, including:
- When no face encodings are found.
- When no match is found in the matches list.
- When the face label does not match the expected label.
- When the file specified by
tmp_path
does not exist. - When the operating system is not supported.
In addition, provided feedback to improve debugging process and visualizing the program flow. These changes improve overall reliability and usability.