Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Face Detection Accuracy and Preprocessing in main.py and index.js #72

Open
2100031988 opened this issue Oct 10, 2024 · 4 comments · May be fixed by #85
Open

Improve Face Detection Accuracy and Preprocessing in main.py and index.js #72

2100031988 opened this issue Oct 10, 2024 · 4 comments · May be fixed by #85

Comments

@2100031988
Copy link

Description:
The current face detection logic in main.py does not perform well under certain lighting conditions and with images at extreme angles. This reduces the model's overall accuracy and negatively impacts the user experience.

Changes Required
I propose modifying the detection pipeline to include additional image preprocessing steps, such as:

  • Brightness normalization to handle low-light conditions( I will use opencv python library for enhancement)
  • Rotation correction to detect faces captured at different angles.(I will call a function to rotate the images for better angle and better quality of images)

These enhancements will improve detection accuracy, particularly in challenging conditions.

Affected Files:

  1. main.py: I want to update the face detection logic to incorporate new preprocessing steps before feeding images into the model.
  2. index.js: I also want to modify the frontend logic to ensure that the uploaded images are preprocessed (e.g., rotated if needed) before being sent to the backend for detection for more user friendly.
@devansh-shah-11
Copy link
Collaborator

sure - please go ahead and improvise on the accuracy!

@Devasy23
Copy link
Owner

If you require any help you may reach out to us

@2100031988
Copy link
Author

Yeah sure!...thanks

@Rohan20-10
Copy link

@Devasy23 @puwun please assign this issue to me.

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

Successfully merging a pull request may close this issue.

5 participants