Click here to Skip to main content
15,912,204 members
Home / Discussions / C#
   

C#

 
Questionpassing a file in to an Core 2.1 WebApi method Pin
Simon_Whale23-Jan-19 10:18
Simon_Whale23-Jan-19 10:18 
AnswerRe: passing a file in to an Core 2.1 WebApi method Pin
Richard Deeming23-Jan-19 11:31
mveRichard Deeming23-Jan-19 11:31 
GeneralRe: passing a file in to an Core 2.1 WebApi method Pin
Simon_Whale2-Feb-19 23:22
Simon_Whale2-Feb-19 23:22 
QuestionWhat is wrong with this code? Pin
nuno6921-Jan-19 9:42
nuno6921-Jan-19 9:42 
AnswerRe: What is wrong with this code? Pin
Eddy Vluggen21-Jan-19 10:56
professionalEddy Vluggen21-Jan-19 10:56 
GeneralRe: What is wrong with this code? Pin
nuno6921-Jan-19 11:13
nuno6921-Jan-19 11:13 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen21-Jan-19 11:23
professionalEddy Vluggen21-Jan-19 11:23 
GeneralRe: What is wrong with this code? Pin
nuno6921-Jan-19 12:57
nuno6921-Jan-19 12:57 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen22-Jan-19 2:32
professionalEddy Vluggen22-Jan-19 2:32 
GeneralRe: What is wrong with this code? Pin
nuno6922-Jan-19 3:04
nuno6922-Jan-19 3:04 
GeneralRe: What is wrong with this code? Pin
Eddy Vluggen22-Jan-19 3:10
professionalEddy Vluggen22-Jan-19 3:10 
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 8:10
professionaljkirkerx21-Jan-19 8: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 13:11
professionalMycroft Holmes21-Jan-19 13: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 7:40
professionaljkirkerx22-Jan-19 7: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 15:00
mo149221-Jan-19 15: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 7:43
professionaljkirkerx22-Jan-19 7:43 
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 

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.