Contents

pointsInImage(imageSize:)

Returns an array containing landmark points in the coordinate space of the specified image size.

Declaration

@nonobjc func pointsInImage(imageSize: CGSize) -> [CGPoint]

Parameters

  • imageSize:

    The pixel dimensions of the image in which to present landmark points.

Return Value

An array containing a CGPoint for each landmark the system detects in the image, expressed in the coordinate space of the specified image size.