WO2006098632A1 - Method and system for adaptive recognition of distorted text in computer images - Google Patents

Method and system for adaptive recognition of distorted text in computer images Download PDF

Info

Publication number
WO2006098632A1
WO2006098632A1 PCT/NO2006/000092 NO2006000092W WO2006098632A1 WO 2006098632 A1 WO2006098632 A1 WO 2006098632A1 NO 2006000092 W NO2006000092 W NO 2006000092W WO 2006098632 A1 WO2006098632 A1 WO 2006098632A1
Authority
WO
WIPO (PCT)
Prior art keywords
words
recognition
program module
text
executed
Prior art date
Application number
PCT/NO2006/000092
Other languages
French (fr)
Inventor
Hans Christian Meyer
Mats Stefan Carlin
Knut Tharald Fosseide
Original Assignee
Lumex As
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumex As filed Critical Lumex As
Priority to CA2601144A priority Critical patent/CA2601144C/en
Priority to EP06716765.0A priority patent/EP1866838A4/en
Priority to US11/908,750 priority patent/US8208736B2/en
Priority to AU2006223761A priority patent/AU2006223761B2/en
Publication of WO2006098632A1 publication Critical patent/WO2006098632A1/en
Priority to IL185752A priority patent/IL185752A/en
Priority to NO20075309A priority patent/NO20075309L/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/26Techniques for post-processing, e.g. correcting the recognition result
    • G06V30/262Techniques for post-processing, e.g. correcting the recognition result using context analysis, e.g. lexical, syntactic or semantic context
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/32Digital ink
    • G06V30/36Matching; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Definitions

  • the present invention is related to a method and system for recognizing text in computer images in a computer system, and specially to a method and system for 5 adapting rules used for the text recognition based on an adaptive iterative adjustment of recognition rules, related parameters, omitting or adding of further rules based on the text that is current being processed in the iteration process, according to the attached independent claims 1 and 18, and dependent claims 2 to 17, and 19 to 35.
  • Optical Character Recognition Systems are typically based on template matching with known fixed templates, by structural matching or by recognizing the characters based on a set of fixed set of recognition rules using a set of computed features extracted from the shapes of characters. Each character will be assigned a score or an a priori calculated s probability for each character class or set.
  • a dictionary is used to check that each chain of proposed characters can form words, picking the most probable word.
  • the state-of-the art text recognition systems usually fails when they encounter moderate to heavily distorted text images.
  • degrading of text images may be a Q result of photocopying an original document, typewritten documents which may be encountered when scanning older archive material, newspapers which usually have poor print and paper quality effecting the quality of the text images, faxes which usually has poor resolution in the transmission channel and printing device, etc.
  • An example of an automated adaptive recognition system is disclosed in EP 0 482 427 A2 providing a neural network performing hierarchical pattern recognition.
  • the adaptation is only related to a specific geometrical feature of the text to be recognized, namely gray scale parameters.
  • the neural network according to this invention can use the grey scale parameter to extract fairly complex features of input patterns, including translations, rotation and scaling of input patterns.
  • an inherent aspect of neural networks is that they are trained with specific examples of a parameter variation, as grey scale in this example, and therefore it is impossible to adapt the grey scale rule as such in this embodiment, for example to modify the grey scale levels to two levels, such as white and black, which may be a parameter selected by a user using a flatbed scanner without training the specific network for this special case.
  • threshold levels and adjustments of thresholds may provide an easier and better adaptation to the actual features of the document to be recognized.
  • an OCR system needs not only one algorithm, but a plurality of algorithms or strategies to choose from to be able to adapt to the realities of the document at hand.
  • each algorithm may also pass through some sort of tuning to provide the best achievable results in the OCR process. Therefore, preprogrammed solutions, even when trained on actual cases as with neural networks, do not provide an optimal solution to the OCR problem as such when the text images are distorted.
  • the recognition of further words or parts may be provided by for example adding at least one other rule, by adapting the at least one initial recognition rule, by adjusting parameters used in established rules, omit established rules or add further rules based on the preliminary recognized words or parts of words, or characters, and then iteratively continue the recognition process of the rest of the text while at the same time updating, adapting, adding and/or removing a selection of recognition rules used in the succeeding iterative steps of the process, and stopping the process when a defined amount of the text has been reliable recognized.
  • Figure 1 illustrates examples of distorted images of the letter t.
  • Figure 2 depicts a flow diagram of an example of embodiment of the present invention.
  • Figure 3 a and 3b illustrates an example of adaptation of a grey scale recognition rule.
  • Figure 1 illustrates the problem sometimes encountered when trying to recognize text in distorted images.
  • the human brain is often able to extract which features related to for example the letter Y as illustrated in figure 1 that identifies or distinguishes this letter from other letter shapes.
  • the basis for automated machine based recognition is based on computing or extracting some features from the provided image of the text related to characters in the text, and comparing these features with similar features computed beforehand for specific letters. If the features extracted or computed from the provided image of the text is equal with the corresponding features computed for a specific letter, the probability that this character in the image is this letter is by default 1.
  • the text recognition system 1 includes a scheme comprising at least one recognition rule that is applied on the communicated image 10. This at least one rule may be available in a computer storage 18 communicating with the recognition process 11.
  • the output of the recognition process 11 may be a score value 12 for characters encountered in the image 10. These score values may be used in a dictionary look up table 13.
  • the dictionary lookup table communicates with computer storage 14 comprising statistics such as character frequency tables as known to a person skilled in the art.
  • the dictionary lookup process 13 provides one of two possible output streams: a) reliable recognized words 16, or b) dubious recognized words 15.
  • a reliable recognized word may be a word comprising characters with a score value exceeding a predefined level.
  • at least two recognition rules are tested in the recognition process 11, and the result of the one of the at least two rules providing higher probability of being a certain word or part of words is selected as the reliable word or part of words.
  • the dubious recognized items are processed again in the recognition process 11 while at the same time, the reliable recognized words are processed to adapt rules in a rule adaptation process 17.
  • the adaptation process 17 may comprise adapting the recognition rules to a specific font type or a specific identified geometrical feature that is related for example to a specific deformation of the text.
  • the result of the rule adaptation process 17 is communicated to the storage 18 providing an updating of the rules used in the recognition process 11.
  • Character classification is a method where images of individual characters of unknown type are classified using a classifier that decides which character class the unknown character probably belong to using quantitative information of one or more characteristics inherent in the character.
  • a classification technique is clustering. Clustering is based on partitioning of a data set into subsets (clusters), so that the data in each subset share some common trait. Usually, the OCR system may exclude many character classes in the initial run, and only leave a limited number of competing character classes.
  • a word list, dictionary, cue words (cribs), statistics or pattern analysis may further be utilized to identify words or parts of words that may be assumed to be correct.
  • the words ⁇ 'documents', 'characters', 'initial', 'incapable", 'of, and 'range' ⁇ have been recognized as outlined above initially, and for example has been identified in a dictionary.
  • This provides a result comprising at least one instance of the characters 'acdefghilmnoprstu' that are probably correct, and at least two instances of the characters 'aceilnorst'.
  • the multiple instances of the same character class provides a basis for verifying that they are similar based on, for example, direct character grey- level or bit-map image matching.
  • the original recognition scheme may be improved by adapting the initial rule(s) by fitting the rules to the actual identified character classes.
  • the fitting or adaptation of the rule(s) may be done by adding new rules related to for example geometrical features (for example strokes), removing rules from the scheme, or changing weight or range of rules.
  • the OCR process may continue in an iteratively manner, by running the OCR process once more thereby producing more probable recognized words based on the adapted rule(s), since there is a smaller remaining set of competing character classes after the adaptation. For example, assume the words ⁇ 'quality', 'unknown', 'font', 'through', 'recognition', 'system', 'dictionary', and 'typical' ⁇ are identified in addition to the words listed above. The new words leads to more multiple instances of characters, which further leads to the possibilities of adapting rules even more, and then iteratively continue the OCR process.
  • the new words leads to at least one instance of the characters 'acdefghiklmnopqrstuwy', and at least two instances of the characters 'acdefghilmnoprstuy', that are recognized properly.
  • this adaptation of the initial rule(s) related to unknown character classes comprised in the initial scheme is adapted according the actual encountered characters in the actual text processed in the OCR system in an automatic manner, without any human interception in the iterative process according to the present invention. Therefore, unlike any known prior art solution, parameters like weighting, threshold limits etc., are all adjusted according to how the actual document has been distorted. Therefore, the actual recognition according to this aspect of the present invention performs the recognition not based on a model related to fonts, type of distortion (such as bending of a sheet (cylinder model)), etc., but on how the text images actually appears.
  • the present invention merely iteratively adapts to the actual distortions encountered in the documents, if there are distortions present. Therefore, if there are no distortions present, the method and system according to the present invention iteratively adapts to the conditions of the non-distorted image.
  • the word 'foof may easily be misclassified as 'feet when an image comprising this word is distorted. Assume that the words 'floor' and 'of is also present in the text. Since words like 'fleer" and 'ef is not found in a dictionary, it is more probable that the word is 'foot".
  • a dictionary or word list is only one of several methods for verification that maybe used in the context of the present invention. For example:
  • Cipher patterns unique patterns of repeated positions of letters in a word
  • Geometrical features identified and used in the adaptation process 17, according to the present invention includes also aspects such as grey scale, pixel count, and pixel density etc.
  • the word red is depicted with a certain resolution to the left in the figure.
  • To the right is illustrated how a shape is typically identified according to the grey scale image.
  • the shape of the word is hard to identify because of the resolution provided in the grey scale image of the word.
  • the grey scale 5 is adapted by providing an interpolation of the grey scale in additional pixels constituting the image of the word red.
  • this enhanced resolution simplifies the identification of the word by providing a better shape of the characters in the word.
  • Another embodiment of the present invention comprise creating a word list or dictionary lookup table based on the adaptation of the rules, for example by adding words to the dictionary lookup process 13 depicted in figure 2.
  • the remaining s unrecognized items 15 are passed through the recognition system 1 using the modified set of recognition rules stored in 18 and the process is repeated as described above.
  • the recognition system 1 will identify further reliable recognized words, which iteratively can be used to improve the recognition rules until the true text comprised in image 10 is recognized throughout the whole text.
  • the steps of the method Q according to the present invention are thus repeated until convergence.
  • the criteria for determining that the process has achieved convergence may vary in different embodiments. For example, when the recognition process 11 has recognized a certain amount of the text in the provided image 10, such as for example 90%, the 5 recognition process 11 terminates in the present example of preferred embodiment.
  • the recognition system 1 continues processing the recognized text by organizing the text in the organizing process 19. For example, the organizing process 19 may assign specific words to remaining dubious recognized words 15. The assignment may be based on the result from the character score process 12 and the dictionary process 13 providing the 0 most probable word related to the dubious word under present investigation in the organizing process 19.
  • convergence criteria may be that the number of reliable recognized words in the output stream a) from the dictionary lookup process 13 is not increasing 5 from iteration to the next. When this is event is identified in the recognition system 1, the process continues with the organizing process 19 as described above.
  • the convergence criteria according to the present invention may be one of following examples:
  • Remaining characters are considered to be part of the image and not text based on low recognition results for any set of rules considered through the process or based on a specific non-character filter.
  • a timer is used to limit the processing time.
  • the recognition rate reaches a predefined level (this approach is only used in certain applications where the recognition rate is less critical and only in combination with a two-step timer with a minimum and maximum processing time).
  • Another example of embodiment of the present invention provides also a labeling of such assigned words for dubious recognized words, by for example highlighting the words in the final recognized text.
  • Another embodiment of the present invention includes deciding that the dubious recognized word is garbage and excluding the word from the recognition result if no satisfactory interpretation is found, or if geometrical considerations indicate that the dubious recognized word is indeed garbage. Examples may be scribble in a margin or graphics in an image that has been mistaken for being a real word.
  • Another example of embodiment of the present invention provides recognition rules based on a word list as known to a person skilled in the art.
  • the recognized character can also be used to identify the existence, curvature and length of the bottom bow stroke of for example the letter 't', the position and shape of the cross stroke of the letter 'f or the typical fragmentation pattern of the stem stroke of the letter 't' in vertically fragmented text.
  • the letter 't' is quite common in normal texts and will most likely occur among the set of reliable recognized characters. All these parameters are vital for recognizing the letter 't'. In the present example of embodiment, these parameters are adapted in the rale adaptation process 17 to correspond with the specific appearance of these features in the provided text image 10.
  • an example of embodiment of the present invention omits the recognition rule by removing or marking the rule as lapsed in the storage 18.
  • parameters associated with the lapsed rules may be adjusted or restored to provide a feasible recognition rule again.
  • Another example of embodiment of the present invention may adapt the general rules or common rules valid for several character classes based on the occurrence of a feature or rule in a single reliable recognized character class.
  • any rule concerning the dot over the letter 'i' is also valid for the dot over the letter 'j '.
  • Another example of embodiment of the present invention may remove a general rule for a character class or a set of characters classes, such as removing rules related to the bottom right serif of the letter 'a' when we encounter the version without serif as in 'a'.
  • Another embodiment of the present invention comprises a computer program executing the method according to the invention outlined above, wherein the original text image 10 is provided by an attached scanner device or another electronic image acquisition device (such as a digital camera) in communication with the computer system running the computer program.
  • Dictionary or character frequency tables 14 and set of rules 18 are organized as database records in this example of embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Character Discrimination (AREA)

Abstract

A method and system for recognizing text in computer images comprising distorted text provides an adaptive iterative process wherein recognition rules are adapted, added or omitted based on the present state of the recognition process. When the first pass through the recognition and adaptation is completed, the remaining unrecognized words (15) are passed through the recognition system 1 using the modified set of recognition rules stored in (18) and the process is repeated. In most cases the recognition system 1 will identify further reliable recognized words, which iteratively can be used to improve the recognition rules until the true text comprised in image (10) is recognized throughout the whole text. The steps of the method according to the present invention are thus repeated until convergence.

Description

Method and system for adaptive recognition of distorted text in computer images
The present invention is related to a method and system for recognizing text in computer images in a computer system, and specially to a method and system for 5 adapting rules used for the text recognition based on an adaptive iterative adjustment of recognition rules, related parameters, omitting or adding of further rules based on the text that is current being processed in the iteration process, according to the attached independent claims 1 and 18, and dependent claims 2 to 17, and 19 to 35.
Q The present state-of-the art text recognition systems, often denoted as Optical Character Recognition Systems, are typically based on template matching with known fixed templates, by structural matching or by recognizing the characters based on a set of fixed set of recognition rules using a set of computed features extracted from the shapes of characters. Each character will be assigned a score or an a priori calculated s probability for each character class or set. A dictionary is used to check that each chain of proposed characters can form words, picking the most probable word.
The state-of-the art text recognition systems usually fails when they encounter moderate to heavily distorted text images. Such degrading of text images may be a Q result of photocopying an original document, typewritten documents which may be encountered when scanning older archive material, newspapers which usually have poor print and paper quality effecting the quality of the text images, faxes which usually has poor resolution in the transmission channel and printing device, etc. These and similar problems are described in the book by Stephen Rice et al, "Optical Character 5 recognition - An illustrated Guide to the Frontier", Kluwer Academic Publishers 1999.
The current text recognition systems do only to a limited extent adapt to specific font or deformation of the text without a guided learning phase requiring human interaction in the process, which slows down the process considerably. Electronic document handling, 0 archive systems, electronic storage of printed material etc. requires scanning of unlimited number of pages which makes it impossible to use human interaction to succeed with such tasks.
An example of guided learning is disclosed in US patent no. 5,917,941 dated June 29, 5 1999 disclosing a method and system for recognizing handwritten text based on recognizing some characters and providing a user interface presenting a limited list of probable words comprising the character each time a character has been identified, and then let the user select the most probable words used in the text. Based on these manual user selections, the recognition process continues.
An example of an automated adaptive recognition system is disclosed in EP 0 482 427 A2 providing a neural network performing hierarchical pattern recognition. However, the adaptation is only related to a specific geometrical feature of the text to be recognized, namely gray scale parameters. The neural network according to this invention can use the grey scale parameter to extract fairly complex features of input patterns, including translations, rotation and scaling of input patterns. However, an inherent aspect of neural networks is that they are trained with specific examples of a parameter variation, as grey scale in this example, and therefore it is impossible to adapt the grey scale rule as such in this embodiment, for example to modify the grey scale levels to two levels, such as white and black, which may be a parameter selected by a user using a flatbed scanner without training the specific network for this special case. In such cases, threshold levels and adjustments of thresholds as known to a person skilled in the art may provide an easier and better adaptation to the actual features of the document to be recognized. To be able to cope with the different aspects of the recognition process, an OCR system needs not only one algorithm, but a plurality of algorithms or strategies to choose from to be able to adapt to the realities of the document at hand. However, even when there is a plurality of algorithms at hand, each algorithm may also pass through some sort of tuning to provide the best achievable results in the OCR process. Therefore, preprogrammed solutions, even when trained on actual cases as with neural networks, do not provide an optimal solution to the OCR problem as such when the text images are distorted.
Therefore, there is a need for a method and system that provide more reliable automatic text recognition when the text is distorted. According to the present invention this is achieved by first using at least one a priori known rule to recognize unknown characters, and then some words or parts of words by using the at least one rule for unknown characters, for example by dictionary lookup. By using those words or parts of words that are reliable recognized, the recognition of further words or parts may be provided by for example adding at least one other rule, by adapting the at least one initial recognition rule, by adjusting parameters used in established rules, omit established rules or add further rules based on the preliminary recognized words or parts of words, or characters, and then iteratively continue the recognition process of the rest of the text while at the same time updating, adapting, adding and/or removing a selection of recognition rules used in the succeeding iterative steps of the process, and stopping the process when a defined amount of the text has been reliable recognized.
Figure 1 illustrates examples of distorted images of the letter t.
Figure 2 depicts a flow diagram of an example of embodiment of the present invention.
Figure 3 a and 3b illustrates an example of adaptation of a grey scale recognition rule.
Figure 1 illustrates the problem sometimes encountered when trying to recognize text in distorted images. The human brain is often able to extract which features related to for example the letter Y as illustrated in figure 1 that identifies or distinguishes this letter from other letter shapes. However, to provide an algorithmic description of such a human process seems to be difficult. The basis for automated machine based recognition, such as OCR systems, is based on computing or extracting some features from the provided image of the text related to characters in the text, and comparing these features with similar features computed beforehand for specific letters. If the features extracted or computed from the provided image of the text is equal with the corresponding features computed for a specific letter, the probability that this character in the image is this letter is by default 1.
This situation is the ideal situation for OCR. However, any moderate to heavy distortion of the image comprising the text may alter the appearance of letters in the text such that the probability for being for example the letter Y as described above may be diminished considerably. The first image of the letter Y in the upper left corner of figure 1 is simple to recognize, while the rest of the distorted images will provide different probabilities for being the letter Y. Another aspect regarding character recognition is that characters belong to different fonts or typefaces.
However, according to a preferred example of embodiment of the present invention, as depicted in figure 2, it is possible to apply an adaptive iterative approach to the text recognition problem of distorted images. In figure 2 the original text image 10 is communicated to the text recognition process 11, such as found in OCR programs in a computer (not shown). According to this preferred example of embodiment, the text recognition system 1 includes a scheme comprising at least one recognition rule that is applied on the communicated image 10. This at least one rule may be available in a computer storage 18 communicating with the recognition process 11. For example, the output of the recognition process 11 may be a score value 12 for characters encountered in the image 10. These score values may be used in a dictionary look up table 13. The dictionary lookup table communicates with computer storage 14 comprising statistics such as character frequency tables as known to a person skilled in the art. The dictionary lookup process 13 provides one of two possible output streams: a) reliable recognized words 16, or b) dubious recognized words 15. A reliable recognized word may be a word comprising characters with a score value exceeding a predefined level. In another embodiment of the present invention at least two recognition rules are tested in the recognition process 11, and the result of the one of the at least two rules providing higher probability of being a certain word or part of words is selected as the reliable word or part of words. The dubious recognized items are processed again in the recognition process 11 while at the same time, the reliable recognized words are processed to adapt rules in a rule adaptation process 17. The adaptation process 17 may comprise adapting the recognition rules to a specific font type or a specific identified geometrical feature that is related for example to a specific deformation of the text. The result of the rule adaptation process 17 is communicated to the storage 18 providing an updating of the rules used in the recognition process 11.
When recognizing documents with text of low quality comprising unknown fonts, it is possible to analyze the actual properties of the original font in the document and the distortion the characters have been through, for example due to the printing or typing process of the document, or due to aging, as known to a person skilled in the art, in an automatic analysis program, for example in a computer system. The parameters obtained this way regarding characters in the document may then be used to automatically configure an initial recognition run in an OCR system. However, the result of the initial OCR process is that not all characters are identified to a certain degree of robustness. Some characters may be viewed as having alternative representations, for example the characters "i", "j" and "1" may easily be mixed when distorted. One way of handling all the possible alternatives is by character classification. Character classification is a method where images of individual characters of unknown type are classified using a classifier that decides which character class the unknown character probably belong to using quantitative information of one or more characteristics inherent in the character. One example of a classification technique is clustering. Clustering is based on partitioning of a data set into subsets (clusters), so that the data in each subset share some common trait. Usually, the OCR system may exclude many character classes in the initial run, and only leave a limited number of competing character classes. A word list, dictionary, cue words (cribs), statistics or pattern analysis may further be utilized to identify words or parts of words that may be assumed to be correct. For example, according to an example of embodiment of the present invention, the words {'documents', 'characters', 'initial', 'incapable", 'of, and 'range'} have been recognized as outlined above initially, and for example has been identified in a dictionary. This provides a result comprising at least one instance of the characters 'acdefghilmnoprstu' that are probably correct, and at least two instances of the characters 'aceilnorst'. The multiple instances of the same character class provides a basis for verifying that they are similar based on, for example, direct character grey- level or bit-map image matching. After verification, the original recognition scheme may be improved by adapting the initial rule(s) by fitting the rules to the actual identified character classes. For example, the fitting or adaptation of the rule(s) may be done by adding new rules related to for example geometrical features (for example strokes), removing rules from the scheme, or changing weight or range of rules.
After the adaptation of the rule(s) has been performed, the OCR process may continue in an iteratively manner, by running the OCR process once more thereby producing more probable recognized words based on the adapted rule(s), since there is a smaller remaining set of competing character classes after the adaptation. For example, assume the words {'quality', 'unknown', 'font', 'through', 'recognition', 'system', 'dictionary', and 'typical'} are identified in addition to the words listed above. The new words leads to more multiple instances of characters, which further leads to the possibilities of adapting rules even more, and then iteratively continue the OCR process. In this example, the new words leads to at least one instance of the characters 'acdefghiklmnopqrstuwy', and at least two instances of the characters 'acdefghilmnoprstuy', that are recognized properly.
It is important to understand that this adaptation of the initial rule(s) related to unknown character classes comprised in the initial scheme is adapted according the actual encountered characters in the actual text processed in the OCR system in an automatic manner, without any human interception in the iterative process according to the present invention. Therefore, unlike any known prior art solution, parameters like weighting, threshold limits etc., are all adjusted according to how the actual document has been distorted. Therefore, the actual recognition according to this aspect of the present invention performs the recognition not based on a model related to fonts, type of distortion (such as bending of a sheet (cylinder model)), etc., but on how the text images actually appears.
Therefore, it is important to understand that unlike any other prior art solutions that try to cope with distorted text, or handwritten text etc., by providing models or steps directed towards identifying types of distortions, the present invention merely iteratively adapts to the actual distortions encountered in the documents, if there are distortions present. Therefore, if there are no distortions present, the method and system according to the present invention iteratively adapts to the conditions of the non-distorted image.
According to another aspect of the present invention, it is also possible to resolve conflicts related to quasi-unique words. For example, the word 'foof may easily be misclassified as 'feet when an image comprising this word is distorted. Assume that the words 'floor' and 'of is also present in the text. Since words like 'fleer" and 'ef is not found in a dictionary, it is more probable that the word is 'foot".
According to another aspect of the present invention, a dictionary or word list is only one of several methods for verification that maybe used in the context of the present invention. For example:
• Language specific unilateral frequency distributions,
• Vowel-consonant relationships (vowels are more likely to neighbour many character classes),
• Positional frequency distributions, • Common digraphs (two-letter combinations) and trigraphs (three-letter combinations),
• Cipher patterns (unique patterns of repeated positions of letters in a word),
• Common short words and cribs (unique words that we expect to find in any text),
are examples of techniques that may be used single handed or in combinations for verification purposes, including tuning of respective parameters providing adjustments of performance of the respective techniques during the iterative process, according to the present invention.
Geometrical features identified and used in the adaptation process 17, according to the present invention includes also aspects such as grey scale, pixel count, and pixel density etc. In figure 3 a, the word red is depicted with a certain resolution to the left in the figure. To the right is illustrated how a shape is typically identified according to the grey scale image. As can be seen, the shape of the word is hard to identify because of the resolution provided in the grey scale image of the word. In figure 3b the grey scale 5 is adapted by providing an interpolation of the grey scale in additional pixels constituting the image of the word red. On the right hand side of figure 3b it is illustrated how this enhanced resolution simplifies the identification of the word by providing a better shape of the characters in the word.
o Another embodiment of the present invention comprise creating a word list or dictionary lookup table based on the adaptation of the rules, for example by adding words to the dictionary lookup process 13 depicted in figure 2.
When the first pass through the recognition and adaptation is completed, the remaining s unrecognized items 15 are passed through the recognition system 1 using the modified set of recognition rules stored in 18 and the process is repeated as described above. In most cases the recognition system 1 will identify further reliable recognized words, which iteratively can be used to improve the recognition rules until the true text comprised in image 10 is recognized throughout the whole text. The steps of the method Q according to the present invention are thus repeated until convergence.
The criteria for determining that the process has achieved convergence may vary in different embodiments. For example, when the recognition process 11 has recognized a certain amount of the text in the provided image 10, such as for example 90%, the 5 recognition process 11 terminates in the present example of preferred embodiment. The recognition system 1 continues processing the recognized text by organizing the text in the organizing process 19. For example, the organizing process 19 may assign specific words to remaining dubious recognized words 15. The assignment may be based on the result from the character score process 12 and the dictionary process 13 providing the 0 most probable word related to the dubious word under present investigation in the organizing process 19.
Another example of convergence criteria may be that the number of reliable recognized words in the output stream a) from the dictionary lookup process 13 is not increasing 5 from iteration to the next. When this is event is identified in the recognition system 1, the process continues with the organizing process 19 as described above. Generally stated, the convergence criteria according to the present invention may be one of following examples:
1. AU characters are completely recognized.
2. All characters are partially recognized. Remaining partially recognized characters are considered to be within groups of predefined character confusion alternatives (examples are 'oce','ll !F, '000', '5S$') that have similar geometric features.
3. The list of features to test is exhausted.
4. Remaining characters are considered to be part of the image and not text based on low recognition results for any set of rules considered through the process or based on a specific non-character filter.
5. A timer is used to limit the processing time.
6. The recognition rate reaches a predefined level (this approach is only used in certain applications where the recognition rate is less critical and only in combination with a two-step timer with a minimum and maximum processing time).
Another example of embodiment of the present invention provides also a labeling of such assigned words for dubious recognized words, by for example highlighting the words in the final recognized text.
Another embodiment of the present invention includes deciding that the dubious recognized word is garbage and excluding the word from the recognition result if no satisfactory interpretation is found, or if geometrical considerations indicate that the dubious recognized word is indeed garbage. Examples may be scribble in a margin or graphics in an image that has been mistaken for being a real word.
Another example of embodiment of the present invention provides recognition rules based on a word list as known to a person skilled in the art.
Another example of embodiment of the present invention traces variations of specific identified characters, providing this as recognition rules. For example, the recognized character can also be used to identify the existence, curvature and length of the bottom bow stroke of for example the letter 't', the position and shape of the cross stroke of the letter 'f or the typical fragmentation pattern of the stem stroke of the letter 't' in vertically fragmented text. The letter 't' is quite common in normal texts and will most likely occur among the set of reliable recognized characters. All these parameters are vital for recognizing the letter 't'. In the present example of embodiment, these parameters are adapted in the rale adaptation process 17 to correspond with the specific appearance of these features in the provided text image 10. However, if the adaptation of a rule leads to for example that score values 12 never exceeds a predefined threshold level after some iterations, an example of embodiment of the present invention omits the recognition rule by removing or marking the rule as lapsed in the storage 18. As an alternative, parameters associated with the lapsed rules may be adjusted or restored to provide a feasible recognition rule again.
Another example of embodiment of the present invention may adapt the general rules or common rules valid for several character classes based on the occurrence of a feature or rule in a single reliable recognized character class. As an example any rule concerning the dot over the letter 'i' is also valid for the dot over the letter 'j '.
Another example of embodiment of the present invention may remove a general rule for a character class or a set of characters classes, such as removing rules related to the bottom right serif of the letter 'a' when we encounter the version without serif as in 'a'.
Another embodiment of the present invention comprises a computer program executing the method according to the invention outlined above, wherein the original text image 10 is provided by an attached scanner device or another electronic image acquisition device (such as a digital camera) in communication with the computer system running the computer program. Dictionary or character frequency tables 14 and set of rules 18 are organized as database records in this example of embodiment.

Claims

C l a i m s :
1.
Method for recognizing distorted text comprised in a computer image of the text, wherein the method comprises at least one a priori defined recognition scheme for recognizing unknown characters, wherein the method comprises the steps of:
a) establishing at least one appropriate recognition rule in the recognition scheme for words or partial words found in the distorted text image by using at least a part of the recognition scheme, b) using the established at least one recognition rule in a) on the computer image of the text providing a first output stream comprising reliable recognized words and a second output stream comprising dubious recognized words, c) identifying at least one geometrical feature in the distorted text image related to actual characters encountered in the text image of same character classes, and establishing at least one additional recognition rule in the recognition scheme based on the at least one geometrical feature of the actual character encountered in the text, d) whenever there is a second output stream in b) comprising dubious recognized words, provide adaptation of rules in step a), b) and c) according to actual appearance of characters encountered in the computer image of the text before continuing recognizing words, e) iteratively carry out step a), b), c) and d), respectively until a predefined stop criteria is reached.
2.
Method according to claim 1, wherein the step a) comprises checking an a priori probability for a set of identified features of a chain of characters or character classes in the provided distorted text by dictionary lookup for recognizing the words or parts of the words.
3.
Method according to claim 1, wherein the step a) comprises template matching based on a template library included in the recognition scheme for recognizing the words or parts of the words.
4.
Method according to claim 1, wherein the step a) comprises using character statistics in combination with a dictionary for recognizing the words or parts of words.
5.
Method according to claim 1, wherein the step a) comprises using a word list for recognizing the words or parts of the words.
s
6.
Method according to claim 1, wherein a result of recognized words or parts of words from the step a) is used to create a word list in the recognition scheme.
7. o Method according to claim 1, wherein a result of recognized words or parts of words from the step a) is used to create a dictionary look up table in the recognition scheme.
8.
Method according to claim 1, wherein the step a) comprises using at least two parts of s the recognition scheme and selecting the result of the part providing higher reliable recognition of the words or parts of words.
9.
Method according to claim 1, wherein the step c) comprises using a smaller set of 0 structural features identifying the geometrical feature.
10.
Method according to claim I3 wherein the step d) comprises deleting an established rule 5 in the recognition scheme if such a rule provides reduced recognition.
11.
Method according to claim 1, wherein the adapted rules in the step d) comprises 0 adjusting a parameter such as probability, score value, weight value or similar parameter used in recognition rules comprised in the recognition scheme.
12.
Method according to claim 11, wherein the adapted rules in the step d) is used to 5 establish a further additional appropriate recognition rule in the recognition scheme.
13.
Method according to claim 1, wherein the step d) comprises using the recognized words in the step a) to adapt recognition rules comprised in the recognition scheme.
s
14.
Method according to claim 1, wherein the step e) further comprises handling remaining dubious recognized words by assigning the dubious recognized words to be equal with corresponding words found as being a candidate with highest probability as being the word after the iterative process is finished. Q
15.
Method according to claim 14, wherein the assigning comprises labeling the assigned words as assigned words.
s
16.
Method according to claim 1, wherein the at least one identified geometrical feature in the step c) comprises measuring grey scale of the distorted text.
17. Q Method according to claim 1 and 16, wherein the adaptation in the step d) comprises increasing a number of pixels of the at least one identified geometrical feature by grey scale interpolating the increased number of pixels.
18. 5 System (1) for recognizing distorted text comprised in a computer image (10) of the text, wherein the system (1) comprises program modules that when executed provides at least one a priori defined recognition rule stored in a storage (18) for recognizing unknown characters, wherein recognition rules stored in storage (18) is processed by a recognition process (11) receiving the image (10), wherein the system comprises: Q f) program module when executed providing at least one appropriate recognition rule in the storage (18) for words or partial words found in the distorted text image (10), g) program module when executed using the at least one recognition rule in f) on 5 the computer image (10) of the text providing a first output stream (16) comprising reliable recognized words and a second output stream (15) comprising dubious recognized words, h) program module when executed identifying at least one geometrical feature in the distorted text image (10) related to actual characters encountered in the text image of same character classes, and establishing at least one additional recognition rule in the storage (18) based on the at least one geometrical feature of the actual character encountered in the text, i) program module when executed identifying if there is a second output stream (15) in g), and then provides adaptation of rules executed in program module f), g) and h) according to actual appearance of characters encountered in the computer image of the text before continuing executing program modules, j) program module when executed testing a predefined stop criteria before continuing processing the program modules in f), g), h) and i), resepctively.
19.
System according to claim 18, wherein the program module in f) when executed comprises checking an a priori probability for a set of identified features of a chain of characters or character classes in the provided distorted text (10) by a dictionary lookup process (13) for recognizing the words or parts of the words.
20.
System according to claim 18, wherein the program module in f) when executed comprises template matching based on a template library included in the recognition system (1) for recognizing the words or parts of the words.
21.
System according to claim 18, wherein the program module in f) when executed comprises using character statistics (14) in combination with a dictionary (13) for recognizing the words or parts of words.
22.
System according to claim 18, wherein the program module in f) when executed comprises using a word list in the recognition system (1) for recognizing the words or parts of the words.
23.
System according to claim 18, wherein a result of recognized words or parts of words from the program module in f) when executed is used to create a word list in the recognition system (1).
24.
System according to claim 18, wherein a result of recognized words or parts of words from the program module in f) when executed is used to create a dictionary look up table (13) in the recognition system (1).
25.
System according to claim 18, wherein the program module in f) when executed further comprises using at least two of the recognition rules in storage (18), and selecting the result of the rule providing higher probability of recognition of the words or parts of words.
26.
System according to claim 18, wherein the program module in h) when executed further comprises using a smaller set of structural features identifying the geometrical feature.
27.
System according to claim 18, wherein the program module in i) when executed further is used to establish an additional appropriate recognition rule in the recognition rule storage (18).
28.
System according to claim 27, wherein the program module in i) when executed further comprises removing an established rule in the recognition rule storage (18) if such a rule provides reduced recognition.
29.
System according to claim 18, wherein the program module in i) when executed further comprises adjusting a parameter such as probability, score value, weight value or similar parameter used in recognition rules comprised in the recognition rule storage (18) by the adaptation process (17).
30. System according to claim 18, wherein the program module in i) when executed further comprises using the recognized words from the program module f) to adapt recognition rules comprised in the recognition rule storage (18).
31.
System according to claim 18, wherein the program module in g) when executed further comprises handling remaining dubious recognized words by assigning the dubious 5 recognized words to be equal with corresponding words found as being a candidate with highest probability as being the word after the iterative process is finished.
32.
System according to claim 31, wherein the program module in j) when executed further o comprises labeling the assigned words as assigned words.
33.
Method according to claim 31, wherein the program module in i) when executed further comprises removing the dubious recognized words. 5
34.
System according to claim 18, wherein the program module in i) when executed further comprises identifying at least one geometrical feature in the program module h) when executed comprising measuring grey scale of the distorted text. Q
35.
System according to claim 18 and 34, wherein the program module in i) when executed further comprises increasing a number of pixels of the at least one identified geometrical feature by grey scale interpolating the increased number of pixels.
PCT/NO2006/000092 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images WO2006098632A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CA2601144A CA2601144C (en) 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images
EP06716765.0A EP1866838A4 (en) 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images
US11/908,750 US8208736B2 (en) 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images
AU2006223761A AU2006223761B2 (en) 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images
IL185752A IL185752A (en) 2005-03-17 2007-09-05 Method and system for adaptive recognition of distorted text in computer images
NO20075309A NO20075309L (en) 2005-03-17 2007-10-17 Method and system for adaptive recognition of distorted text in computer images

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
NO20051412 2005-03-17
NO20051412A NO20051412D0 (en) 2005-03-17 2005-03-17 Method and system for adaptive recognition of degraded text in computer images

Publications (1)

Publication Number Publication Date
WO2006098632A1 true WO2006098632A1 (en) 2006-09-21

Family

ID=35267096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/NO2006/000092 WO2006098632A1 (en) 2005-03-17 2006-03-13 Method and system for adaptive recognition of distorted text in computer images

Country Status (7)

Country Link
US (1) US8208736B2 (en)
EP (1) EP1866838A4 (en)
AU (1) AU2006223761B2 (en)
CA (1) CA2601144C (en)
IL (1) IL185752A (en)
NO (1) NO20051412D0 (en)
WO (1) WO2006098632A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009113869A1 (en) * 2008-03-12 2009-09-17 Lumex As A word length indexed dictionary for use in an optical character recognition (ocr) system.

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7480411B1 (en) * 2008-03-03 2009-01-20 International Business Machines Corporation Adaptive OCR for books
US9305245B2 (en) * 2013-05-07 2016-04-05 Xerox Corporation Methods and systems for evaluating handwritten documents
US9870520B1 (en) * 2013-08-02 2018-01-16 Intuit Inc. Iterative process for optimizing optical character recognition
US9984287B2 (en) * 2015-03-05 2018-05-29 Wipro Limited Method and image processing apparatus for performing optical character recognition (OCR) of an article
JP6575116B2 (en) * 2015-04-03 2019-09-18 富士ゼロックス株式会社 Character recognition device, character recognition processing system, and program
US10785260B2 (en) 2018-08-09 2020-09-22 Morgan Stanley Services Group Inc. Optically analyzing domain names
CN109933756B (en) * 2019-03-22 2022-04-15 腾讯科技(深圳)有限公司 Image file transferring method, device and equipment based on OCR (optical character recognition), and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0482427A2 (en) * 1990-10-25 1992-04-29 Hughes Aircraft Company Self adaptive hierarchical target indentification and recognition neural network
US5917941A (en) * 1995-08-08 1999-06-29 Apple Computer, Inc. Character segmentation technique with integrated word search for handwriting recognition
US6028970A (en) * 1997-10-14 2000-02-22 At&T Corp Method and apparatus for enhancing optical character recognition
US20060005017A1 (en) * 2004-06-22 2006-01-05 Black Alistair D Method and apparatus for recognition and real time encryption of sensitive terms in documents

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4499596A (en) * 1982-06-28 1985-02-12 International Business Machines Corporation Adaptive facsimile compression using a dynamic extendable decision network
US4975975A (en) * 1988-05-26 1990-12-04 Gtx Corporation Hierarchical parametric apparatus and method for recognizing drawn characters
US5970170A (en) 1995-06-07 1999-10-19 Kodak Limited Character recognition system indentification of scanned and real time handwritten characters
US5966460A (en) * 1997-03-03 1999-10-12 Xerox Corporation On-line learning for neural net-based character recognition systems
EP1312038B1 (en) * 2000-07-28 2013-10-16 RAF Technology, Inc. Orthogonal technology for multi-line character recognition
US7343041B2 (en) * 2001-02-22 2008-03-11 International Business Machines Corporation Handwritten word recognition using nearest neighbor techniques that allow adaptive learning
US7480411B1 (en) * 2008-03-03 2009-01-20 International Business Machines Corporation Adaptive OCR for books

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0482427A2 (en) * 1990-10-25 1992-04-29 Hughes Aircraft Company Self adaptive hierarchical target indentification and recognition neural network
US5917941A (en) * 1995-08-08 1999-06-29 Apple Computer, Inc. Character segmentation technique with integrated word search for handwriting recognition
US6028970A (en) * 1997-10-14 2000-02-22 At&T Corp Method and apparatus for enhancing optical character recognition
US20060005017A1 (en) * 2004-06-22 2006-01-05 Black Alistair D Method and apparatus for recognition and real time encryption of sensitive terms in documents

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1866838A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009113869A1 (en) * 2008-03-12 2009-09-17 Lumex As A word length indexed dictionary for use in an optical character recognition (ocr) system.

Also Published As

Publication number Publication date
AU2006223761B2 (en) 2011-04-28
EP1866838A1 (en) 2007-12-19
US8208736B2 (en) 2012-06-26
CA2601144C (en) 2016-01-26
IL185752A (en) 2014-12-31
AU2006223761A1 (en) 2006-09-21
US20080144977A1 (en) 2008-06-19
CA2601144A1 (en) 2006-09-21
IL185752A0 (en) 2008-01-06
EP1866838A4 (en) 2014-12-24
NO20051412D0 (en) 2005-03-17

Similar Documents

Publication Publication Date Title
AU2006223761B2 (en) Method and system for adaptive recognition of distorted text in computer images
US7650035B2 (en) Optical character recognition based on shape clustering and multiple optical character recognition processes
US8131085B2 (en) Shape clustering in post optical character recognition processing
US7646921B2 (en) High resolution replication of document based on shape clustering
US7697758B2 (en) Shape clustering and cluster-level manual identification in post optical character recognition processing
Balci et al. Handwritten text recognition using deep learning
US11836969B2 (en) Preprocessing images for OCR using character pixel height estimation and cycle generative adversarial networks for better character recognition
Yadav et al. A robust approach for offline English character recognition
US7505632B2 (en) Method, apparatus and storage medium for enhancing document image, method, apparatus and storage medium for character recognition
EP2116971A2 (en) Shape clustering in document image processing
Aravinda et al. Template matching method for Kannada handwritten recognition based on correlation analysis
JP2011257896A (en) Character recognition method and character recognition apparatus
Jameel et al. A REVIEW ON RECOGNITION OF HANDWRITTEN URDU CHARACTERS USING NEURAL NETWORKS.
Ajao et al. Yoruba handwriting word recognition quality evaluation of preprocessing attributes using information theory approach
JP3730073B2 (en) Template creation method, apparatus, and recording medium recording template creation program
JP3868637B2 (en) Character recognition device, dictionary creation method, and recording medium
Gajjar et al. Top down hierarchical histogram based approach for printed devnagri script charecter isolation
Mahasukhon et al. Hand-printed English character recognition based on fuzzy theory
Eldhose et al. Disambiguated archieve rectification
Sandar A Comparison of Recognition for Off-line Myanmar Handwriting and Printed Characters
JPS63109592A (en) Character recognition system
JPH04343193A (en) Binary threshold setting method
JPS61269780A (en) Character recognizing system
Koga et al. A recognition method of the machine-printed monetary amounts based on the two-dimensional character segmentation
JPH076207A (en) Character recognition device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 185752

Country of ref document: IL

WWE Wipo information: entry into national phase

Ref document number: 2601144

Country of ref document: CA

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 3629/KOLNP/2007

Country of ref document: IN

REEP Request for entry into the european phase

Ref document number: 2006716765

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2006716765

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: RU

WWE Wipo information: entry into national phase

Ref document number: 2006223761

Country of ref document: AU

WWP Wipo information: published in national office

Ref document number: 2006223761

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 11908750

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 2006716765

Country of ref document: EP