Skip to content

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

Open
elliotverstraelen wants to merge 4 commits into
mainfrom
feature/error-states
Open

Fix #8 & Fix #15: Added error handling for invalid image format and face detection logic#21
elliotverstraelen wants to merge 4 commits into
mainfrom
feature/error-states

Conversation

@elliotverstraelen
Copy link
Copy Markdown
Collaborator

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
Copy link
Copy Markdown

vercel Bot commented May 20, 2024

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

@elliotverstraelen elliotverstraelen changed the title Fix #8: Added error handling for invalid image format and face detection logic Fix #8 & Fix #15: Added error handling for invalid image format and face detection logic May 20, 2024
@volesen
Copy link
Copy Markdown
Collaborator

volesen commented May 20, 2024

LGTM, is this ready to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants