Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsOCREngineMBS class.
WindowsOCREngineMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If any language from GlobalizationPreferences.Languages can be resolved to any of the available OCR languages returns new instance of OcrEngine class, otherwise otherwise raises UnsupportedOperationException.
See also:
WindowsOCREngineMBS.Constructor(Language as WindowsOCRLanguageMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If the specified language can be resolved to any of the OCR languages available on the device, returns new instance of OcrEngine class, otherwise raises UnsupportedOperationException.
Raises PlatformNotSupportedException when called on macOS or Linux.
See also:
WindowsOCREngineMBS.Destructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WindowsOCREngineMBS.RecognizeAsync(ImageFile as FolderItem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image file and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
Calls event RecognizeCompleted later.
See also:
- RecognizeAsync(Picture as Picture)
- RecognizeAsync(PictureData as MemoryBlock)
- RecognizeAsync(PictureData as String)
Some examples using this method:
WindowsOCREngineMBS.RecognizeAsync(Picture as Picture)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We build a bitmap from the picture for Windows and then run OCR.
Calls event RecognizeCompleted later.
See also:
WindowsOCREngineMBS.RecognizeAsync(PictureData as MemoryBlock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image data provided and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
Calls event RecognizeCompleted later.
See also:
WindowsOCREngineMBS.RecognizeAsync(PictureData as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image data provided and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
Calls event RecognizeCompleted later.
See also:
WindowsOCREngineMBS.RecognizeSync(ImageFile as FolderItem) as WindowsOCRResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image file and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
We run loops to wait and yield time to threads while waiting for the job to finish.
On success, true is returned and result is set.
In case of error, the error parameter is set with a text.
Raises NilObjectException or WindowsOCRExceptionMBS in case of an error.
See also:
- RecognizeSync(Picture as Picture) as WindowsOCRResultMBS
- RecognizeSync(PictureData as MemoryBlock) as WindowsOCRResultMBS
- RecognizeSync(PictureData as String) as WindowsOCRResultMBS
Some examples using this method:
WindowsOCREngineMBS.RecognizeSync(Picture as Picture) as WindowsOCRResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We build a bitmap from the picture for Windows and then run OCR.
Calls event RecognizeCompleted later.
We run loops to wait and yield time to threads while waiting for the job to finish.
On success, true is returned and result is set.
In case of error, the error parameter is set with a text.
Raises NilObjectException or WindowsOCRExceptionMBS in case of an error.
See also:
WindowsOCREngineMBS.RecognizeSync(PictureData as MemoryBlock) as WindowsOCRResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image data and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
We run loops to wait and yield time to threads while waiting for the job to finish.
On success, true is returned and result is set.
In case of error, the error parameter is set with a text.
Raises NilObjectException or WindowsOCRExceptionMBS in case of an error.
See also:
WindowsOCREngineMBS.RecognizeSync(PictureData as String) as WindowsOCRResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows OCR | MBS WinFrameworks Plugin | 23.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
We will ask Windows to load image from the image data and then run OCR.
Seems to work fine for JPEG and PNG files, but other formats may be supported by Windows, too.
We run loops to wait and yield time to threads while waiting for the job to finish.
On success, true is returned and result is set.
In case of error, the error parameter is set with a text.
Raises NilObjectException or WindowsOCRExceptionMBS in case of an error.
See also:
The items on this page are in the following plugins: MBS WinFrameworks Plugin.