Raise a warning/exception when num_poses>1 for Pose Landmarker #5842
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
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
The text was updated successfully, but these errors were encountered: