ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Filter to improve OCR

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
marcosoraggi Posted - Sep 22 2014 : 13:32:09
I'm having problems to OCR images that are not clear. Images with a dirty background making hard to distinguish the text.

I would like to apply filters to make the text more clear. I'm opened to suggestions. My first idea is to try to filter all pixels that are black. How can I do that in ImageEn?

Thanks!

Marco
6   L A T E S T    R E P L I E S    (Newest First)
SharkFinMike Posted - Oct 06 2014 : 04:20:03
Perhaps this paper - "Removal of Artifacts from JPEG Compressed Document Images" - from http://www.cs.rpi.edu/~oztanb/Papers/spie07paper.pdf may be of assistance?

Regards,

Mike
w2m Posted - Sep 23 2014 : 08:00:49
As far as I know... there are no ImageEn procedures that will do this satisfactorily. I have tried many times to clean my scans (remove black dots and extraneous blotches) using various procedures without much success.

Having said that, Nigel has expressed that he would like to look into this, but without some sort of test images he will have nothing to work with.

If you really need this feature then I suggest you either get permission from your client to send an image or two to the ImageEn staff or create some similar images with your scanner with the same bit-depth. You do not have to post the images. Just send them directly to Nigel via email.

A RemoveIsolatedPixels procedure that will work with black & white, 8-bit or 24-bit images would be a great addition to ImageEn that most everyone who uses ImageEn scanner functions would value highly.

If we work together maybe we can develop some method(s) that work to clean images with the typical artifacts that you get when using scanners. If not... you are stuck with the images you scan.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
marcosoraggi Posted - Sep 23 2014 : 06:27:17
Unfortunatelly, I can not. They are my client images and don't permission to share them.
xequte Posted - Sep 23 2014 : 03:13:52
Hi

Can you insert an example of the kind of image you are trying to clean.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
marcosoraggi Posted - Sep 22 2014 : 16:58:36
RemoveIsolatedPixels and RemoveNoise work only with black/white images. I'm looking for a solution for colored images.
spetric Posted - Sep 22 2014 : 15:03:21
Hi,

Try to use TImageEnProc.RemoveIsolatedPixels method, to get rid of black pixels.
Check the help file for examples.