---
title: minimumTextHeight
framework: vision
role: symbol
role_heading: Instance Property
path: vision/vnrecognizetextrequest/minimumtextheight
---

# minimumTextHeight

The minimum height, relative to the image height, of the text to recognize.

## Declaration

```swift
var minimumTextHeight: Float { get set }
```

## Discussion

Discussion Specify a floating-point number relative to the image height. For example, to limit recognition to text that’s half of the image height, use 0.5. Increasing the size reduces memory consumption and expedites recognition with the tradeoff of ignoring text smaller than the minimum height. The default value is 1/32, or 0.03125.

## See Also

### Customizing Recognition Constraints

- [recognitionLevel](vision/vnrecognizetextrequest/recognitionlevel.md)
- [VNRequestTextRecognitionLevel](vision/vnrequesttextrecognitionlevel.md)
