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

Allow user to specify max number of poses to detect #357

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

Conversation

blaine141
Copy link

Allow users to specify max number of poses. This allows pose detection on images with more than 2 people

@@ -343,7 +343,7 @@ def get_colored_part_mask(
part_colors=part_colors
)

def get_poses(self) -> List[Pose]:
def get_poses(self, maxPoseDetections=10) -> List[Pose]:
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
def get_poses(self, maxPoseDetections=10) -> List[Pose]:
def get_poses(self, max_pose_detections: int = 2) -> List[Pose]:

@de-code
Copy link
Owner

de-code commented Jul 27, 2023

Thank you for the PR. Have you seen and increased number having a negative effect? Do you have example media files you tested it with? (with permissible license)
How did you use it?

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