Important alert: (current site time 7/16/2013 4:47:07 AM EDT)
 

winzip icon

Delphi DCR

Email
Submitted on: 7/4/2005 4:19:07 AM
By: Theo Z 
Level: Advanced
User Rating: By 20 Users
Compatibility: Delphi 7
Views: 31409
(About the author)
 
     Delphi DCR is a Digital Character Recognition program (more popular with Optical Character Recognition [OCR] name) to translate a typewritten or handwritten text in image format (like bitmap file) into an editable text format (like text file). It also has a feature to learn patterns from installed font or handwriting and classify them to specified classes using backpropagation neural net. Note that the DCR has not been trainet yet. You have to train it first before it can be used to recognize any text. To train it, open the training form, select patterns from the font, character and size list (hold down shift or ctrl to select multiple items) or draw a pattern on the left picture box, press the Add button and then press the Train button. Please report any bugs to me. Your feedback and votes will be very appreciated.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

7/5/2005 11:51:36 PMHanafiah

This is what i want. thank for sharing your code.
(If this comment was disrespectful, please report it.)

 
7/28/2005 10:18:31 PMOCR

You are the only person who i know dat developed a Delphi OCR hehe... COngrats! I am planning to make an application about integratign an OCR application with a database. Example is if a user scans a registration forms, fields such as last name, first name etc will be stored automatically in the database fields depending on the coordinats specified by the user earlier. My question is: is this project possible and hard? Can you guys give me guides, tutorials and instructions to make my first step. Do i have to create my own OCR or can i just edit an existing one? If so ,where can i get one? Thanks..
(If this comment was disrespectful, please report it.)

 
7/30/2005 6:09:37 AM

It doesn't recognize a thing unless you first add it and even then it screws up alot if it's just a bit different. Nice image processing not really character recognition.
(If this comment was disrespectful, please report it.)

 
8/5/2005 1:39:21 AMTheo Zacharias

Like I mentioned in the description, the program has not been trained yet. So it can't recognize anything yet until you train it. And the accuracy of the recognition is of course depend on the quality of the training set. For instance if you train it with just one font, it will good only to recognize that font, not others. So you have to train it with many fonts anc choose the training set that can represent all population. This is one of the problem on OCR area: choosing the right characters as a training set.
(If this comment was disrespectful, please report it.)

 
3/23/2006 12:02:16 AMMelanie J. Fredity

Great code, only the training is very very slow
(If this comment was disrespectful, please report it.)

 
11/19/2008 9:24:35 AMAchmad Fauzi Arief

Congrat! you'll be the best
(If this comment was disrespectful, please report it.)

 
6/25/2009 11:40:15 AMaghie

thank you for your sharing code,How when we want to do recognize only certain areas ,thank you
(If this comment was disrespectful, please report it.)

 
2/17/2012 11:42:49 PMAmyth

Nice Buddy ! Trainin runs a bit slow though ..
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.