Skip to content

Drawing utils functions from solutions no longer available #6206

Description

@ocanevet

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

Linux

MediaPipe Tasks SDK version

0.10.31

Task name (e.g. Image classification, Gesture recognition etc.)

Tasks with landmarks and connection between them

Programming Language and version (e.g. C++, Python, Java)

Python

Describe the actual behavior

Drawing functions no longer available

Describe the expected behaviour

Functions exposed to draw the result of detectors

Standalone code/steps you may have used to try to get what you need

The Python notebooks and Raspberry Pi examples are no longer working due to drawing function no longer exposed

Other info / Complete Logs

Since the mediapipe.solutions module is no longer available, the drawing functions such as solutions.drawing_utils.draw_landmarks are no longer available, which was useful to plot the output of the hand landmark and the face landmark detectors. Is there any plans to make them available again? It will be more convenient than doing it ourselves with the mediapipe.tasks.python.vision.face_landmarker.FACE_LANDMARKS_TESSELATION or mediapipe.tasks.python.vision.hand_landmarker.HandLandmarksConnections.

The notebook on face landmarks and on gesture recognonition are no longer working because of mediapipe.solutions no longer present.

Metadata

Metadata

Labels

os:linux-non-armIssues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.platform:pythonMediaPipe Python issuestask:hand landmarkerIssues related to hand landmarker: Identify and track hands and fingerstype:supportGeneral questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions