Expose HandLandmarker API in PyPI packages.
PiperOrigin-RevId: 487294501
This commit is contained in:
parent
84895316d2
commit
4e568a1c3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user