Click here to Skip to main content
15,794,124 members
Home / Discussions / C#
   

C#

 
QuestionLooking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx21-Jan-19 9:10
professionaljkirkerx21-Jan-19 9:10 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Mycroft Holmes21-Jan-19 14:11
professionalMycroft Holmes21-Jan-19 14:11 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx22-Jan-19 8:40
professionaljkirkerx22-Jan-19 8:40 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
mo149221-Jan-19 16:00
mo149221-Jan-19 16:00 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx22-Jan-19 8:43
professionaljkirkerx22-Jan-19 8:43 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Wastedtalent24-Jan-19 0:53
professionalWastedtalent24-Jan-19 0:53 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx24-Jan-19 14:22
professionaljkirkerx24-Jan-19 14:22 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
LEADTOOLS Support24-Jan-19 8:28
sponsorLEADTOOLS Support24-Jan-19 8:28 
If you are still considering OCR as an approach, the LEADTOOLS OCR toolkit has a native recognition module specifically for 9 Pin Dot Matrix text that may give good results for you. (Disclaimer: I am an employee of the vendor of this toolkit).

This native recognition module is part of the LEADTOOLS OmniPage OCR Engine and can be set when determining recognition zones for a particular OCR document.

The code to set this type of zone will look like this:
using (RasterCodecs codecs = new RasterCodecs())
{
   // Set Image Load Options
   codecs.Options.Load.XResolution = 300;
   codecs.Options.Load.YResolution = 300;
   codecs.Options.Load.AllPages = true;

   // Load Image
   RasterImage sourceFile = codecs.Load(fileName);
            
   // Add All Pages to Recognition Document
   _ocrDocument.Pages.AddPages(sourceFile, 1, -1, null);

   // Define Recognition Zone
   OcrZone ocrZone = new OcrZone();
   ocrZone.Bounds = new LeadRect(50, 50, 300, 100);
   ocrZone.ZoneType = OcrZoneType.Text;

   // Add Zone to Recognition Document
   _ocrDocument.Pages[0].Zones.Add(ocrZone);

   // Define Native Recognition Zone using the DotMatrix Recognition Module
   NativeOcrZone dotMatrx = new NativeOcrZone();
   dotMatrx.Bounds = ocrZone.Bounds;
   dotMatrx.ZoneType = NativeOcrZoneType.Text;
   dotMatrx.RecognitionModule = NativeOcrZoneRecognitionModule.DotMatrix;

   // Set Existing Previous Zone to Use the Native Recognition Zone
   _ocrEngine.ZoneManager.SetNativeZone(_ocrDocument.Pages[0], 0, dotMatrx);
}

LEADTOOLS Support
LEAD Technologies Inc.
LEADTOOLS Imaging SDK Home Page

GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Mycroft Holmes24-Jan-19 12:16
professionalMycroft Holmes24-Jan-19 12:16 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx24-Jan-19 14:26
professionaljkirkerx24-Jan-19 14:26 
GeneralRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
jkirkerx24-Jan-19 14:23
professionaljkirkerx24-Jan-19 14:23 
AnswerMy first level of success using image processing first, just a test Pin
jkirkerx26-Jan-19 9:37
professionaljkirkerx26-Jan-19 9:37 
QuestionC# Image Display Pin
cbuk2k21-Jan-19 0:31
cbuk2k21-Jan-19 0:31 
AnswerRe: C# Image Display Pin
Richard MacCutchan21-Jan-19 0:58
mveRichard MacCutchan21-Jan-19 0:58 
GeneralRe: C# Image Display Pin
cbuk2k21-Jan-19 1:18
cbuk2k21-Jan-19 1:18 
GeneralRe: C# Image Display Pin
Richard MacCutchan21-Jan-19 1:29
mveRichard MacCutchan21-Jan-19 1:29 
QuestionASP.Net code won't run Pin
Member 1406015916-Jan-19 12:44
Member 1406015916-Jan-19 12:44 
AnswerRe: ASP.Net code won't run Pin
Pete O'Hanlon16-Jan-19 13:55
subeditorPete O'Hanlon16-Jan-19 13:55 
GeneralRe: ASP.Net code won't run Pin
Member 1406015916-Jan-19 14:32
Member 1406015916-Jan-19 14:32 
AnswerRe: ASP.Net code won't run Pin
Simon_Whale16-Jan-19 21:57
Simon_Whale16-Jan-19 21:57 
AnswerRe: ASP.Net code won't run Pin
mtoha16-Jan-19 22:14
professionalmtoha16-Jan-19 22:14 
Rant[REPOST] ASP.Net code won't run Pin
Richard Deeming17-Jan-19 2:42
mveRichard Deeming17-Jan-19 2:42 
AnswerRe: ASP.Net code won't run Pin
Krzysztof Krzysztof19-Jan-19 5:14
Krzysztof Krzysztof19-Jan-19 5:14 
QuestionHow can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 1:47
arnold_w16-Jan-19 1:47 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Mc_Topaz16-Jan-19 2:16
Mc_Topaz16-Jan-19 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.