FirebaseMLVision Framework Reference

VisionPoint

classVisionPoint:NSObject

A 2D or 3D point in the image. A valid point must have both x and y coordinates. The point’scoordinates are in the same scale as the original image.

  • X coordinate. The value is float.

    Declaration

    Swift

    varx:NSNumber{get}
  • Y coordinate. The value is float.

    Declaration

    Swift

    vary:NSNumber{get}
  • Z coordinate (or depth). The value is float. Z is nil if it is a 2D point.

    Declaration

    Swift

    varz:NSNumber?{get}
  • Unavailable.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-02-11 UTC.