Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.

MediaPipeTasksVision Framework Reference

Enumerations

The following enumerations are available globally.

  • The delegate to run MediaPipe. If the delegate is not set, the default delegate CPU is used.

    Declaration

    Swift

    enum Delegate : UInt, @unchecked Sendable
  • @enum MPPTasksErrorCode This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

    Declaration

    Swift

    enum TasksErrorCode : UInt, @unchecked Sendable
  • The enum containing the 21 hand landmarks.

    Declaration

    Swift

    enum HandLandmark : UInt, @unchecked Sendable
  • The underlying type of the segmentation mask.

    Declaration

    Swift

    enum MaskDataType : UInt, @unchecked Sendable
  • MediaPipe vision task running mode. A MediaPipe vision task can be run with three different modes: image, video and live stream.

    Declaration

    Swift

    enum RunningMode : UInt, @unchecked Sendable

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年05月08日 UTC.