From 4e568a1c3df97d0cec345f48ff15b3090a8d7de5 Mon Sep 17 00:00:00 2001 From: Jiuqiang Tang Date: Wed, 9 Nov 2022 11:04:46 -0800 Subject: [PATCH] Expose HandLandmarker API in PyPI packages. PiperOrigin-RevId: 487294501 --- mediapipe/tasks/python/vision/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mediapipe/tasks/python/vision/__init__.py b/mediapipe/tasks/python/vision/__init__.py index 276433a49..4ff367f2b 100644 --- a/mediapipe/tasks/python/vision/__init__.py +++ b/mediapipe/tasks/python/vision/__init__.py @@ -16,12 +16,16 @@ import mediapipe.tasks.python.vision.core import mediapipe.tasks.python.vision.gesture_recognizer +import mediapipe.tasks.python.vision.hand_landmarker import mediapipe.tasks.python.vision.image_classifier import mediapipe.tasks.python.vision.image_segmenter import mediapipe.tasks.python.vision.object_detector GestureRecognizer = gesture_recognizer.GestureRecognizer GestureRecognizerOptions = gesture_recognizer.GestureRecognizerOptions +HandLandmarker = hand_landmarker.HandLandmarker +HandLandmarkerOptions = hand_landmarker.HandLandmarkerOptions +HandLandmarkerResult = hand_landmarker.HandLandmarkerResult ImageClassifier = image_classifier.ImageClassifier ImageClassifierOptions = image_classifier.ImageClassifierOptions ImageSegmenter = image_segmenter.ImageSegmenter @@ -33,6 +37,7 @@ RunningMode = core.vision_task_running_mode.VisionTaskRunningMode # Remove unnecessary modules to avoid duplication in API docs. del core del gesture_recognizer +del hand_landmarker del image_classifier del image_segmenter del object_detector