Platforms to show: All Mac Windows Linux Cross-Platform
Back to VNRecognizeTextRequestMBS class.
VNRecognizeTextRequestMBS.indeterminate as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A value of true doesn't mean that the request will run forever. Rather, it means that the nature of the request can't be broken down into identifiable fractions to report. The progressHandler will still be called at suitable intervals.
(Read only property)
VNRecognizeTextRequestMBS.minimumTextHeight as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specify a floating-point number relative to the image height. For example, to limit recognition to text that is 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.
(Read and Write property)
VNRecognizeTextRequestMBS.recognitionLevel as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The recognition level determines which techniques are used during the text recognition. Set this value to RecognitionLevelFast to prioritize speed over accuracy, and to RecognitionLevelAccurate for longer, more computationally intensive recognition.
(Read and Write property)
Some examples using this property:
VNRecognizeTextRequestMBS.usesLanguageCorrection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When this Boolean is set to true, Vision applies language correction during the recognition process. Disabling this property returns the raw recognition results, which provides performance benefits but less accurate results.
(Read and Write property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.