<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VisionResult/detectTextRectangles(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision0A6ResultO20detectTextRectanglesyAcA06DetectdE7RequestV_SayAA0D11ObservationVGtcACmF"
  },
  "title" : "VisionResult.detectTextRectangles(_:_:)"
}
-->

# VisionResult.detectTextRectangles(_:_:)

A result from performing a detect text rectangles request.

```
case detectTextRectangles(DetectTextRectanglesRequest, [TextObservation])
```

---

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)