<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNImageBasedRequest/regionOfInterest",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNImageBasedRequest(py)regionOfInterest"
  },
  "title" : "regionOfInterest"
}
-->

# regionOfInterest

The region of the image in which Vision will perform the request.

```
var regionOfInterest: CGRect { get set }
```

## Discussion

The rectangle is normalized to the dimensions of the processed image.  Its origin is specified relative to the image’s lower-left corner.

The default value is `{ { 0, 0 }, { 1, 1 } }`.

> Important:
> The request will fail to perform if you set this property to a rectangle outside the normalized coordinate space.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)