The running mode of the task. Default to the image mode.
HolisticLandmarker has three running modes: 1) The image mode for
detecting holistic landmarks on single image inputs. 2) The video mode for
detecting holistic landmarks on the decoded frames of a video. 3) The live
stream mode for detecting holistic landmarks on the live stream of input
data, such as from camera. In this mode, the "result_callback" below must
be specified to receive the detection results asynchronously.
min_face_detection_confidence
The minimum confidence score for the face
detection to be considered successful.
min_face_suppression_threshold
The minimum non-maximum-suppression
threshold for face detection to be considered overlapped.
min_face_landmarks_confidence
The minimum confidence score for the face
landmark detection to be considered successful.
min_pose_detection_confidence
The minimum confidence score for the pose
detection to be considered successful.
min_pose_suppression_threshold
The minimum non-maximum-suppression
threshold for pose detection to be considered overlapped.
min_pose_landmarks_confidence
The minimum confidence score for the pose
landmark detection to be considered successful.
min_hand_landmarks_confidence
The minimum confidence score for the hand
landmark detection to be considered successful.
output_face_blendshapes
Whether HolisticLandmarker outputs face blendshapes
classification. Face blendshapes are used for rendering the 3D face model.
output_segmentation_mask
whether to output segmentation masks.
result_callback
The user-defined result callback for processing live stream
data. The result callback should only be specified when the running mode
is set to the live stream mode.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-01 UTC."],[],[],null,["# mp.tasks.vision.HolisticLandmarkerOptions\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/mediapipe/blob/master/mediapipe/tasks/python/vision/holistic_landmarker.py#L260-L346) |\n\nOptions for the holistic landmarker task.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`mp.tasks.vision.holistic_landmarker.HolisticLandmarkerOptions`](https://ai.google.dev/edge/api/mediapipe/python/edge/api/mediapipe/python/mp/tasks/vision/HolisticLandmarkerOptions)\n\n\u003cbr /\u003e\n\n mp.tasks.vision.HolisticLandmarkerOptions(\n base_options: ../../../mp/tasks/BaseOptions,\n running_mode: ../../../mp/tasks/vision/RunningMode = ../../../mp/tasks/vision/FaceDetectorOptions#running_mode,\n min_face_detection_confidence: float = 0.5,\n min_face_suppression_threshold: float = 0.5,\n min_face_landmarks_confidence: float = 0.5,\n min_pose_detection_confidence: float = 0.5,\n min_pose_suppression_threshold: float = 0.5,\n min_pose_landmarks_confidence: float = 0.5,\n min_hand_landmarks_confidence: float = 0.5,\n output_face_blendshapes: bool = False,\n output_segmentation_mask: bool = False,\n result_callback: Optional[Callable[[HolisticLandmarkerResult, image_module.Image, int], None]] = None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `base_options` | Base options for the holistic landmarker task. |\n| `running_mode` | The running mode of the task. Default to the image mode. HolisticLandmarker has three running modes: 1) The image mode for detecting holistic landmarks on single image inputs. 2) The video mode for detecting holistic landmarks on the decoded frames of a video. 3) The live stream mode for detecting holistic landmarks on the live stream of input data, such as from camera. In this mode, the \"result_callback\" below must be specified to receive the detection results asynchronously. |\n| `min_face_detection_confidence` | The minimum confidence score for the face detection to be considered successful. |\n| `min_face_suppression_threshold` | The minimum non-maximum-suppression threshold for face detection to be considered overlapped. |\n| `min_face_landmarks_confidence` | The minimum confidence score for the face landmark detection to be considered successful. |\n| `min_pose_detection_confidence` | The minimum confidence score for the pose detection to be considered successful. |\n| `min_pose_suppression_threshold` | The minimum non-maximum-suppression threshold for pose detection to be considered overlapped. |\n| `min_pose_landmarks_confidence` | The minimum confidence score for the pose landmark detection to be considered successful. |\n| `min_hand_landmarks_confidence` | The minimum confidence score for the hand landmark detection to be considered successful. |\n| `output_face_blendshapes` | Whether HolisticLandmarker outputs face blendshapes classification. Face blendshapes are used for rendering the 3D face model. |\n| `output_segmentation_mask` | whether to output segmentation masks. |\n| `result_callback` | The user-defined result callback for processing live stream data. The result callback should only be specified when the running mode is set to the live stream mode. |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `__eq__`\n\n __eq__(\n other\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Class Variables --------------- ||\n|--------------------------------|------------------------------------------|\n| min_face_detection_confidence | `0.5` |\n| min_face_landmarks_confidence | `0.5` |\n| min_face_suppression_threshold | `0.5` |\n| min_hand_landmarks_confidence | `0.5` |\n| min_pose_detection_confidence | `0.5` |\n| min_pose_landmarks_confidence | `0.5` |\n| min_pose_suppression_threshold | `0.5` |\n| output_face_blendshapes | `False` |\n| output_segmentation_mask | `False` |\n| result_callback | `None` |\n| running_mode | `\u003cVisionTaskRunningMode.IMAGE: 'IMAGE'\u003e` |\n\n\u003cbr /\u003e"]]