<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNRecognizedText",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNRecognizedText"
  },
  "title" : "VNRecognizedText"
}
-->

# VNRecognizedText

Text recognized in an image through a text recognition request.

```
class VNRecognizedText
```

## Overview

A single [`VNRecognizedTextObservation`](/documentation/Vision/VNRecognizedTextObservation) can contain multiple recognized text objects—one for each candidate.

## Topics

### Creating a Recognized Text Instance

[`init(coder:)`](/documentation/Vision/VNRecognizedText/init(coder:))

### Determining Recognized Text

[`string`](/documentation/Vision/VNRecognizedText/string)

The top candidate for recognized text.

[`confidence`](/documentation/Vision/VNRecognizedText/confidence)

A normalized confidence score for the text recognition result.

### Locating Recognized Text

[`boundingBox(for:)`](/documentation/Vision/VNRecognizedText/boundingBox(for:))

Calculates the bounding box around the characters in the range of a string.

[`boundingBoxForRange:error:`](/documentation/Vision/VNRecognizedText/boundingBoxForRange:error:)

Calculates the bounding box around the characters in the range of a string.



---

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)