This patent application relates to devices and methods for identifying in natural images or video frames, regions to merge that may contain text.
Identification of text regions in documents that are scanned (e.g. by an optical scanner of a printer or copier) is significantly easier than detecting text regions in images generated by a handheld camera, of scenes in the real world (also called “natural images”). Specifically, optical character recognition (OCR) methods of the prior art originate in the field of document processing, wherein the document image contains a series of lines of text (e.g. 20 lines of text) of a scanned page in a document. Document processing techniques, although successfully used on scanned documents created by optical scanners, generate too many false positives and/or negatives so as to be impractical when used on natural images. Hence, detection of text regions in a real world image generated by a handheld camera is performed using different techniques. For additional information on techniques used in the prior art, to identify text regions in natural images, see the following articles that are incorporated by reference herein in their entirety as background:
Additionally, presence in natural images, of text written in non-English languages, such as Hindi can result in false positives/negatives, when technique(s) developed primarily for identifying text in the English language are used in classification of regions as text/non-text. For example, although blocks in regions that contain text in the English language may be correctly classified to be text (e.g. by a neural network), one or more blocks 103A, 103B, 103C and 103D (
One or more prior art criteria that are used by a classifier to identify text in natural images can be relaxed, so that blocks 103A-103D are then classified as text, but on doing so one or more portions of another region 105 (
Moreover, when a natural image 107 (
Accordingly, there is a need to improve the identification of regions of text in a natural image or video frame, as described below.
In several aspects of described embodiments, an electronic device and method use a camera to capture an image of a scene of real world outside the electronic device, followed by identification of blocks that enclose regions of pixels in the image, with each region being initially included in a single block. Depending on the embodiment, each region may be identified to have pixels contiguous with one another and including a local extrema (maxima or minima) of intensity in the image, e.g. a maximally stable extremal region (MSER). In some embodiments, each block that contains such a region (which may constitute a “connected component”) is checked, prior to classification as text or non-text, as to whether a predetermined test is met, for presence along a line, of pixels that have intensities binarizable to a common value (e.g. value 0 or 1) in the block. When the predetermined test is met for a block, the block is marked in memory as pixel-line-present (and otherwise the block may be marked as pixel-line-absent).
In certain embodiments, a pixel-line-present block is used to identify one or more blocks that are located adjacent thereto. Blocks identified as being located adjacent may be merged with a pixel-line-present block to which they are adjacent (e.g. when one or more rules for merging are met), to obtain a merged block. In several embodiments, a first set of positions of pixels of a first region in a first block marked as pixel-line-present is merged with a second set of positions of pixels of a second region in a second block adjacent thereto, to obtain a merged set of positions of a merged block. In the just-described merged block, pixels of the first region and pixels of the second region do not contact one another because, each region itself constitutes a connected component, that is normally unconnected to any other such region.
Merging of two or more blocks as described above is performed prior to classification of any pixel in the blocks being merged (e.g. in the first region of pixels and the second region of pixels) as text or non-text. Hence, a verification operation is additionally performed, wherein the above-described checking is re-done in some embodiments, on the merged block (with multiple connected components therein). Specifically, in some embodiments, as pixels in the blocks that are merged have not yet been classified as text or non-text, hence the checking is repeated (or re-done), in order to verify that the merged block itself satisfies the predetermined test, for presence along a line, of a plurality of pixels with intensities that are binarizable to the common value, (also called “pixel line”) in a binarized version of the merged block.
The predetermined test may or may not be met by the merged block, e.g. depending on intensities of pixels in the blocks that are merged. On verification, when the predetermined test for presence of a pixel line is found to be met by the merged block (with multiple connected components therein), then the merged block may itself (as a whole) be classified as text or non-text, e.g. by use of a neural network. The merged block, on being classified as text, may then be further processed normally, e.g. subject to optical character recognition (OCR), wherein the merged block is sliced into sub-blocks, followed by detection of a character of text in each sub-block.
In some embodiments, one or more of the checking, the marking, the identifying, the merging, the repeating (or re-doing) and the classifying described above are performed by one or more processor(s) that are operatively coupled to the memory (described above) and configured to execute computer instructions stored in the memory (or in another non-transitory computer readable storage media). Moreover, in some embodiments, one or more non-transitory storage media include a plurality of computer instructions, which when executed, cause one or more processors in a handheld device to perform operations, and these computer instructions include computer instructions to perform one or more of the checking, the marking, the identifying, the merging, the repeating and the classifying described above.
In certain embodiments, one or more acts of the type described above are performed by a mobile device (such as a smart phone) that includes a camera, a memory operatively connected to the camera to receive images therefrom, and at least one processor operatively coupled to the memory and configured to execute computer instructions stored in the memory (or in another non-transitory computer readable storage media). On execution of the computer instructions, the processor processes an image to generate a merged block that is obtained by merging a pixel-line-present block with a block adjacent thereto, followed by verification of presence of a pixel line in the merged block, followed by classification of the pixel-line-present merged block as text or non-text, followed by OCR of blocks that are classified as text (in the normal manner). In some embodiments, an apparatus includes several means implemented by logic in hardware or logic in software or a combination thereof, to perform one or more acts described above.
It is to be understood that several other aspects of the described embodiments will become readily apparent to those skilled in the art from the description herein, wherein it is shown and described various aspects by way of illustration. The drawings and detailed description below are to be regarded as illustrative in nature and not as restrictive.
A number of regions of an image of a real world scene (e.g. an image 107 of a newspaper 100 in
Accordingly, an image 107 (e.g. a hand-held camera captured image) received by a processor 1013 of mobile device 200 in certain described embodiments, as per act 211 in
After receipt of image 107, processor 1013 in described embodiments identifies, as per act 212 in
Specifically, MSERs that are identified in act 212 of some embodiments are regions that are geometrically contiguous (with any one pixel in the region being reachable from any other pixel in the region by traversal of one or more pixels that contact one another in the region) with monotonic transformation in property values, and invariant to affine transformations (transformations that preserve straight lines and ratios of distances between points on the straight lines). Boundaries of MSERs may be used as connected components in some embodiments described herein, to identify regions of an image, as candidates for recognition as text.
In several of the described embodiments, regions in image 107 are automatically identified in act 212 based on variation in intensities of pixels by use a method of the type described by Matas et al., e.g. in an article entitled “Robust Wide Baseline Stereo from Maximally Stable Extremal Regions” Proc. Of British Machine Vision Conference, pages 384-396, published 2002 that is incorporated by reference herein in its entirety. The time taken to identify MSERs in an image can be reduced by use of a method of the type described by Nister, et al., “Linear Time Maximally Stable Extremal Regions”, ECCV, 2008, Part II, LNCS 5303, pp 183-196, published by Springer-Verlag Berlin Heidelberg that is also incorporated by reference herein in its entirety. Another such method is described in, for example, an article entitled “Robust Text Detection In Natural Images With Edge-Enhanced Maximally Stable Extremal Regions” by Chen et al, IEEE International Conference on Image Processing (ICIP), September 2011 that is incorporated by reference herein in its entirety.
The current inventors note that prior art methods of the type described by Chen et al. or by Matas et al. or by Nister et al. identify hundreds of MSERs, and sometimes identify thousands of MSERs in an image 107 that includes details of natural features, such as leaves of a tree or leaves of plants, shrubs, and bushes. Hence, use of MSER methods of the type described above result in identification of regions whose number depends on the content within the image 107. Moreover, a specific manner in which pixels of a region differ from surrounding pixels at the boundary identified by such an MSER method may be predetermined in some embodiments by use of a lookup table in memory. Such a lookup table may supply one or more specific combinations of values for the parameters Δ and Max Variation, which are input to an MSER method (also called MSER input parameters). Such a lookup table may be populated ahead of time, with specific values for Δ and Max Variation, e.g. determined by experimentation to generate contours that are appropriate for recognition of text in a natural image, such as value 8 for Δ and value 0.07 for Max Variation.
In some embodiments, pixels are identified in a set (which may be implemented in a list) that in turn identifies a region Qi which includes a local extrema of intensity (such as local maxima or local minima) in the image 107. Such a region Qi may be identified in act 212 (
Other methods that can be used to identify such regions in act 212 may be similar or identical to methods for identification of connected components, e.g. as described in an article entitled “Application of Floyd-Warshall Labelling Technique: Identification of Connected Pixel Components In Binary Image” by Hyunkyung Shin and Joong Sang Shin, published in Kangweon-Kyungki Math. Jour. 14 (2006), No. 1, pp. 47-55 that is incorporated by reference herein in its entirety, or as described in an article entitled “Fast Connected Component Labeling Algorithm Using A Divide and Conquer Technique” by Jung-Me Park, Carl G. Looney and Hui-Chuan Chen believed to be published in Matrix (2000), Volume: 4, Issue: 1, Publisher: Elsevier LTD, pp 4-7 that is also incorporated by reference herein in its entirety.
A specific manner in which regions of an image 107 are identified in act 212 by mobile device 200 in described embodiments can be different, depending on the embodiment. Each region of image 107 that is identified by use of an MSER method of the type described above is represented by act 212 in the form of a list of pixels, with two coordinates for each pixel, namely the x-coordinate and the y-coordinate in two dimensional space (of the image).
After identification of regions, each region is initially included in a single rectangular block which may be automatically identified by mobile device 200 of some embodiments in act 212, e.g. as a minimum bounding rectangle of a region, by identification of a largest x-coordinate, a largest y-coordinate, a smallest x-coordinate and a smallest y-coordinate of all pixels within the region. The just-described four coordinates may be used in act 212, or subsequently when needed, to identify the corners of a rectangular block that tightly fits the region. As discussed below, such a block (and therefore its four corners) may be used in checking whether a predetermined rule is satisfied, e.g. by one or more geometric attributes of the block relative to an adjacent block (such as overlap of projection (“support”) on a common line). Also, a block's four sides may need to be identified, in order to identify all pixels in the block and their binarizable values, followed by generation of a profile of counts of pixels of a common binary value. When needed, four corners of a rectangular block that includes a region may be identified, e.g. as follows:
After a set of blocks are identified in act 212, such as block 302 in
Processor 1013 of certain embodiments is programmed, in any deterministic manner that will be apparent to the skilled artisan in view of this detailed description, to determine occurrence of pixels binarizable to value 1 (or alternatively to value 0) along a straight line defined by the equation y=mx+c that satisfy a specific test. For example, some embodiments of processor 1013 may be programmed to simply enter the x,y coordinates of all pixels of a block 302 into such an equation, to determine for how many pixels in the block (that are binarizable to value 1) is such an equation satisfied (e.g. within preset limits). For example, to check if there is a straight line that is oriented parallel to the x-axis in block 302, processor 1013 may be programmed to set the slope m=0, then check if there are any pixels in block 302 at a common y coordinate (with a value of the constant c in the above-identified equation), which can be binarized to the value 1 (and then repeat for the value 0). In this manner, processor 1013 may be programmed to use a series of values (e.g. integer values) of constant “c” in the equation, to check for presence of lines parallel to the x-axis, at different values of y-coordinates of pixels in block 302.
During operation 220 (of pixel-line-presence detection), processor 1013 of some embodiments performs at least three acts 221-223 as follows. Specifically, in act 221 of several embodiments, processor 1013 is programmed to perform an initial binarization of pixels of a block 302 which is fitted around a region (e.g. the region in
Next, in act 222, processor 1013 is programmed to test for the presence or absence of a straight line passing through positions of the just-described binary-valued pixels (resulting from act 221) in the block. For example, in act 222 of some embodiments, processor 1013 checks whether a test (“pixel-line-presence test” or simply “line-presence test”) is satisfied, for detecting the presence of a line segment 305 (
Along the straight line 304 shown in
In one example, act 222 determines that a pixel line is present in block 302 along straight line 304 when straight line 304 is found to have the maximum number of black pixels (relative to all the lines tested in block 302). In another example, act 222 further checks that the maximum number of black pixels along straight line 304 is larger than a mean of black pixels along the lines being tested by a predetermined amount and if so then block 302 is determined to have a pixel line present therein. The same test or a similar test may be alternatively performed with white pixels in some embodiments of act 222. Moreover, in some embodiments of act 212, the same test or a similar test may be performed on two regions of an image, namely the regions called MSER+ and MSER−, generated by an MSER method (with intensities inverted relative to one another).
In some embodiments, block 302 is subdivided into rows oriented parallel to the longitudinal direction of block 302. Some embodiments of act 222 prepare a histogram of counters, based on pixels identified in a list of positions indicative of a region, with one counter being used for each unit of distance (“bin” or “row”) along a height (in a second direction, which is perpendicular to a first direction (e.g. the longitudinal direction)) of block 302. In some embodiments, block 302 is oriented with its longest side along the x-axis, and perform act 222 by sorting pixels by their y-coordinates followed by binning (e.g. counting the number of pixels) at each intercept on the y-axis (which forms a bin), followed by identifying a counter which has the largest value among counters. Therefore, the identified counter identifies a peak in the histogram, which is followed by checking whether a relative location of the peak (along the y-axis) happens to be within a predetermined range, e.g. top ⅓rd of block height, and if so the pixel-line-presence test is met. So, a result of act 222 in the just-described example is that a pixel line (of black pixels) has been found to be present in block 302.
In several aspects of the described embodiments, processor 1013 is programmed to perform an act 223 to mark in a storage element 381 of memory 1012 (by setting a flag), based on a result of act 222, e.g. that block 302 has a line of pixels present therein (or has no pixel line present, depending on the result). Instead of setting the flag in storage element 381, block 302 may be identified in some embodiments as having a pixel line present therein, by including an identifier of block 302 in a list of identifiers 501 (
After performance of act 223 (
After operation 220, processor 1013 of some embodiments performs operation 230 wherein a block 302 which has been marked as pixel-line-present is tested for possible merger with one or more blocks that are adjacent to block 302, e.g. by applying one or more predetermined rules. Processor 1013 of some embodiments is programmed to perform an operation 230 (also called “merger operation”) which includes at least three acts 231, 233 and 233 as follows. In act 231, each block which has no intervening block between itself and a pixel-line-present block, and which is located at less than a specified distance (e.g. half of height of pixel-line-present block), is identified and marked in memory 1012 as “adjacent.”
In some embodiments of act 231, mobile device 200 uses each block 302 that has been marked as pixel-line-present in act 222, to start looking for and marking in memory 1012 (e.g. in a list 502 in
In act 232 of some embodiments, processor 1013 merges a pixel-line-present block with a block adjacent to it, when they are sufficiently close to one another (as indicated by a specific test, e.g. a distance (or separation) between blocks is less than height of pixel-line-present block) as identified in act 231. On completion of the merged, pixels in the merged block include at least pixels in the pixel-line-present block and pixels in the adjacent block (which may or may not have a pixel line present therein). A specific technique that is used in act 231 to merge two adjacent blocks can be different, depending on the embodiment, etc.
In some embodiments, a first list of positions of pixels of a first region 403R in a block 403 (
After act 233, processor 1013 of some embodiments returns to act 231 to identify an additional block that is located adjacent to the merged block. The additional block which is adjacent to the merged block (e.g. formed by merging a first block and a second block) may be a third block which has a third region therein. Therefore, in act 232 of some embodiments, processor 1013 merges a merged set of positions of the merged block with an additional set of positions of the third region in the third block. Depending on the image, the additional block which is adjacent to a merged block may itself be another merged block (e.g. formed by merging a third block with a third region therein and a fourth block with a fourth region therein). At least one of the third block and the fourth block is marked as pixel-line-present (for these two blocks to have been merged to form the additional block). Hence, act 232 in this example merges two blocks each of which is itself a merged block. Accordingly, the result of act 232 is a block that includes positions of pixels in each of the first block, the second block, the third block and the fourth block.
In some embodiments, act 232 is performed conditionally, only when certain predetermined rules are met by two blocks that are adjacent to one another. Specifically, in such embodiments, whether or not two adjacent blocks can be merged is typically decided by application of one or more rules that are predetermined (called “clustering rules”), which may be based on attributes and characteristics of a specific script, such as Devanagari script. The predetermined rules, although based on properties of a predetermined script of a human language, are applied in operation 230 of some embodiments, regardless of whether the two or more blocks being tested for merger are text or non-text. Different embodiments use different rules in deciding whether or not to merge two blocks, and hence specific rules are not critical to several embodiments. The one or more predetermined rules applied in operation 230 either individually or in combination with one another, to determine whether or not to merge a pixel-line-present block with its adjacent block may be different, depending on the embodiment, and specific examples are described below in reference to
As noted above, it is not known to processor 1013, at the time of performance of operation 220, whether any region(s) in a block 403 (
Depending on the content of the image, a block which is marked by operation 220 as pixel-line-present may have a region representing a non-text feature in the image, e.g. a branch of a tree, or a light pole. Another block of the image, similarly marked by operation 220 as pixel-line-present, may have a region representing a text feature in the image, e.g. text with the format strike-through (in which a line is drawn through middle of text), or underlining (in which a line is drawn through bottom of text), or shiro-rekha (a headline in Devanagari script). So, operation 220 is performed prior to classification as text or non-text, any pixels in the regions that are being processed in operation 220.
In some embodiments, block 302, which is marked in memory 1012 as “pixel-line-present”, contains an MSER whose boundary may (or may not) form one or more characters of text in certain languages. In some languages, characters of text may contain and/or may be joined to one another by a line segment formed by pixels in contact with one another and spanning across a word formed by the multiple characters, as illustrated in
Specifically, in some embodiments, after operation 230, mobile device 200 performs operation 240 which includes several acts that are performed normally prior to OCR, such as geometric rectification of scale (by converting parallelograms into rectangles, re-sizing blocks to a predetermined height, e.g. 48 pixels) and/or detecting and correcting tilt or skew. Hence, depending on the embodiment, a merged block obtained from operation 230 may be subject to skew correction, with or without user input. Operation 240 (for verification) of several embodiments further includes re-doing (i.e. repeating) the binarization in act 241 (see
Pixel intensities that are used in binarization and in pixel-line-presence test in operation 240 (
Accordingly, in several embodiments, binarization and pixel-line-presence test are performed twice, a first time in operation 220 and a second time in operation 240. So, a processor 1013 is programmed with computer instructions in some embodiments, to re-do the binarization and pixel-line-presence test, initially on pixels in at least one block and subsequently on pixels in a merged block (obtained by merging the just-described block and one or more blocks adjacent thereto). Note that at the time of performance of each of operations 220 and 240 it is not known whether or not the pixels (on which the operations are being performed) are text or non-text. This is because classification of pixels as text or non-text in operation 250 is performed after performance of both operations 220 and 240. Performing binarization and pixel-line-presence test twice, while the pixels are not classified as text/non-text, as described is believed to improve accuracy subsequently in operations 250 and 260 (described below).
A merged block that passes the pixel-line-presence test in operation 240 is thereafter subject to classification as text or non-text, in an operation 250. Operation 250 may be performed in the normal manner, e.g. by use of a classifier that may include a neural network. Such a neural network may use learning methods of the type described in, for example, U.S. Pat. No. 7,817,855 that is incorporated by reference herein in its entirety. Alternatively, operation 250 may be performed in a deterministic manner, depending on the embodiment.
After operation 250, a merged block that is classified as text is processed by an operation 260 to perform optical character recognition (OCR) in the normal manner. Therefore, processor 1013 supplies information related to a merged block (such as coordinates of the four corners) to an OCR system, in some embodiments. During OCR, processor(s) 1013 of certain embodiments obtains a sequence of sub-blocks from the merged block in the normal manner, e.g. by subdividing (or slicing). Sub-blocks may be sliced from a merged block using any known method e.g. based on height of the text region, and a predetermined aspect ratio of characters and/or based on occurrence of spaces outside the boundary of pixels identified as forming an MSER region but within the text region. The result of slicing in operation 260 is a sequence of sub-blocks, and each sub-block is then subject to optical character recognition (OCR).
Specifically, in operation 260, processor(s) 1013 of some embodiments form a feature vector for each sub-bock and then decode the feature vector, by comparison to corresponding feature vectors of letters of a predetermined alphabet, to identify one or more characters (e.g. alternative characters for each block, with a probability of each character), and use one or more sequences of the identified characters with a repository of character sequences, to identify and store in memory 1012 (and/or display on a touch-sensitive screen 1001 or a normal screen 1002) a word identified as being present in the merged block.
As noted above, it is not known in operation 220, whether or not block 302 (
Note however, that even when text is actually contained in block 302, a line segment 305 of pixels that is detected in operation 220 may be oriented longitudinally relative to a block 302 (
Depending on the font and the script of the text in an image, lines of pixels of a common binary value that traverse a block need not be strictly longitudinal or strictly lateral. Instead, a longitudinally-oriented line of pixels can be but need not be longitudinal. So, a longitudinally-oriented line in a block may be at a small angle (e.g. less than 20° or 10°) relative to a top side (or bottom side) of the block, depending on a pose of (i.e. position and orientation of) camera 1011 relative to a scene. When block 302 has its longitudinal direction oriented parallel (or within the small angle) to the x-axis (e.g. after geometric rectification, scaling and tilt correction), a longitudinal pixel line through block 302 has a constant y coordinate, which is tested in some embodiments by setting slope m to zero and using a series of values of constant “c”, as described above.
A pixel-line-presence test used in act 222 (
In certain illustrative embodiments, the language identified by processor 1013 is Hindi, and the pixel-line-presence test that is selected in act 202 (
On completion of operation 220 (
Accordingly, accuracy in identifying text regions of a natural image (or video frame) is higher when using blocks that have been merged (based on presence of a pixel line in or between multiple characters) than the accuracy of prior art methods known to the inventors. For example, OCR accuracy of block 425 (
As noted above in reference to act 222 of operation 220,
The just-described binarization technique is just one example, and other embodiments may apply other techniques that are readily apparent in view of this disclosure. In a simpler example, the current pixels' intensity may be compared to just a mean intensity across all pixels in block 302, and if the current pixel's intensity exceeds the mean, the current pixel is marked as 1 (in act 314) else the current pixel is marked as 0 (in act 315). Hence, mobile device 200 may be programmed to binarize pixels by 1) using pixels in a block to determine a set of one or more thresholds that depend on the embodiment, and 2) compare each pixel in the block with this set of thresholds, and 3) subsequently set the binarized value to 1 or 0 based on results of the comparison.
On completion of acts 314 and 315, control returns to act 312 to select a next pixel for binarizing, and the above-described acts are repeated when not all pixels in the current row have been visited (as per act 316). When act 316 finds that all pixels in a row of the block have been binarized, the number of pixels with value 1 in binary (e.g. black pixels) in each row “J” of block 302 is counted (as per act 317 in
Instead, after projection count N[J] is computed for all rows of a block 302 to form the histogram, the looping ends, and control transfers to operation 320 that computes attributes at the level of blocks, e.g. in acts 321 and/or 322. In act 321, mobile device 200 identifies a row Hp that contains a maximum value Np of all projection counts N[0]-N[450] in block 302, i.e. the value of peak 308 in graph 310 in the form of a histogram of counts of black pixels (alternatively counts of white pixels). At this stage, a row Hp (e.g. counted in bin 130 in
Thereafter, mobile device 200 checks (in act 331) whether the just-computed values Nm and Np satisfy a preset criterion on intensity of a peak 308. An example of such a peak-intensity preset criterion is Nm/Np≧1.75, and if not then the block 302 is marked as “pixel-line-absent” in act 332 and if so then block 302 may be marked as “pixel-line-present” in act 334 (e.g. in a location in memory 1012 shown in
In some embodiments, the additional preset criterion is on a location of peak 308 relative to a span of block 302 in a direction perpendicular to the direction of projection, e.g. relative to height of block 302. Specifically, a peak-location preset criterion may check where a row Hp (containing peak 308) occurs relative to height H of the text in block 302. For example, such peak-location preset criterion may be satisfied when Hp/H≦r wherein r is a predetermined constant, such as 0.3 or 0.4. Accordingly, presence of a line of pixels is tested in some embodiments within a predetermined rage, such as 30% from an upper end of a block.
When one or more such preset criteria are satisfied in act 334, mobile device 200 then marks the block as “pixel-line-present” and otherwise goes to act 332 to mark the block as “pixel-line-absent.” Although illustrative preset criteria have been described, other such criteria may be used in other embodiments of act 334. Moreover, although certain values have been described for two preset criteria, other values and/or other preset criteria may be used in other embodiments.
Note that a 0.33 value in the peak-location preset criterion described above results in act 334 testing for presence of a peak in the upper ⅓rd region of a block, wherein a pixel line called header line (also called shiro-rekha) is normally present in Hindi language text written in the Devanagari script. However, as will be readily apparent in view of this disclosure, specific preset criteria used in act 334 may be different, e.g. depending on the language and script of text to be detected in an image.
Specifically, in some embodiments, blocks of connected components that contain pixels of text in Arabic are marked as “pixel-line-present” or “pixel-line-absent” in the manner described herein, after applying the following two preset criteria. A first preset criterion for Arabic is same as the above-described peak-intensity preset criterion for Devanagari (namely Nm/Np≧1.75). A second preset criterion for Arabic is a modified form of Devanagari's peak-location preset criterion described above.
For example, the peak-location preset criterion for Arabic may be 0.4≦Hp/H≦0.6, to test for presence of a peak in a middle 20% region of a block, based on profiles for Arabic text shown and described in an article entitled “Techniques for Language Identification for Hybrid Arabic-English Document Images” by Ahmed M. Elgammal and Mohamed A. Ismail, believed to be published 2001 in Proc. of IEEE 6th International Conference on Document Analysis and Recognition, pages 1100-1104, which is incorporated by reference herein in its entirety. Note that although certain criteria are described for Arabic and English (see next paragraph), other similar criteria may be used for text in other languages wherein a horizontal line is used to interconnect letters of a word, e.g. text in the language Bengali (or Bangla).
Furthermore, other embodiments may test for presence of two peaks (e.g. as shown in
Accordingly, while various examples described herein use Devanagari to illustrate certain concepts, those of skill in the art will appreciate that these concepts may be applied to languages or scripts other than Devanagari. For example, embodiments described herein may be used to identify characters in Korean, Chinese, Japanese, Greek, Hebrew and/or other languages.
After marking a block in one of acts 332 and 334, processor 1013 of some embodiments checks if all blocks have been marked by one of acts 332 and 334 by performing an act 335. If the answer in act 335 is no, then some embodiments of processor 1013 checks (in act 336 in
Image 401 is processed by performing a method of some embodiments as described above, and as illustrated in
More specifically, in act 212, a block 402 (also called “first block”) is identified in the example of
In several of the described embodiments, blocks 402-405 are thereafter processed for pixel line presence detection, as described above in reference to operation 220 (
Next, image 401, has the polarity (or intensity) of its pixels reversed (as would be readily apparent to a skilled artisan) and the reversed-polarity version of image 401 is then processed by act 212 (
Next, as per operation 230, each of the blocks 402-404 (also called “pixel-line-present” blocks) are checked for presence of any adjacent blocks that can be merged. Specifically, on checking the block 402 which is identified as pixel-line-present, for any adjacent blocks, a block 411 (
Clustering rules 503 to be applied in operation 230 may be pre-selected, e.g. based on external input, such as identification of Devanagari as a script in use in the real world scene wherein the image is taken. The external input may be automatically generated, e.g. based on geographic location of mobile device 200 in a region of India, e.g. by use of an in-built GPS sensor as described above. Alternatively, external input to identify the script and/or the geographic location may be received by manual entry by a user. Hence, the identification of a script in use can be done differently in different embodiments.
Based on an externally-identified script, one or more clustering rules are predetermined for use in operation 230. In this example, assuming the clustering rules are met, blocks 402 and 411 are merged with one another, to form block 421 (see
Merged blocks that are generated by block merging module 141B as described above may themselves be further processed in the manner described above in operation 230. For example, block 421 (also called “merged” block) is used to identify any adjacent block thereto, and block 422 is found. Then, the block 421 (also called “merged” block) and block 422 are evaluated by use of clustering rule(s) in block merging module 141B, and assuming the rules are met in this example, so block 421 (which is a merged block) and block 422 are merged by block merging module 141B to form block 424 (also called “merged” block) in
In some embodiments, three types of clustering rules 503 are used as follows. A first type of clustering rules 503 are used in block merging module 141B to check if a pixel-line-absent block constitutes an accent mark (also called “modifier” in English or “maatra” in Hindi) of text in the pixel-line-present block (to which the pixel-line-absent block is adjacent). For example, one first type of clustering rule may be used in block merging module 141B to check that the aspect ratio of a pixel-line-absent block lies within a predetermined range e.g. Thresh1≦Length/Breadth of pixel-line-absent block≦Thresh2 wherein Thresh1 and Thresh2 are constants that are empirically determined Another first type of clustering rule may be used in block merging module 141B to check that the location of a pixel-line-absent block is above or below the pixel-line-present block with a predetermined overlap of projections, e.g. check for 90% horizontal overlap and 10% vertical overlap between projections of two blocks on to a horizontal line (e.g. x-axis) and a vertical line (e.g. y-axis) respectively. Yet another first type of clustering rule may be used in block merging module 141B to check that the height of a pixel-line-absent block (“Maatra Height”) is within a certain percentage of the height of the pixel-line-present block (“Word Height”), e.g. Thresh3*Word Height≦Maatra Height≦Thresh4*Word Height.
Still another first type of clustering rule may be used in block merging module 141B to check that a pixel-line-absent block located below a pixel-line-present block is spaced closer than the spacing between another pixel-line-absent block located above the pixel-line-present block. Similarly, some embodiments of block merging module 141B check whether an additional rule of the type described above is satisfied by a predetermined geometric attribute (e.g. aspect ratio) of at least one block (e.g. pixel-line-absent block) relative to another block (e.g. pixel-line-present block). In response to finding that such an additional rule is satisfied, the two blocks are merged in some embodiments.
A second type of clustering rules 503 are used in block merging module 141B to check if two pixel-line-present blocks that are located adjacent to one another constitute a word, with a broken header line in Hindi (or base line in Arabic) resulting in two separate connected components for the single word. For example, one second type of clustering rule may be used in block merging module 141B to check for 0% horizontal overlap and 95% vertical overlap between the two pixel-line-present blocks. Another second type of clustering rule may be used in block merging module 141B to check that a height difference between the two pixel-line-present blocks, as a percentage of the height of one of the blocks is less than 5%. Yet another second type of clustering rule may be used in block merging module 141B to check that the distance between the two pixel-line-present blocks, as a percentage of the length of one of the blocks is less than 5%.
A third type of clustering rules 503 are used in block merging module 141B to check if a pixel-line-absent block constitutes a half letter of text in the pixel-line-present block (with which the pixel-line-absent block overlaps). For example, one third type of clustering rule may be used in block merging module 141B to check that the aspect ratio (i.e. the ratio Length/Breadth) of the pixel-line-absent block is between 0.7 and 0.9 (denoting a half-character of smaller width than a single character) while the aspect of the pixel-line-present block is greater than 2 (denoting multiple characters of greater width than a single character). Yet another third type of clustering rule may be used in block merging module 141B to check for 100% horizontal overlap and 100% vertical overlap between the pixel-line-absent block and the pixel-line-present block, because a broken letter is normally embedded within a main word. Still another third type of clustering rule may be used in block merging module 141B to check that the center of the pixel-line-absent block and the center of the pixel-line-present block have Y coordinates, as a percentage of height of one of the blocks, differ from each other by less than 5%. Finally, one more third type of clustering rule may be used in block merging module 141B to check that a height difference between the pixel-line-present block and the pixel-line-absent block, as a percentage of the height of one of the blocks is less than 5%.
In some embodiments, operation 220 (described above, for pixel line presence detection) and operation 230 are performed assuming that a longitudinal direction of a connected component of text is well-aligned (e.g. within angular range of +5° and −5°) relative to the longitudinal direction of the block containing that connected component. Accordingly, in such embodiments, blocks in which the respective connected components are misaligned may not be marked as “pixel-line-present” and therefore not be merged with their adjacent “pixel-line-absent” blocks.
Accordingly, in some embodiments, skew of one or more connected components relative to blocks that contain them may be identified by performing geometric rectification (e.g. re-sizing blocks), and skew correction (of the type performed in operation 240). Specifically, an operation 270 to detect and correct skew is performed in some embodiments in an operation 270 (after initialization operation 210) as illustrated in
In some embodiments, processor 1013 is programmed to select blocks based on variance in stroke width and automatically detect skew of selected blocks as follows. Processor 1013 checks whether at a candidate angle, one or more attributes of projection profiles meet at least one test for presence of a straight line of pixels, e.g. test for presence of straight line 304 (
Classification of the type described herein in operation 250 may be implemented using machine learning methods (e.g. neural networks) as described in a webpage at http://en.wikipedia.org/wiki/Machine_learning. Other methods of classification in operation 240 that can also be used are described in, for example the following, each of which is incorporated by reference herein in its entirety:
Several operations and acts of the type described herein are implemented by a processor 1013 (
Also, mobile device 200 may additionally include a graphics engine 1004, an image processor 1005, and a position processor. In addition to memory 1012, mobile device 200 may include one or more other types of memory such as flash memory (or SD card) 1008 and/or a hard disk and/or an optical disk (also called “secondary memory”) to store data and/or software for loading into memory 1012 (also called “main memory”) and/or for use by processor(s) 1013.
Mobile device 200 may further include a circuit 1010 (e.g. with wireless transmitter and receiver circuitry therein) and/or any other communication interfaces 1009. A transmitter in circuit 1010, which may be an IR or RF transmitter or a wireless a transmitter enabled to transmit one or more signals over one or more types of wireless communication networks such as the Internet, WiFi, cellular wireless network or other network.
It should be understood that mobile device 200 may be any portable electronic device such as a cellular or other wireless communication device, personal communication system (PCS) device, personal navigation device (PND), Personal Information Manager (PIM), Personal Digital Assistant (PDA), laptop, camera, smartphone, tablet (such as iPad available from Apple Inc) or other suitable mobile platform that is capable of creating an augmented reality (AR) environment.
Note that input to mobile device 200 can be in video mode, where each frame in the video is equivalent to the image input which is used to identify connected components, and to compute a skew metric as described herein. Also, the image used to compute a skew metric as described herein can be fetched from a pre-stored file in a memory 1012 of mobile device 200.
A mobile device 200 of the type described above may include an optical character recognition (OCR) system as well as software that uses “computer vision” techniques. The mobile device 200 may further include, in a user interface, a microphone and a speaker (not labeled) in addition to touch-sensitive screen 1001 or normal screen 1002 for displaying captured images and any text/graphics to augment the images. Of course, mobile device 200 may include other elements unrelated to the present disclosure, such as a read-only-memory 1007 which may be used to store firmware for use by processor 1013.
Mobile device 200 of some embodiments includes, in memory 1012 (
Furthermore, a pixel line presence tester 141T (
Moreover, a pixel line presence marker 141M (
Furthermore, an adjacent block identifier 141A (
Also, processor 1013 on execution of computer instructions (also called “fourth instructions”) in merger software 141 implements a block merging module 141B that uses the lists 501 and 502 to merge two blocks, and that then supplies a merged block to storage module 1415. Hence, processor 1013 executing the fourth instructions implements a means for merging of some embodiments. Storage module 141S is implemented by execution of merger software 141 by processor 1013 to store the merged block in memory 1012, e.g. as a list of positions 504 that identify four corners of each merged block.
Also, processor 1013 on execution of computer instructions (also called “fifth instructions”) in merger software 141 implements a verification module 141V. Hence, processor 1013 executing the fifth instructions implements a means for re-doing the checking of some embodiments. Verification module 141V in turn includes instructions (also called “sixth instructions”) to binarize pixels, within a row among a group of rows in the merged block, by assigning thereto one of two values. Verification module 141V further includes instructions (also called “seventh instructions”) to count within the row, a number of pixels having a common value, to identify the at least one peak in a profile. Verification module 141V supplies the merged block to a processor that is executing classifier software 552, when the pixel line presence test is met.
In some embodiments, memory 1012 may include instructions for a classifier that when executed by processor 1013 classifies the block 402 (
Although several aspects are illustrated in connection with specific embodiments for instructional purposes, the described embodiments are not limited thereto. For example, although mobile device 200 shown in
As noted above, in some embodiments, when a limit on time spent in processing an image as per the method of
Moreover, in certain embodiments, processor 1013 may check for presence of a line of pixels oriented differently (e.g. located in a column in the block) depending on the characteristics of the language of text that may be included in the image.
Although a test for pixels of a common binary value arranged in a sequence one after another contiguously along a straight line is used in some embodiments, as will be readily apparent in view of this detailed description, such a line need not be straight in other embodiments (e.g. a portion of the pixel line inside a block may be wavy, or form an arc of a circle or ellipse).
Depending on the embodiment, various functions of the type described herein may be implemented in software (executed by one or more processors or processor cores) or in dedicated hardware circuitry or in firmware, or in any combination thereof. Accordingly, depending on the embodiment, any one or more of pixel line presence tester 141T, pixel line presence marker 141M, adjacent block identifier 141A, block merging module 141B, storage module 141S and verification module 141V illustrated in
Hence, methodologies described herein may be implemented by various means depending upon the application. For example, these methodologies may be implemented in firmware in read-only-memory 1007 (
Any machine-readable medium tangibly embodying computer instructions may be used in implementing the methodologies described herein. For example, merger software 141 (
One or more non-transitory computer readable media include physical computer storage media. A computer readable medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, non-transitory computer readable storage media can comprise RAM, ROM, Flash Memory, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store program code in the form of software instructions (also called “processor instructions” or “computer instructions”) or data structures and that can be accessed by a computer; disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of one or more non-transitory computer readable storage media.
Although the present invention is illustrated in connection with specific embodiments for instructional purposes, the present invention is not limited thereto. Hence, although mobile device 200 is shown in
Various adaptations and modifications may be made without departing from the scope of the described embodiments. Therefore, the spirit and scope of the appended claims should not be limited to the foregoing description.
This application claims priority under 35 USC §119 (e) from U.S. Provisional Application No. 61/590,966 filed on Jan. 26, 2012 and entitled “Identifying Regions Of Text To Merge In A Natural Image or Video Frame”, which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety. This application claims priority under 35 USC §119 (e) from U.S. Provisional Application No. 61/590,983 filed on Jan. 26, 2012 and entitled “Detecting and Correcting Skew In Regions Of Text In Natural Images”, which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety. This application claims priority under 35 USC §119 (e) from U.S. Provisional Application No. 61/590,973 filed on Jan. 26, 2012 and entitled “Rules For Merging Blocks Of Connected Components In Natural Images”, which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety. This application claims priority under 35 USC §119 (e) from U.S. Provisional Application No. 61/673,703 filed on Jul. 19, 2012 and entitled “Automatic Correction of Skew In Natural Images and Video”, which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety. This application is also related to U.S. application Ser. No. 13/748,562, filed concurrently herewith, entitled “Detecting and Correcting Skew In Regions Of Text In Natural Images” which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety. This application is also related to U.S. application Ser. No. 13/748,574, filed concurrently herewith, entitled “Rules For Merging Blocks Of Connected Components In Natural Images” which is assigned to the assignee hereof and which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
3710321 | Rubenstein | Jan 1973 | A |
4654875 | Srihari et al. | Mar 1987 | A |
5321768 | Fenrich et al. | Jun 1994 | A |
5459739 | Handley et al. | Oct 1995 | A |
5465304 | Cullen et al. | Nov 1995 | A |
5519786 | Courtney et al. | May 1996 | A |
5563403 | Bessho et al. | Oct 1996 | A |
5633954 | Gupta et al. | May 1997 | A |
5751850 | Rindtorff | May 1998 | A |
5764799 | Hong et al. | Jun 1998 | A |
5768451 | Hisamitsu et al. | Jun 1998 | A |
5805747 | Bradford | Sep 1998 | A |
5835633 | Fujisaki et al. | Nov 1998 | A |
5844991 | Hochberg et al. | Dec 1998 | A |
5978443 | Patel | Nov 1999 | A |
6023536 | Visser | Feb 2000 | A |
6266439 | Pollard et al. | Jul 2001 | B1 |
6393443 | Rubin et al. | May 2002 | B1 |
6473517 | Tyan et al. | Oct 2002 | B1 |
6674919 | Ma et al. | Jan 2004 | B1 |
6678415 | Popat et al. | Jan 2004 | B1 |
6687421 | Navon | Feb 2004 | B1 |
6738512 | Chen et al. | May 2004 | B1 |
6954795 | Takao et al. | Oct 2005 | B2 |
7142727 | Notovitz et al. | Nov 2006 | B2 |
7263223 | Irwin | Aug 2007 | B2 |
7333676 | Myers et al. | Feb 2008 | B2 |
7403661 | Curry et al. | Jul 2008 | B2 |
7450268 | Martinez et al. | Nov 2008 | B2 |
7724957 | Abdulkader | May 2010 | B2 |
7738706 | Aradhye et al. | Jun 2010 | B2 |
7783117 | Liu et al. | Aug 2010 | B2 |
7817855 | Yuille et al. | Oct 2010 | B2 |
7889948 | Steedly et al. | Feb 2011 | B2 |
7961948 | Katsuyama | Jun 2011 | B2 |
7984076 | Kobayashi et al. | Jul 2011 | B2 |
8009928 | Manmatha et al. | Aug 2011 | B1 |
8189961 | Nijemcevic et al. | May 2012 | B2 |
8194983 | Al-Omari et al. | Jun 2012 | B2 |
8285082 | Heck | Oct 2012 | B2 |
8306325 | Chang | Nov 2012 | B2 |
8417059 | Yamada | Apr 2013 | B2 |
8542926 | Panjwani et al. | Sep 2013 | B2 |
8644646 | Heck | Feb 2014 | B2 |
20030026482 | Dance | Feb 2003 | A1 |
20030099395 | Wang et al. | May 2003 | A1 |
20030215137 | Wnek | Nov 2003 | A1 |
20040179734 | Okubo | Sep 2004 | A1 |
20040240737 | Lim et al. | Dec 2004 | A1 |
20050041121 | Steinberg et al. | Feb 2005 | A1 |
20050123199 | Mayzlin et al. | Jun 2005 | A1 |
20050238252 | Prakash et al. | Oct 2005 | A1 |
20060039605 | Koga | Feb 2006 | A1 |
20060215231 | Borrey et al. | Sep 2006 | A1 |
20060291692 | Nakao et al. | Dec 2006 | A1 |
20070110322 | Yuille et al. | May 2007 | A1 |
20070116360 | Jung et al. | May 2007 | A1 |
20070217676 | Grauman et al. | Sep 2007 | A1 |
20080008386 | Anisimovich et al. | Jan 2008 | A1 |
20080063273 | Shimodaira | Mar 2008 | A1 |
20080112614 | Fluck et al. | May 2008 | A1 |
20080187225 | Katsuyama | Aug 2008 | A1 |
20090060335 | Rodriguez Serrano et al. | Mar 2009 | A1 |
20090202152 | Takebe et al. | Aug 2009 | A1 |
20090232358 | Cross | Sep 2009 | A1 |
20090252437 | Li et al. | Oct 2009 | A1 |
20090316991 | Geva et al. | Dec 2009 | A1 |
20090317003 | Heilper et al. | Dec 2009 | A1 |
20100049711 | Singh et al. | Feb 2010 | A1 |
20100067826 | Honsinger et al. | Mar 2010 | A1 |
20100080462 | Miljanic et al. | Apr 2010 | A1 |
20100128131 | Tenchio et al. | May 2010 | A1 |
20100141788 | Hwang et al. | Jun 2010 | A1 |
20100144291 | Stylianou et al. | Jun 2010 | A1 |
20100172575 | Lukac et al. | Jul 2010 | A1 |
20100195933 | Nafarieh | Aug 2010 | A1 |
20100232697 | Mishima et al. | Sep 2010 | A1 |
20100239123 | Funayama et al. | Sep 2010 | A1 |
20100245870 | Shibata | Sep 2010 | A1 |
20100272361 | Khorsheed et al. | Oct 2010 | A1 |
20100296729 | Mossakowski | Nov 2010 | A1 |
20110052094 | Gao et al. | Mar 2011 | A1 |
20110081083 | Lee et al. | Apr 2011 | A1 |
20110188756 | Lee et al. | Aug 2011 | A1 |
20110215147 | Goncalves et al. | Sep 2011 | A1 |
20110222768 | Galic et al. | Sep 2011 | A1 |
20110249897 | Chaki et al. | Oct 2011 | A1 |
20110274354 | Nijemcevic | Nov 2011 | A1 |
20110280484 | Ma et al. | Nov 2011 | A1 |
20110285873 | Showering | Nov 2011 | A1 |
20120051642 | Berrani et al. | Mar 2012 | A1 |
20120066213 | Ohguro | Mar 2012 | A1 |
20120092329 | Koo et al. | Apr 2012 | A1 |
20120114245 | Lakshmanan et al. | May 2012 | A1 |
20120155754 | Chen et al. | Jun 2012 | A1 |
20130001295 | Goncalves | Jan 2013 | A1 |
20130058575 | Koo et al. | Mar 2013 | A1 |
20130129216 | Tsai et al. | May 2013 | A1 |
20130194448 | Baheti et al. | Aug 2013 | A1 |
20130195360 | Krishna Kumar et al. | Aug 2013 | A1 |
20130308860 | Mainali et al. | Nov 2013 | A1 |
20140003709 | Ranganathan et al. | Jan 2014 | A1 |
20140023270 | Baheti et al. | Jan 2014 | A1 |
20140023271 | Baheti et al. | Jan 2014 | A1 |
20140023273 | Baheti et al. | Jan 2014 | A1 |
20140023274 | Barman et al. | Jan 2014 | A1 |
20140023275 | Krishna Kumar et al. | Jan 2014 | A1 |
20140023278 | Krishna Kumar et al. | Jan 2014 | A1 |
20140168478 | Baheti et al. | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
1146478 | Oct 2001 | EP |
1840798 | Oct 2007 | EP |
2192527 | Jun 2010 | EP |
2453366 | Apr 2009 | GB |
2468589 | Sep 2010 | GB |
2004077358 | Sep 2004 | WO |
Entry |
---|
Chaudhuri, B.B. et al. “Skew Angle Detection of Digitized Indian Script Documents”, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 19, No. 2, Feb. 1997, pp. 182-186. |
Chen, X. et al. “Detecting and Reading Text in Natural Scenes,” IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'04), 2004, pp. 1-8. |
Epshtein, B. et al. “Detecting text in natural scenes with stroke width transform,” Computer Vision and Pattern Recognition (CVPR) 2010, pp. 1-8, (as downloaded from “http://research.microsoft.com/pubs/149305/1509.pdf”). |
Jain, A. K. et al. “Automatic text location in images and video frames”, Pattern Recognition, vol. 31, No. 12, 1998, pp. 2055-2076. |
Jayadevan, R. et al. “Offline Recognition of Devanagari Script: A Survey”, IEEE Transactions on Systems, Man, and Cybernetics—Part C: Applications and Reviews, 2010, pp. 1-15. |
Kapoor, R. et al. “Skew angle detection of a cursive handwritten Devanagari script character image”, Indian Institute of Science, May-Aug. 2002, pp. 161-175. |
Lee, S-W. et al. “A new methodology for gray-scale character segmentation and recognition,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 18, No. 10, Oct. 1996, pp. 1045-1050. |
Li, H. et al. “Automatic Text Detection and Tracking in a Digital Video”, IEEE Transactions on Image Processing, vol. 9 No. 1, Jan. 2000, pp. 147-156. |
Matas, J. et al. “Robust Wide Baseline Stereo from Maximally Stable Extremal Regions”, Proc. of British Machine Vision Conference, 2002, pp. 384-393. |
Mikulik, A. et al. “Construction of Precise Local Affine Frames,” Center for Machine Perception, Czech Technical University in Prague, Czech Republic, Abstract and second paragraph of Section 1; Algorithms 1 & 2 of Section 2 and Section 4, International Conference on Pattern Recognition, 2010, pp. 1-5. |
Pal, U. et al. “Indian script character recognition: a survey”, Pattern Recognition Society, published by Elsevier Ltd, 2004, pp. 1887-1899. |
Shin, H. et al. “Application of Floyd-Warshall LabellingTechnique: Identification of Connected Pixel Components in Binary Image”, Kangweon-Kyungki Math. Jour. 14 (2006), No. 1, pp. 47-55. |
Nister, D. et al. “Linear Time Maximally Stable Extremal Regions”, ECCV, 2008, Part II, LNCS 5303, pp. 183-196, published by Springer-Verlag Berlin Heidelberg. |
Park, J-M. et al. “Fast Connected Component Labeling Algorithm Using a Divide and Conquer Technique”, believed to be published in Matrix (2000), vol. 4, Issue: 1, Publisher: Elsevier Ltd, pp. 4-7. |
Elgammal, A. M. et al. “Techniques for Language Identification for Hybrid Arabic-English Document Images”, believed to be published in 2001 in Proceedings of IEEE 6th International Conference on Document Analysis and Recognition, pp. 1-5. |
Pardo, M. et al. “Learning From Data: A Tutorial With Emphasis on Modern Pattern Recognition Methods,” IEEE Sensors Journal, vol. 2, No. 3, Jun. 2002, pp. 203-217. |
Holmstrom, L. et al. “Neural and Statistical Classifiers—Taxonomy and Two Case Studies,” IEEE Transactions on Neural Networks, vol. 8, No. 1, Jan. 1997, pp. 5-17. |
Machine Learning, retrieved from http://en.wikipedia.org/wiki/Machine—learning, May 7, 2012, pp. 1-8. |
Moving Average, retrieved from http://en.wikipedia.org/wiki/Moving—average, Jan. 23, 2013, pp. 1-5. |
Chen, H. et al. “Robust Text Detection in Natural Images With Edge-Enhanced Maximally Stable Extremal Regions”, believed to be published in IEEE International Conference on Image Processing (ICIP), Sep. 2011, pp. 1-4. |
Dlagnekov, L. et al. “Detecting and Reading Text in Natural Scenes”, Oct. 2004, pp. 1-22. |
Vedaldi, A. “An Implementation of Multi-Dimensional Maximally Stable Extremal Regions”, Feb. 7, 2007, pp. 1-7. |
VLFeat—Tutorials—MSER, retrieved from http://www.vlfeat.org/overview/mser.html, Apr. 30, 2012, pp. 1-2. |
Renold, M. “Detecting and Reading Text in Natural Scenes”, Master's Thesis, May 2008, pp. 1-59. |
Jain, A. K. et al. “Automatic Text Location in Images and Video Frames,” believed to be published in Proceedings of Fourteenth International Conference on Pattern Recognition, vol. 2, Aug. 1998, pp. 1497-1499. |
Chaudhuri B., Ed., “Digital Document Processing—Major Directions and Recent Advances”, 2007, Springer-Verlag London Limited, XP002715747, ISBN : 978-1-84628-501-1 pp. 103-106, p. 106, section “5.3.5 Zone Separation and Character Segmentation”, paragraph 1. |
Chaudhuri B.B., et al., “An OCR system to read two Indian language scripts: Bangla and Devnagari (Hindi)”, Proceedings of the 4th International Conference on Document Analysis and Recognition (ICDAR). Ulm, Germany, Aug. 18-20, 1997; [Proceedings of the ICDAR], Los Alamitos, IEEE Comp. Soc, US, vol. 2, Aug. 18, 1997, pp. 1011-1015, XP010244882, DOI: 10.1109/ICDAR.1997.620662 ISBN: 978-0-8186-7898-1 the whole document. |
Chaudhury S (Eds.): “OCR Technical Report for the project Development of Robust Document Analysis and Recognition System for Printed Indian Scripts”, 2008, pp. 149-153, XP002712777, Retrieved from the Internet: URL:http://researchweb.iiit.ac.inj-jinesh/ocrDesignDoc.pdf [retrieved on Sep. 5, 2013]. |
Dalal N., et al., “Histograms of oriented gradients for human detection”, Computer Vision and Pattern Recognition, 2005 IEEE Computer Society Conference on, IEEE, Piscataway, NJ, USA, Jun. 25, 2005, pp. 886-893 vol. 1, XP031330347, ISBN: 978-0-7695-2372-9 Section 6.3. |
Forssen P.E., et al., “Shape Descriptors for Maximally Stable Extremal Regions”, Computer Vision, 2007. ICCV 2007. IEEE 11th International Conference on, IEEE, PI, Oct. 1, 2007, pp. 1-8, XP031194514 , ISBN: 978-1-4244-1630-1 abstract Section 2. Multi-resoltuion MSER. |
Minoru M., Ed., “Character Recognition”, Aug. 2010, Sciyo, XP002715748, ISBN: 978-953-307-105-3 pp. 91-95, p. 92, section “7.3 Baseline Detection Process”. |
Pal U et al., “Multi-skew detection of Indian script documents” Document Analysis and Recognition, 2001. Proceedings. Sixth International Conference on Seattle, WA, USA Sep. 10-13, 2001, Los Aalmitos, CA, USA, IEEE Comput. Soc. US, Sep. 10, 2001, pp. 292-296, XP010560519, DOI:10.1109/ICDAR.2001.953801, ISBN: 978-0-7695-1263-1. |
Pal U., et al., “OCR in Bangla: an Indo-Bangladeshi language”, Pattern Recognition, 1994. vol. 2—Conference B: Computer Vision & Image Processing., Proceedings of the 12th IAPR International. Conferenc E on Jerusalem, Israel Oct. 9-13, 1994, Los Alamitos, CA, USA, IEEE Comput. Soc, vol. 2, Oct. 9, 1994, pp. 269-273, XP010216292, DOI: 10.1109/ICPR.1994.576917 ISBN: 978-0-8186-6270-6 the whole document. |
Premaratne H.L., et al., “Lexicon and hidden Markov model-based optimisation of the recognised Sinhala script”, Pattern Recognition Letters, Elsevier, Amsterdam, NL, vol. 27, No. 6, Apr. 15, 2006, pp. 696-705, XP027922538, ISSN: 0167-8655. |
Ray A.K et al., “Information Technology—Principles and Applications”. 2004. Prentice-Hall of India Private Limited. New Delhi! XP002712579, ISBN: 81-203-2184-7, pp. 529-531. |
Senda S., et al., “Fast String Searching in a Character Lattice,” IEICE Transactions on Information and Systems, Information & Systems Society, Tokyo, JP, vol. E77-D, No. 7, Jul. 1, 1994, pp. 846-851, XP000445299, ISSN: 0916-8532. |
Senk V., et al., “A new bidirectional algorithm for decoding trellis codes,” EUROCON' 2001, Trends in Communications, International Conference on Jul. 4-7, 2001, Piscataway, NJ, USA, IEEE, Jul. 4, 2001, pp. 34-36, vol. I, XP032155513, DOI :10.1109/EURCON.2001.937757 ISBN : 978-0-7803-6490-5. |
Sinha R.M.K., et al., “On Devanagari document processing”, Systems, Man and Cybernetics, 1995. Intelligent Systems for the 21st Century., IEEE International Conference on Vancouver, BC, Canada Oct. 22-25, 1995, New York, NY, USA,IEEE, US, vol. 2, Oct. 22, 1995, pp. 1621-1626, XP010194509, DOI: 10.1109/ICSMC.1995.538004 ISBN: 978-0-7803-2559-3 the whole document. |
Uchida S et al., “Skew Estimation by Instances”, 2008 The Eighth IAPR International Workshop on Document Analysis Systems, Sep. 1, 2008, pp. 201-208, XP055078375, DOI: 10.1109/DAS.2008.22, ISBN: 978-0-76-953337-7. |
Unser M., “Sum and Difference Histograms for Texture Classification”, Transactions on Pattern Analysis and Machine Intelligence, IEEE, Piscataway, USA, vol. 30, No. 1, Jan. 1, 1986, pp. 118-125, XP011242912, ISSN: 0162-8828 section A; p. 122, right-hand column p. 123. |
Chen Y.L., “A knowledge-based approach for textual information extraction from mixed text/graphics complex document images”, Systems Man and Cybernetics (SMC), 2010 IEEE International Conference on, IEEE, Piscataway, NJ, USA, Oct. 10, 2010, pp. 3270-3277, XP031806156, ISBN: 978-1-4244-6586-6. |
Co-pending U.S. Appl. No. 13/748,562, filed Jan. 23, 2013, (47 pages). |
Co-pending U.S. Appl. No. 13/831,237, filed Mar. 14, 2013, (34 pages). |
Co-pending U.S. Appl. No. 13/842,985, filed Mar. 15, 2013, (53 pages). |
Song Y., et al., “A Handwritten Character Extraction Algorithm for Multi-language Document Image”, 2011 International Conference on Document Analysis and Recognition, Sep. 18, 2011, pp. 93-98, XP055068675, DOI: 10.1109/ICDAR2011.28 ISBN: 978-1-45-771350-7. |
Wu V., et al., “TextFinder: An Automatic System to Detect and Recognize Text in Images”, IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 21. No. 11, Nov. 1, 1999, pp. 1224-1229, XP055068381. |
Agrawal, et al., “Generalization of Hindi OCR Using Adaptive Segmentation and Font Files,” V. Govindaraju, S. Setlur (eds.), Guide to OCR for Indic Scripts, Advances in Pattern Recognition, DOI 10.1007/978-1-84800-330-9—10, Springer-Verlag London Limited 2009, pp. 181-207. |
“4.1 Points and patches” In: Szeliski Richard: “Computer Vision—Algorithms and Applications”, 2011, Springer-Verlag, London, XP002696110, p. 195, ISBN: 978-1-84882-934-3. |
Agrawal M., et al., “2 Base Devanagari OCR System” In: Govindaraju V, Srirangataj S (Eds.): “Guide to OCR for Indic Scripts—Document Recognition and Retrieval”, 2009, Springer Science+Business Media, London, XP002696109, pp. 184-193, ISBN: 978-1-84888-329-3. |
Chowdhury A.R., et al., “Text Detection of Two Major Indian Scripts in Natural Scene Images”, Sep. 22, 2011, Camera-Based Document Analysis and Recognition, Springer Berlin Heidelberg, pp. 42-57, XP019175802, ISBN: 978-3-642-29363-4. |
Ghoshal R., et al., “Headline Based Text Extraction from Outdoor Images”, 4th International Conference on Pattern Recognition and Machine Intelligence, Springer LNCS, vol. 6744, Jun. 27, 2011, pp. 446-451, XP055060285. |
International Search Report and Written Opinion—PCT/US2013/022994—ISA/EPO—May 13, 2013, pp. 1-13. |
Papandreou A. et al., “A Novel Skew Detection Technique Based on Vertical Projections”, International Conference on Document Analysis and Recognition, Sep. 18, 2011, pp. 384-388, XP055062043, DOI: 10.1109/ICDAR.2011.85, ISBN: 978-1-45-771350-7. |
Setlur, et al., “Creation of data resources and design of an evaluation test bed for Devanagari script recognition”, Research Issues in Data Engineering: Multi-lingual Information Management, RIDE-MLIM 2003. Proceedings. 13th International Workshop, 2003, pp. 55-61. |
Number | Date | Country | |
---|---|---|---|
20130195315 A1 | Aug 2013 | US |
Number | Date | Country | |
---|---|---|---|
61590966 | Jan 2012 | US | |
61590983 | Jan 2012 | US | |
61590973 | Jan 2012 | US | |
61673703 | Jul 2012 | US |