Click here to Skip to main content
15,895,538 members
Home / Discussions / C#
   

C#

 
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 
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 
Just wanted to leave a paper trail here on this subject in case someone else attempts it.

I had my first level of success this morning. I used the one dudes idea of image processing first, then OCR the document.

So I fiddled with Photoshop and tried about 20 different things with just getting a little better result. Then I went back my photography days to sharpen images and tried a few of those techniques. The best result came from auto contrasting the image to pure black and white and then using Unshape Mask at Max values to exaggerate the dot matrix printing into a filled in character.

All the Dot Matrix translated very well along with the pre-printed stuff on the form using the Microsoft Windows 10 OCR and my Test App written in C# Winforms. The IronOcr in 3 different modes wasn't able to read the image and got worst. But I'll play around with the settings some more.

So I'm thinking I'll head down this road first. Consider a scanner, image processing and OCR before I start messing with printer escape codes, or changing the printing system all together.

Perhaps I should of looked for image packages on Nuget first before I wrote this. Hope it doesn't turn into a C++ thing. But I don't think I'll have to spend $1K to $6K for an OCR solution. Maybe this is what OCR solution do in the first place.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

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 

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.