| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
OCR.GetTextAsJSON
Queries result as JSON.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| OCR | 13.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "OCR.GetTextAsJSON" )
Parameters
none
Result
Returns OK or error.
Description
Queries result as JSON.Must be called after recognition run, e.g. after calling OCR.GetText function.
See also Vision.RecognizeTextJSON for macOS/iOS and WindowsOCR.Result for Windows text recognition.
Examples
Query OCR result:
Set Field [ OCR::JSON ; MBS("OCR.GetTextAsJSON") ]
Example result:
[ { "top": 92, "left": 36, "right": 96, "bottom": 116, "width": 60, "height": 24, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "This" }, { "top": 92, "left": 109, "right": 129, "bottom": 116, "width": 20, "height": 24, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "is" }, { "top": 98, "left": 141, "right": 156, "bottom": 116, "width": 15, "height": 18, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "a" } ]
Example result:
[ { "top": 92, "left": 36, "right": 96, "bottom": 116, "width": 60, "height": 24, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "This" }, { "top": 92, "left": 109, "right": 129, "bottom": 116, "width": 20, "height": 24, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "is" }, { "top": 98, "left": 141, "right": 156, "bottom": 116, "width": 15, "height": 18, "bold": false, "italic": false, "underlined": false, "monospace": false, "serif": false, "smallcaps": false, "pointsize": 7, "font": 316, "text": "a" } ]
See also
- OCR.GetText
- OCR.GetTextWithCoordinates
- Vision.RecognizeText
- Vision.RecognizeTextJSON
- WindowsOCR.Result
Release notes
- Version 13.3
- Added OCR.GetTextAsJSON function.
Blog Entries
- New in MBS FileMaker Plugin 13.3
- Neues MBS Plugin 13.3 für Claris FileMaker
- MBS Plugin 13.3 for Claris FileMaker
- MBS FileMaker Plugin, version 13.3pr1
This function checks for a license.
Created 23th May 2023, last changed 6th September 2023