Source: http://www.patentsencyclopedia.com/app/20100289897
Timestamp: 2017-11-21 10:51:07
Document Index: 186516142

Matched Legal Cases: ['art 32', 'art 32', 'art 3', 'art 3', 'art 31', 'art 32', 'art 33', 'art 3', 'art 32', 'art 33', 'art 31', 'art 32', 'art 31', 'art 33', 'art 32', 'art 31', 'art 3', 'art 32', 'art 32', 'art 32', 'art 32']

Number recognition device, and recognition method therefor - Patent application
Patent application title: Number recognition device, and recognition method therefor
Inventors: Masatoshi Arai (Tokyo, JP) Masatoshi Arai (Tokyo, JP)
Patent application number: 20100289897
Number recognition device, and recognition method therefor - Patent application <?php require_once('/home/patents/php/mtc.config.php'); require_once('/home/patents/php/mtc.class.php'); $MTC = new MTC(); $MTC->init(); ?>
A number recognition device 1 includes a camera 2 for taking an image containing a number plate of a motor vehicle, and a ternarization processing part 32 for ternarizing the taken image by comparing it to circumjacent image elements and threshold values. Optimum predicted values are computed based on a brightness average and a brightness variance of the taken image, and a ternarization processing part 32 executes a ternarization process by using the predicted values of the threshold values.
1. A number recognition device comprising:a imaging means for taking an image containing a number plate of a motor vehicle;an image processing means for ternarizing the taken image by a comparison using threshold values and circumjacent image elements in the image; anda threshold value predicting means for computing optimum predicted values of the threshold values based on a brightness average and a brightness variance of the taken image, whereinthe image processing means executes a ternarization process by using the predicted values of the threshold values.
2. The number recognition device according to claim 1, wherein the threshold value predicting means computes the threshold values by using a first equation and a second equation, where the first equation is defined by (a first threshold value used in a case where an image element is judged as white)=(coefficient 1.times.brightness average+coefficient 2.times.brightness variance+coefficient 3) and the second equation is defined by (a second threshold value used in a case where the image element is judged as black)=(coefficient 4.times.brightness average+coefficient 5.times.brightness variance+coefficient 6).
3. The number recognition device according to claim 2, wherein the first equation and the second equation are multi regression equations based on sample values from a plurality of images.
4. The number recognition device according to claim 1, further comprising:a pattern matching means for recognizing a number, a letter and a symbol on a number plate based on a trenarized image obtained from the image, wherein the pattern matching means provides feature quantities based on histogram obtained by counting only longitudinal components and lateral components of frame line components.
5. The number recognition device according to claim 4, further comprising:an arrangement regulation referring means for recognizing a number of the number plate by referring the number, the letter and the symbol which are recognized to an arrangement regulation of the number plate.
6. A number recognition method comprising the steps of:converting an color image taken with an imaging means into a monochrome image with a multiple gray scale brightness;computing a brightness average and a brightness variance of the image;comparing an image element of the taken image to circumjacent image elements thereof by using the brightness average and the brightness variance;predicting threshold values for a ternarization process which is used for classification of the image element into white, black and anchromatic color by a comparing to the threshold values; andexecuting a ternarization process by using the predicted threshold values to recognize a number plate based on data on the ternarized image.
7. The number recognition method according to claim 6, wherein the threshold value predicting means computes the threshold values by using a first equation and a second equation, where the first equation is defined by (a first threshold value used in a case where an image element is judged as white)=(coefficient 1.times.brightness average+coefficient 2.times.brightness variance+coefficient 3) and the second equation is defined by (a second threshold value used in a case where the image element is judged as black)=(coefficient 4.times.brightness average+coefficient 5.times.brightness variance+coefficient 6).
8. The number recognition method according to claim 7, wherein the first equation and the second equation are multi regression equations based on sample values from a plurality of images.
9. The number recognition device according to claim 6, further comprising:pattern matching is used for recognizing a number plate, where a trenarized image obtained from the image is processed so that only longitudinal components and lateral components of frame line components of a number, a letter and a symbol on the number plate are counted to obtain histogram corresponding to feature quantities.
10. The number recognition method according to claim 9, further comprising the step of:recognizing a number of the number plate by referring the number, the letter and the symbol which are recognized to an arrangement regulation of the number plate.
11. The number recognition device according to claim 2, further comprising:a pattern matching means for recognizing a number, a letter and a symbol on a number plate based on a trenarized image obtained from the image, wherein the pattern matching means provides feature quantities based on histogram obtained by counting only longitudinal components and lateral components of frame line components.
12. The number recognition device according to claim 3, further comprising:a pattern matching means for recognizing a number, a letter and a symbol on a number plate based on a trenarized image obtained from the image, wherein the pattern matching means provides feature quantities based on histogram obtained by counting only longitudinal components and lateral components of frame line components,
13. The number recognition device according to claim 7, further comprising:pattern matching is used for recognizing a number plate, where a trenarized image obtained from the image is processed so that only longitudinal components and lateral components of frame line components of a number, a letter and a symbol on the number plate are counted to obtain histogram corresponding to feature quantities.
14. The number recognition device according to claim 8, further comprising:pattern matching is used for recognizing a number plate, where a trenarized image obtained from the image is processed so that only longitudinal components and lateral components of frame line components of a number, a letter and a symbol on the number plate are counted to obtain histogram corresponding to feature quantities.
[0001]The present invention belongs to a technical field of a number recognition device and a number recognition method for recognizing a number stamped on a number plate of a motor vehicle.
[0002]In such a conventional art, as described in Satoshi Iwakata, Yoshiaki Ajioka, and Masafumi Hagiwara, "Character Extraction Algorithm from Scenery Images by Parallel and Local Processing." 2003 International Symposium on Advanced Intelligent System, pages 54-57, Sep. 2003, a classification process is carried out by using a logarithmic conversion in an image recognition process, because images varies due to changes in lightning in night and day and in all weather when the images are shot with an camera mounted on a motor vehicle.
[0003]However, in the above known conventional technique, there is a problem in that usage of the logarithmic conversion process comes with a high price for its system because it requires a dedicated processor with high level computing power for making a very large computational effort.
[0004]The present invention is made to solve the above-described problem, and its object is to provide a number recognition device and a number recognition method which can implement an image classification process with high accuracy, without making a large computational effort like that in a case in which the logarithmic convention is used.
[0005]In order to solve the above-described problem, a number recognition device of a first present invention includes an imaging means for taking an image containing a number plate of another motor vehicle, an image processing means for ternarizing the taken image with a comparison of the taken image to circumjacent image elements in the image and to threshold values, and a threshold value predicting means for computing optimum predicted values of the threshold values based on a brightness average and a brightness variance of the taken image, wherein the image processing means is configured to execute a ternarization process (a ternary value process) with using the predicted values of the threshold values.
[0006]In a second present invention, a number recognition method is carried out in such a way that a color image, which is shot with an imaging means, is converted into a monochrome image with multiple gray-scale brightness, a brightness average and a brightness variance of the image are computed, an image element of the taken image is compared to circumjacent image elements thereof with using the brightness average and the brightness variance, threshold values are predicted through a comparison of the image element and the predicted threshold value so as to be used in a ternarization process for classifying the image element into white, black and achroma, and then a number plate is recognized based on ternary-value image data which is obtained through the ternarization process with using the predicted threshold value.
[0007]In the both of the first and second present inventions, a processor does not need a logarithmic conversion process, and accordingly a processor at lower price and with a relatively lighter throughout can be employed compared to a processor necessary for the logarithmic conversion process. In addition, it can execute an image classification process with high accuracy.
[0008]FIG. 1 is a schematic diagram showing a construction of a number recognition device of a first embodiment;
[0009]FIG. 2A is a diagram showing a correlation between a brightness average and a first threshold value f1, and FIG. 2B is a diagram showing a correlation between a brightness variance and the first threshold value f1;
[0010]FIG. 3A is a diagram showing a correlation between the brightness average and a second threshold value f2, and FIG. 3B is a diagram showing a correlation between the brightness variance and the second threshold value f2;
[0011]FIG. 4A is a view showing an image in a state where inner portions of frame lines of letters thereon are colorless, in a case in which an image of a number plate is taken at a close range, and FIG. 4B is a view showing an image in a state where the colorless inner portions are changed into a color image by executing a reduction process of the image in the case in which the image of the number plate is taken at the close range;
[0012]FIG. 5A is a diagram illustrating the image in a case where an object is recognized as white, based on a black and white judgment by using a ternarization process, and FIG. 5B is a diagram illustrating the image in a case where the object is recognized as black, based on the black and white judgment by using the ternarization process;
[0013]FIG. 6 is a diagram showing differences of processing results of the images which are ternarized in a bright case and in a dark case through three different processes which use the ternarization process;
[0014]FIG. 7 is a diagram illustrating a state in which a leftmost portion of an object number is searched;
[0015]FIG. 8A is a diagram illustrating a state in which a size of a number plate is estimated in a case where the object number is the third digit one, and FIG. 8B is a diagram illustrating a state in which the size of the number plate is estimated in a case where the object number is the third digit one;
[0016]FIG. 9A is a diagram illustrating a state of a fitting process for an arrangement regulation of the numbers on the number plate in a case where a number is at a designated position, and FIG. 9B is a diagram illustrating a state of a fitting process for the arrangement regulation of the numbers on the number plate in a case where the number is not at the designated position;
[0017]FIG. 10 is a diagram illustrating a state in which a template matching process is carried out; and
[0018]FIG. 11A and FIG. 11B are diagrams illustrating examples for extracting a number in a dark state of lightning.
[0019]Hereinafter, a best mode, which realizes a number recognition device and a number recognition method of the present invention, will be described with reference to an embodiment.
[0020]First, a construction of the number recognition device of the embodiment will to be described with reference to the accompanying drawings.
[0021]As shown in FIG. 1, the number recognition device 1 of the embodiment mainly includes a camera 2 for taking an image containing a number plate of another motor vehicle, and an image processing part 3 for processing image data taken by the camera 2. Incidentally, the camera 2 corresponds to an imaging means of the present invention. The number recognition device 1 is electrically connected to an on-vehicle device 4.
[0022]The camera 2 employs a CCD camera, which takes an image in 24 bit color and outputs an image data signal.
[0023]The image processing part 3 includes a gray scale processing part 31, a ternarization processing part 32 and a recognition processing part 33, and the part 3 processes the image data taken by the camera 2. Incidentally, the ternarization processing part 32 corresponds to an image processing means and a threshold value predicting means of the present invention, and the recognition processing part 33 corresponds to a pattern matching means of the present invention.
[0024]The gray scale processing part 31 converts the color image obtained by the camera 2 into a gray scale image with an 8 bit brightness value, namely white and black.
[0025]The ternarization processing part 32 classifies each image element of the gray scale image obtained by the gray scale processing part 31 into three colors, namely achromatic color, white and black, and then it generates ternarized image. In this classification of the ternarization, a first threshold value f1 is used for a judgment of white, and a second threshold value f2 is used for a judgment of black, then the first and second threshold values f1 and f2 being compared to each image element.
[0026]These first and second threshold values f1 and f2 are calculated by using the following equations.
f1=C11×brightness average+C12×brightness variance+C13 (First Equation)
f2=C21×brightness average+C22×brightness variance+C23 (Second Equation),
where C11, C12, C13, C21, C22 and C23 are coefficients in the above-described prediction formulas.
[0027]A correlation between the brightness average and the first threshold value f1 is shown in FIG. 2A, and a correlation between the brightness variance and the first threshold value f1 is shown in FIG. 2B. Further, a correlation between the brightness average and the second threshold value f2 is shown in FIG. 3A, and a correlation between the brightness variance and the second threshold value f2 is shown in FIG. 3B. In these drawings, experimental values and a straight line obtained by using multi regression analysis are indicated. Thus, the first equation and the second equation are calculated in advance by using an experimental test and the multi regression analysis.
[0028]The recognition processing part 33 executes a recognition process of letters and numbers stamped on the number plate by using the matching means, based on the ternarized image obtained by the ternarization processing part 32, then processing a recognition for the dimensions of the number plate.
[0029]The on-vehicle device 4 is employed for more comfortable usage of his or her motor vehicle, for example as a preceding vehicle following control system, using the number of another motor vehicle which is obtained by the number recognition device 1. Incidentally, the on-vehicle device 4 may compute a distance between his or her motor vehicle and a preceding motor vehicle based on the dimensions of the number plate.
[0030]Next, an operation of the number recognition device 1 of the embodiment will be described.
[0031]First, a recognition operation of the number plate will be described.
[0032]In the number recognition device 1 of the embodiment, in order to recognized a number of another motor vehicle, at first the camera 2 takes an image of the motor vehicle to obtain the color image thereof.
[0033]Next, the gray scale processing part 31 of the image processing part 3 converts the color image into a gray scale image, and then the ternarization processing part 32 generates a ternarized image based on the gray scale image. In a case where a number plate of which image is taken at a close range is recognized, inner portions of frame lines of the letters sometimes become colorless as shown in FIG. 4A in the following letter frame line extracting process, because the letter frame lines become too much wider. Compared to this, the device of the embodiment prevents the inner portions of the letter frame lines from being colorless by using an image reduction process of the image, as shown in FIG. 4B. In FIGS. 4A and 4B, the fourth digit number, namely the leftmost digit number, in the image is erased in order to protect privacy.
[0034]Herein, an explanation of the ternarization process will be given. FIG. 5A and FIG. 5B are diagrams illustrating a judgment of white and black in the ternarization process. As shown in FIG. 5A, an object image element is classified into white in a case where its circumjacent image elements are wholly darker relative to the object image element. On the other hand, as shown in FIG. 5B, an object image element is classified into black in a case where its circumjacent image element are wholly brighter relative to the object image element.
[0035]In this ternarization process, the first and second threshold values f1 and f2, which are obtained by using the first and second prediction equations, are used. The first and second equations allow for the brightness average and the brightness variance, where the brightness average is an average of a distribution of brightness data on the taken image, and the brightness variance indicates a data spread state of the distribution of the taken image. Consequently, the classification by using the ternarization process is capable of being carried out with high accuracy even when the data on the taken image is wholly bright or dark. In addition, the classification using the ternarization process is capable of being carried out with high accuracy, corresponding to the distribution of the data.
[0036]FIG. 6 is a diagram illustrating results of the ternarization image processes, which show differences between in a bright state case and in a dark state case, where the ternarization are differently processed from one another. Incidentally, in FIG. 6, a leftmost number in the four digit number is similarly erased from the image. FIGS. 11A and 11B show an example of an extracted number in the dark state. Similarly, the leftmost number of the four digit number is erased from the image in FIGS. 11A and 11B. In the ternarization processes shown in FIG. 6, original images, ternarized images when the threshold values are fixed ("THRESHOLD VALUES FIXED" indicated in the second column of FIG. 6), ternarized images obtained by using the threshold values of the first and second equations of the first embodiment ("MULTIVARIATE ANALYSIS" indicated in the third column of FIG. 6), ternarized images obtained by using the logarithmic conversion process (indicated in the fourth column of FIG. 6), each both in the bright state and in the dark state. As is clear from the results, the ternarized images obtained by using the first and second equations have qualities enough for reading of the letters and the numbers on the number plate, although they generally have read qualities poorer than those using the logarithmic conversion.
[0037]Therefore, the ternarization process, using the threshold values f1 and f2, of the embodiment can provide the letter frame lines that are necessary for reading the numbers and the letters on the number plate.
[0038]Herein, processing times are compared to each other between in a case where the logarithmic conversion is used and in a case where the prediction equations of the present embodiment are used. In the case where the logarithmic conversion, including time for computing dynamic threshold values, is used, its main process takes 23.34 ms and its supplemental process takes 3.25 ms, consequently the sum being 26.59 ms. On the other hand, in a case where the prediction equations of the embodiment are used, its main process takes 0.0072 ms and its supplemental process takes 6.37 ms, consequently the sum thereof being 6.38 ms even when it contains computation time of the brightness average and the brightness variance. Thus, the device of the embodiment can decrease the computation time to a great extent, relative to the case of the logarithmic conversion.
[0039]Next, a recognition process of the numbers on the number plate is carried out after the ternarized image is obtained.
[0040]The number recognizing process is carried out in such a way that the numbers are clipped out by using labeling and then an object is narrowed down by focusing feature quantities of an area, being followed by carry-out of pattern matching. Specifically, the feature quantities of the area are a height of the area, an aspect ratio thereof and an area of the letters accounted in a rectangle thereof. A purpose of narrowing-down of the objects according to the feature quantities is to decrease a computing load through a reduction in the number of the pattern matching.
[0041]The pattern matching is carried out in such a way that the object is normalized into 16×16 image elements and then a weighted index number histogram method is applied thereto. The weighted index number histogram method has an advantage in that it is excellently applicable to deformed letters, and accordingly it can be applied, to a certain extent, to an inclined number and a letter whose frame lines changes in width.
[0042]Herein, the weighted index number histogram method will be described. The feature quantities are taken by histogram obtained by counting components in outline directions of small areas, into which an inputted image is divided. In the embodiment, the components in the outline directions consisting only of a longitudinal direction and a lateral direction are counted, and no components in an oblique direction are counted, in order to decrease its processing load.
[0043]After the recognition process of the numbers has been executed, a recognition process of the number plate is carried out. In the embodiment, it uses arrangement regulations of the letters and numbers on the number plate. First, as shown in FIG. 7, it searches whether or not a candidate letter, number or symbol "•" is located at an immediate left side of the object letter.
[0044]Next, as shown in FIG. 8A and FIG. 8B, a position and a size of the number plate is estimated according to a relationship between a position of the object letter and a position of the candidate letter. Incidentally, FIG. 8A shows a state in which the size of the number plate is estimated in a case where an object number is the first digit number, and FIG. 8B shows a state in which the size of the number plate is estimated in a case where the object number is the third digit number.
[0045]After the position and the size of the number plate is estimated, a search is carried out whether or not a previously searched candidate letter, number and symbol "•" can be fit to an estimated position except positions of a set of the object numbers. Incidentally, FIG. 9A shows a state of a fitting process for an arrangement of number plates in a case where the number is at a designated position, and FIG. 9B shows a state of the fitting process for the arrangement of number plates in a case where no number is at the designated to position.
[0046]After the search, if deficit areas are equal to or less than two, a template matching process is carried out on the deficit areas as shown in FIG. 10.
[0047]The number of the motor vehicle is surely recognized through these processes. In addition, information on a distance to the motor vehicle can be obtained with high accuracy, since information on the size of the number plate can be obtained.
[0048]The number recognition device 1 of the embodiment can obtain the advantages listed below.
[0049](1) In the number recognition device 1 including the camera 2 for taking the image containing the number plate of the other motor vehicle, and the ternarization processing part 32 for ternarizing the taken image by comparing it to the circumjacent image elements and the threshold value, the optimum predicted values of the threshold values are computed based on the brightness average and the brightness variance of the taken image, and then the ternarization processing part 32 executes the ternarization process by using the predicted values of the threshold values. Therefore, the device 1 can classify the image with high accuracy by carrying out relatively lighter process, not using the logarithmic conversion.
[0050]In addition, in the number recognition device 1 of the embodiment, its processing becomes lighter, with its processing time being appropriately one fourth of processing time necessary in the case of using the logarithmic conversion.
[0051](2) The ternarization processing part 32 computes the threshold values by using the first equation and the second equation, where the first equation is expressed by (f1=the coefficient C11×the brightness average+the coefficient C12×the brightness variance+the coefficient C13) and is used for determining the first threshold value f1 used in the case where the image element is judged as white, and the second equation is expressed by (f2=the coefficient C21×the brightness average+the coefficient C22×the brightness variance+the coefficient C23) and is used for determining the second threshold value f2 used in the case where the image element is judged as black. Therefore, the ternarization process can be carried out by using the threshold values for which a brightness state of the image is allowed, and accordingly the classification process of the image can be carried out with higher accuracy.
[0052](3) The first equation for computing the first threshold value fl and the second equation for computing the second threshold value f2 are multi regression equations based on values sampled from a plurality of images. Therefore, the threshold values highly correlated to each other can be obtained based on previously obtained data, and accordingly the image classification process can be carried out with high accuracy when it is applied to actual usage.
[0053](4) The pattern matching means is provided to recognize the number, the letter and the symbol stamped on the number plate by using the ternarized image data, where the pattern matching process the histogram, in which only the longitudinal components and the lateral components of the frame lines are counted, to obtain the feature quantities. It can nicely treat changes of widths of the letter frame lines and the inclinations of the numbers, and accordingly the device 1 can recognize the letter and the number with higher accuracy.
[0054](5) The arrangement regulation referring means is provided to recognize the number, by comparing the numbers, the letters and the symbols, which are recognized, to those of the arrangement regulation of the number plate. Therefore, the number can be recognized by using the image processing and the arrangement regulation, and accordingly the letter and the number can be recognized with higher accuracy.
[0055](6) The taken color image is converted into the monochrome image with multiple gray scale brightness, the brightness average and the brightness variance of the image are computed, the image element of the taken image is compared to the circumjacent image elements, the threshold values, which are obtained by the ternarization process of classifying the image element into white, black and achroma by comparing it to the threshold values, are predicted, the ternarization process is carried out by using the predicted threshold values f1 and f2, and the number plate is recognized based on the ternarized image data. Therefore, the image can be classified with high accuracy through relatively light processing without the logarithmic conversion, and accordingly it is possible to employ a processor at lower cost.
[0056]While the best mode of the present invention has been described above with reference to the embodiment, a concrete construction of the present invention is not limited to the embodiment and the invention contains modification and variation, such as design change, without departing from the spirit and the scope of the invention.
[0057]The number recognition device of the embodiment may be installed in an ETC system and others, and its usage is not limited to that described in this specification.
[0058]The number recognition device and the number recognition method of the invention are applicable to any one which recognizes a number of a number plate of a motor vehicle, such as an on-vehicle device for a preceding motor vehicle following control and others, and a ground equipment for ETC system and others.
2011-10-06 Electronic device and control method
2011-10-27 Media display system and adjustment method therefor