volesen / kys

Know-your-student (kys)
https://verify.college
1 stars 0 forks source link

Fix #8 & Fix #15: Added error handling for invalid image format and face detection logic #21

Open elliotverstraelen opened 1 month ago

elliotverstraelen commented 1 month ago

This pull request addresses issue #8 by adding the following changes:

  1. Error Handling for Invalid Image Format:

    • Added a detect_faces function to handle face detection and potential errors.
    • Included specific handling for InvalidImageFormatException.
  2. Updated Session State Management:

    • Utilized SessionRepository to manage session states more efficiently.
    • Added new states for error handling (error-detecting-selfie-faces, error-detecting-student-id-faces, more-than-one-face).
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kys ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2024 1:10pm
volesen commented 1 month ago

LGTM, is this ready to merge?