WindowsOCR.Result
-----------------

Queries a JSON with result of the OCR.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsOCR](component_WindowsOCR.md) | [13.1](newinversion131.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "WindowsOCR.Result"; OCR ) 

**MBS**( **"WindowsOCR.Result";** /\* Queries a JSON with result of the OCR. \*/  
**$OCR**) /\* The reference number of the ocr engine. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| OCR | The reference number of the ocr engine. | $ocr |

### Result

Returns JSON or error.

### Description

Queries a JSON with result of the OCR.  
This includes entries like Text, TextAngle, LineCount, TextLines and Lines. Lines contains an array with objects with Text, WordCount and Words. Each word object has Text, X, Y, Width and Height.  
  
See also [OCR.GetTextAsJSON](OCRGetTextAsJSON.md) for cross platform [OCR](component_OCR.md) functions and [Vision.RecognizeTextJSON](VisionRecognizeTextJSON.md) for macOS/iOS text recognition.  
### Examples

Query JSON:

 Set Variable \[$result ; Value: MBS ( "WindowsOCR.Result"; $OCR ) \]  
<small>  
Example result:   
{ "Text" : "MBS Plugin for Claris FileMaker Over 6,900 functions to extend FileMaker" , "TextAngle" : 0 , "LineCount" : 2 , "Lines" : \[ { "Text" : "MBS Plugin for Claris FileMaker" , "WordCount" : 5 , "X" : 101 , "Y" : 54 , "Width" : 559 , "Height" : 32 , "Words" : \[ { "Text" : "MBS" , "X" : 101 , "Y" : 55 , "Width" : 74 , "Height" : 25 }, { "Text" : "Plugin" , "X" : 190 , "Y" : 54 , "Width" : 109 , "Height" : 32 }, { "Text" : "for" , "X" : 312 , "Y" : 54 , "Width" : 51 , "Height" : 26 }, { "Text" : "Claris" , "X" : 375 , "Y" : 54 , "Width" : 99 , "Height" : 26 }, { "Text" : "FileMaker" , "X" : 488 , "Y" : 54 , "Width" : 172 , "Height" : 26 } \] }, { "Text" : "Over 6,900 functions to extend FileMaker" , "WordCount" : 6 , "X" : 110 , "Y" : 122 , "Width" : 541 , "Height" : 26 , "Words" : \[ { "Text" : "Over" , "X" : 110 , "Y" : 123 , "Width" : 62 , "Height" : 21 }, { "Text" : "6,900" , "X" : 182 , "Y" : 123 , "Width" : 73 , "Height" : 25 }, { "Text" : "functions" , "X" : 265 , "Y" : 122 , "Width" : 118 , "Height" : 22 }, { "Text" : "to" , "X" : 393 , "Y" : 124 , "Width" : 25 , "Height" : 20 }, { "Text" : "extend" , "X" : 429 , "Y" : 123 , "Width" : 86 , "Height" : 21 }, { "Text" : "FileMaker" , "X" : 529 , "Y" : 123 , "Width" : 122 , "Height" : 21 } \] } \], "TextLines" : "MBS Plugin for Claris FileMaker\\rOver 6,900 functions to extend FileMaker\\r" } </small>### See also

- [OCR.GetText](OCRGetText.md)
- [OCR.GetTextAsJSON](OCRGetTextAsJSON.md)
- [Vision.RecognizeText](VisionRecognizeText.md)
- [Vision.RecognizeTextJSON](VisionRecognizeTextJSON.md)
- [WindowsOCR.List](WindowsOCRList.md)
- [WindowsOCR.Release](WindowsOCRRelease.md)
- [WindowsOCR.Text](WindowsOCRText.md)

### Blog Entries

- [MBS FileMaker Advent calendar - Door 20 - Scan and Recognize](https://www.mbsplugins.de/archive/2024-12-20/MBS_FileMaker_Advent_calendar_/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 5 - WindowsOCR](https://www.mbsplugins.de/archive/2023-12-05/MBS_Plugin_Advent_calendar_5_-/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [OCR on Windows in FileMaker](https://www.mbsplugins.de/archive/2023-02-07/OCR_on_Windows_in_FileMaker/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2023, Seite 28](https://filemaker-magazin.de/neuigkeit/4223-Appetithappen-FMM_202302)

This function checks for a license.

Created 2nd February 2023 , last changed 6th September 2023

  
[WindowsOCR.ReleaseAll](WindowsOCRReleaseAll.md) - [WindowsOCR.Text](WindowsOCRText.md)

[HTML Version](WindowsOCRResult.shtml)