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

#446 Add image_face_count_filter and related tests #452

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

TobyJasper
Copy link
Contributor

#446

  1. New Operator: image_face_count_filter
  • Added the image_face_count_filter operator, which filters images based on the number of faces detected.
  • This operator helps users specify images that contain a desired number of faces, ensuring higher accuracy for face-related data processing tasks.
  1. Unit Tests:
  • Created unit tests for the image_face_count_filter operator to validate its functionality.
  • Added a sample test image img8.jpg containing four faces.
  1. Updates to StatsKeysConstant:
  • Extended the StatsKeysConstant class to include a new constant face_counts, which will store the number of faces detected in an image.

Copy link
Collaborator

@drcege drcege left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

@drcege drcege merged commit 539b12d into modelscope:main Oct 18, 2024
2 checks passed
@drcege drcege self-assigned this Oct 18, 2024
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