Updated docstring

This commit is contained in:
kinaryml 2022-11-08 10:54:44 -08:00
parent 88ab9d4922
commit 647b94240d

View File

@ -176,8 +176,7 @@ class HandLandmarker(base_vision_task_api.BaseVisionTaskApi):
def create_from_model_path(cls, model_path: str) -> 'HandLandmarker': def create_from_model_path(cls, model_path: str) -> 'HandLandmarker':
"""Creates an `HandLandmarker` object from a TensorFlow Lite model and the default `HandLandmarkerOptions`. """Creates an `HandLandmarker` object from a TensorFlow Lite model and the default `HandLandmarkerOptions`.
Note that the created `HandLandmarker` instance is in image mode, for Note that the created `HandLandmarker` instance is in image mode, for detecting hand landmarks on single image inputs.
detecting hand landmarks on single image inputs.
Args: Args:
model_path: Path to the model. model_path: Path to the model.