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 : Thursday, October 30, 2008 5:16:40 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

The attached project uses LEADTOOLS v16 OCR features.
The project is implemented using minimum code required to OCR a file and save it in a Plain Text file.
This shows the ease of use of LEAD 16 OCR and can be used as a starting point for other OCR projects.

It is a Visual Studio 2005 project written in C#

File Attachment(s):
SimpleOCRdemo.zip (22kb) downloaded 517 time(s).

Edited by moderator Tuesday, October 18, 2016 11:34:48 AM(UTC)  | Reason: Not specified

 

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.

#2 Posted : Friday, October 6, 2017 3:44:37 PM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

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

Updated to LEADTOOLS v19 with Visual Studio 2017. Also changed project to automatically select dll's for running in 32-bit and 64-bit.
Extract to "C:\LEADTOOLS 19\Examples\DotNet\CS\" to use the example.
File Attachment(s):
CS_SimpleOCR.zip (11kb) downloaded 228 time(s).
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Tuesday, October 15, 2019 10:22:28 AM(UTC)

Robbey  
Robbey

Groups: Registered
Posts: 22


Project updated to LEADTOOLS v20 with Visual Studio 2019.

Overview of LEAD Ocr Engine

Code:
RasterCodecs codecs = new RasterCodecs();
using (RasterImage image = codecs.Load(InputFileName.Text))
{
      // Create and Start OCR Engine
      IOcrEngine ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.LEAD, false);
      ocrEngine.Startup(null, null, null, @"C:\LEADTOOLS 20\Bin\Common\OcrLEADRuntime");

      using (IOcrDocument document = ocrEngine.DocumentManager.CreateDocument())
      {
              document.Pages.AddPage(image, null);
              document.Pages[0].Recognize(null);
              document.Save(OutputFileName.Text, Leadtools.Document.Writer.DocumentFormat.Text, null);
              if (checkComplete.Checked)
                   MessageBox.Show(this, "Finished processing file");
      }
      ocrEngine.Shutdown();
}



File Attachment(s):
CS_SimpleOCR_v20.zip (228kb) downloaded 53 time(s).
Robbey Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.
Leadtools Logo
 
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.072 seconds.