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

Raise a warning/exception when num_poses>1 for Pose Landmarker #5842

Open
danielkonecny opened this issue Jan 27, 2025 · 1 comment
Open
Assignees
Labels
platform:python MediaPipe Python issues stat:awaiting googler Waiting for Google Engineer's Response task:pose landmarker Issues related to Pose Landmarker: Find people and body positions type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@danielkonecny
Copy link

MediaPipe Solution (you are using)

Pose Landmarker

Programming language

Python

Are you willing to contribute it

Yes

Describe the feature and the current behaviour/state

When a Pose Landmarker is initialized with options, num_poses can be provided to specify the maximum number of persons in the image, but the model itself only supports one person according to model info PDF. Currently, no warning or exception is raised when num_poses > 1 and this confuses users that expect more pose landmark estimations to be returned. This isn't even specified in the documentation.

Will this change the current API? How?

No.

Who will benefit with this feature?

All users that expect Pose Landmarker to support multiple people detection because of how the current API is written.

Please specify the use cases for this feature

Make more clear that Pose Landmarker only supports inference on an image with a single person.

Any Other info

No response

@danielkonecny danielkonecny added the type:feature Enhancement in the New Functionality or Request for a New Solution label Jan 27, 2025
@kuaashish kuaashish assigned kuaashish and unassigned kalyan2789g Jan 28, 2025
@kuaashish kuaashish added task:pose landmarker Issues related to Pose Landmarker: Find people and body positions platform:python MediaPipe Python issues labels Jan 28, 2025
@kuaashish
Copy link
Collaborator

Hi @danielkonecny,

Thank you for your request and clarification regarding this feature. We will discuss this with our team and inform you of any updates, including whether we will implement a warning or exception.

@schmidt-sebastian schmidt-sebastian self-assigned this Feb 5, 2025
@kuaashish kuaashish removed their assignment Feb 5, 2025
@kuaashish kuaashish added the stat:awaiting googler Waiting for Google Engineer's Response label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:python MediaPipe Python issues stat:awaiting googler Waiting for Google Engineer's Response task:pose landmarker Issues related to Pose Landmarker: Find people and body positions type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

4 participants