AI-generated Key Takeaways
-
MLImageis a class specifically designed for on-device machine learning tasks. -
Vision3DPointandVisionPointrepresent points in an image, withVision3DPointoffering three-dimensional coordinates. -
VisionImageis a versatile class that can handle both images and image buffers, serving as input for vision detection processes.
Classes
The following classes are available globally.
-
An image used in on-device machine learning.
Declaration
Swift
class MLImage : NSObject -
A three-dimensional point in an image. The point’s coordinates have the same scale as the original image.
Declaration
Swift
class Vision3DPoint : VisionPoint -
An image or image buffer used for vision detection.
Declaration
Swift
class VisionImage : NSObject, MLKitCompatibleImage -
A point in an image. The point’s coordinates have the same scale as the original image.
Declaration
Swift
class VisionPoint : NSObject