Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Gets the recognized text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsOCR | 13.1 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
OCR | The reference number of the ocr engine. | $ocr |
Returns text or error.
Query text after running OCR:
Set Variable [ $ocr ; Value: MBS( "WindowsOCR.New"; Windows OCR::Language) ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Windows OCR" ; "Failed to intiialize: " & $ocr ]
Else
Set Variable [ $r ; Value: MBS( "WindowsOCR.Recognize"; $ocr; Windows OCR::InputImage) ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Windows OCR" ; "Failed to recognize: " & $r ]
Else
Set Field [ Windows OCR::Text ; MBS( "WindowsOCR.Text"; $ocr ) ]
End If
#
Set Variable [ $r ; Value: MBS( "WindowsOCR.Release"; $ocr) ]
End If
This function checks for a license.
Created 22nd January 2023, last changed 7th May 2023