---
title: "pointsInImage(imageSize:)"
framework: vision
role: symbol
role_heading: Instance Method
path: "vision/vnfacelandmarkregion2d/pointsinimage(imagesize:)"
---

# pointsInImage(imageSize:)

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

## Declaration

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

## Parameters

- `imageSize`: The pixel dimensions of the image in which to present landmark points.

## Return Value

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.
