Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, September 28, 2021 1:02:07 PM(UTC)

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 163

Was thanked: 9 time(s) in 9 post(s)

Significant changes have been made to our OCR toolkit in v22. This forum post serves to address some of the more common circumstances arising from this.

What files need to be included with applications utilizing OCR?

The application must have access to Leadtools.Ocr.LEADEngine.dll. Depending on the application use case, additional files may also be necessary. These are listed in the documentation.
https://www.leadtools.co...th-your-application.html

Language files are optional, but at least one must be made available in the runtime folder.
https://www.leadtools.co...ngine-runtime-files.html

What steps are necessary for ICR support?

Intelligent Character Recognition (ICR) is included by default in LEADTOOLS v22 as a feature of the LEAD engine. It is no longer necessary to download and install auxiliary packages for ICR support. Note you'll need to include a new library in your application:

Leadtools.Icr.LEADEngine.dll

What ICR demos are there?

Our standard OCR demo can be used for ICR. You can find this in your installation folder.
C:\LEADTOOLS22\Shortcuts\OCR - ICR - MICR - OMR\.NET Framework Class Libraries\Main OCR Demos

Once zones have been drawn, open the Update Zones dialog from the menu bar: Zones -> Update Zones. In the dialog, in the Properties section from the Type dropdown, choose "Icr".

Alternatively, the "OCR Modules" demo available in the installation folder showcases ICR functionality. Change the drop-down to "Auto - ICR". Note this demo doesn't expose created zones to be modified but can be used as a quick proof-of-concept.
C:\LEADTOOLS22\Shortcuts\OCR - ICR - MICR - OMR\.NET Framework Class Libraries\More OCR Demos

How do I create an ICR Zone in code?

In code, the OcrZone.ZoneType property can be set to OcrZoneType.Icr.
https://www.leadtools.co...fo/ocrzone-zonetype.html
https://www.leadtools.co...k/dh/fo/ocrzonetype.html

Here's a code snippet which shows how to get the first zone in the collection, change its type to Icr, and assign it back.

Code:
OcrZone zone = ocrPage.Zones[0]; 
zone.ZoneType = OcrZoneType.Icr; 
ocrPage.Zones[0] = zone; 


Are there any other OCR engine options?

At this time, only the LEAD OCR engine is offered. Available OCR engines are listed in the OcrEngineType enum. See the documentation pages. When calling OcrEngineManager.CreateEngine(), the only option which can be passed is OcrEngineType.LEAD. Other values in this enum are no longer available.
https://www.leadtools.co...dh/fo/ocrenginetype.html

Is Arabic language recognition available?

Apologies, but Arabic language recognition is not supported in v22 at this time.

Edited by moderator Wednesday, December 27, 2023 1:41:29 PM(UTC)  | Reason: Not specified

Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.066 seconds.