MLKitPoseDetection Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Constants
The following constants are available globally.
-
Optimized for single static images.
-
Optimized to expedite the processing of a streaming video by leveraging the results from previous
images.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["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-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003esingleImage\u003c/code\u003e constant is optimized for processing single, static images.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estream\u003c/code\u003e constant is optimized for processing streaming video by using data from previous images for faster results.\u003c/p\u003e\n"]]],["The provided content defines two constants for pose detection modes: `singleImage` and `stream`. `singleImage` is optimized for processing static images, while `stream` is designed for video streams, utilizing results from previous frames to improve processing speed. Both constants are globally available and accessible in Swift via declarations within the `MLKCommonPoseDetectorOptions` type definition.\n"],null,["# MLKitPoseDetection Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [singleImage](#/c:@MLKPoseDetectorModeSingleImage)\n\n `\n ` \n Optimized for single static images. \n\n #### Declaration\n\n Swift \n\n static let singleImage: /ml-kit/reference/swift/mlkitposedetection/api/reference/Type-Definitions#/c:MLKCommonPoseDetectorOptions.h@T@MLKPoseDetectorMode\n\n- `\n ``\n ``\n `\n\n ### [stream](#/c:@MLKPoseDetectorModeStream)\n\n `\n ` \n Optimized to expedite the processing of a streaming video by leveraging the results from previous\n images. \n\n #### Declaration\n\n Swift \n\n static let stream: /ml-kit/reference/swift/mlkitposedetection/api/reference/Type-Definitions#/c:MLKCommonPoseDetectorOptions.h@T@MLKPoseDetectorMode"]]