Skip to content

Conversation

@blaine141
Copy link

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

)

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