Skip to content

API Mismatch on newer versions of MediaPipe #21

Description

@ShauryaJain03

Hi @Wiktor-99 , thanks for sharing this package.
I ran into a runtime failure on a current Python/MediaPipe setup on ROS2 Humble: AttributeError: module 'mediapipe' has no attribute 'solutions'. I fought a lot of versioning issues with MediaPipe and Numpy to try and resolve this, but didn't get a clean solution.
So I migrated the node locally to PoseLandmarker using the new Tasks API, added the required model asset path handling, and the detector is working again on my setup.

Would you be open to a PR that replaces the legacy MediaPipe Solutions usage with PoseLandmarker?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions