Vision.SupportedRecognitionLanguages
------------------------------------

Queries supported languages.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Vision](component_Vision.md) | [9.4](newinversion94.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |

MBS( "Vision.SupportedRecognitionLanguages" { ; Recognition Levels } ) 

**MBS**( **"Vision.SupportedRecognitionLanguages";** /\* Queries supported languages. \*/  
**$Recognition Levels**) /\* Optional; Can be "Fast" or "Accurate".e.g. "Accurate" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Recognition Levels | Can be "Fast" or "Accurate". | "Accurate" | Optional |

### Result

Returns list or error.

### Description

Queries supported languages.  
Requires MacOS 10.15 or iOS 13.0 or newer.  
  
Returns en-US in macOS 10.15 and iOS 13.0.  
Returns en-US, fr-FR, it-IT, de-DE, es-ES and pt-BR in macOS 11.0 and iOS 14.0.  
Returns en-US, fr-FR, it-IT, de-DE, es-ES, pt-BR, zh-Hans, zh-Hant in macOS 12.0  
Returns en-US, fr-FR, it-IT, de-DE, es-ES, pt-BR, zh-Hans, zh-Hant, yue-Hans, yue-Hant, ko-KR, ja-JP, ru-RU, uk-UA in macOS 13.0 and iOS 16.0.  
  
Implemented Windows version for images via [WindowsOCR](component_WindowsOCR.md) functions in v13.1. See also [WindowsOCR.AvailableRecognizerLanguages](WindowsOCRAvailableRecognizerLanguages.md) function.  
### Examples

Queries language list for accurate mode:

 Set Field \[ Vision::Result ; MBS ( "Vision.SupportedRecognitionLanguages"; "Accurate") \]  
<small>  
Example result: "en-US"</small>Queries language list for fast mode:

 MBS ( "Vision.SupportedRecognitionLanguages"; "Fast" )  
### See also

- [WindowsOCR.Available](WindowsOCRAvailable.md)
- [WindowsOCR.AvailableRecognizerLanguages](WindowsOCRAvailableRecognizerLanguages.md)

### Release notes

- **Version 13.0**
    - Improved [Vision.SupportedRecognitionLanguages](https://www.mbsplugins.eu/VisionSupportedRecognitionLanguages.shtml) to report more languages.

### Example Databases

- [Mac and iOS/Vision](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Vision.shtml#5ScriptAnchor_)

### Blog Entries

- [MBS Plugin Advent calendar: 2 - Vision](https://www.mbsplugins.de/archive/2023-12-02/MBS_Plugin_Advent_calendar_2_-/monkeybreadsoftware_blog_filemaker)
- [OCR on Windows in FileMaker](https://www.mbsplugins.de/archive/2023-02-07/OCR_on_Windows_in_FileMaker/monkeybreadsoftware_blog_filemaker)
- [LiveText for Windows](https://www.mbsplugins.de/archive/2023-02-02/LiveText_for_Windows/monkeybreadsoftware_blog_filemaker)
- [Neue Funktionen des MBS FileMaker Plugin 9.4](https://www.mbsplugins.de/archive/2019-10-05/Neue_Funktionen_des_MBS_FileMa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2019 , last changed 22nd January 2023

  
[Vision.RectifyDocument](VisionRectifyDocument.md) - [Vision.SupportedSymbologies](VisionSupportedSymbologies.md)

[HTML Version](VisionSupportedRecognitionLanguages.shtml)