Click here to Skip to main content
15,917,928 members
Home / Discussions / C#
   

C#

 
AnswerRe: Looking for a good OCR package for reading 9 pin Dot Matrix, or perhaps a better way of printing multipart forms. Pin
Wastedtalent23-Jan-19 23:53
professionalWastedtalent23-Jan-19 23: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 13:22
professionaljkirkerx24-Jan-19 13: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 7:28
sponsorLEADTOOLS Support24-Jan-19 7: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 11:16
professionalMycroft Holmes24-Jan-19 11: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 13:26
professionaljkirkerx24-Jan-19 13: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 13:23
professionaljkirkerx24-Jan-19 13:23 
AnswerMy first level of success using image processing first, just a test Pin
jkirkerx26-Jan-19 8:37
professionaljkirkerx26-Jan-19 8:37 
QuestionC# Image Display Pin
cbuk2k20-Jan-19 23:31
cbuk2k20-Jan-19 23:31 
AnswerRe: C# Image Display Pin
Richard MacCutchan20-Jan-19 23:58
mveRichard MacCutchan20-Jan-19 23:58 
GeneralRe: C# Image Display Pin
cbuk2k21-Jan-19 0:18
cbuk2k21-Jan-19 0:18 
GeneralRe: C# Image Display Pin
Richard MacCutchan21-Jan-19 0:29
mveRichard MacCutchan21-Jan-19 0:29 
QuestionASP.Net code won't run Pin
Member 1406015916-Jan-19 11:44
Member 1406015916-Jan-19 11:44 
AnswerRe: ASP.Net code won't run Pin
Pete O'Hanlon16-Jan-19 12:55
mvePete O'Hanlon16-Jan-19 12:55 
GeneralRe: ASP.Net code won't run Pin
Member 1406015916-Jan-19 13:32
Member 1406015916-Jan-19 13:32 
AnswerRe: ASP.Net code won't run Pin
Simon_Whale16-Jan-19 20:57
Simon_Whale16-Jan-19 20:57 
AnswerRe: ASP.Net code won't run Pin
mtoha16-Jan-19 21:14
professionalmtoha16-Jan-19 21:14 
Rant[REPOST] ASP.Net code won't run Pin
Richard Deeming17-Jan-19 1:42
mveRichard Deeming17-Jan-19 1:42 
AnswerRe: ASP.Net code won't run Pin
Krzysztof Krzysztof19-Jan-19 4:14
Krzysztof Krzysztof19-Jan-19 4:14 
QuestionHow can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 0:47
arnold_w16-Jan-19 0: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 1:16
Mc_Topaz16-Jan-19 1:16 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 1:31
arnold_w16-Jan-19 1:31 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
OriginalGriff16-Jan-19 2:49
mveOriginalGriff16-Jan-19 2:49 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Pete O'Hanlon16-Jan-19 2:50
mvePete O'Hanlon16-Jan-19 2:50 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Luc Pattyn16-Jan-19 3:15
sitebuilderLuc Pattyn16-Jan-19 3:15 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
BillWoodruff16-Jan-19 21:43
professionalBillWoodruff16-Jan-19 21:43 

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.