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

Optimized Code structure and readibility #1845

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ruhi47
Copy link

@ruhi47 ruhi47 commented Jun 19, 2024

Related Issues or bug

  • Code optimisation and readability

Fixes: # 1778[issue number that will be closed through this PR]

Proposed Changes

  • Optimized the face detection loop for improved performance.
  • Refined the preprocessing steps to enhance the accuracy of gender and age detection.
  • Improved code readability and added error handling for video capture and invalid face regions.

Additional Info

  • Added checks to ensure the face region is valid before performing predictions.

Screenshots

Original Updated
original screenshot **updated screenshot **

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.

1 participant