A method for identifying characters on tire sidewalls
Through a variety of positioning methods and dual-model recognition methods, combined with physical labeling, the problem of low efficiency and accuracy of traditional tire sidewall character recognition is solved, and high-stability and high-accuracy recognition results are achieved.
Patent Information
- Application Number
- CN202311006582.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-10
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-08-10
AI Technical Summary
The traditional tire sidewall character recognition method is time-consuming and has low accuracy, making it difficult to ensure high-reliability quality control. Especially when a character list cannot be provided, the recognition efficiency and accuracy are insufficient.
A variety of positioning methods are used for relocation, combined with dual-model overall recognition and local error rejudgment, and a comparison model is generated through physical annotation to improve the stability and accuracy of character recognition. It is suitable for situations where a character list cannot be provided.
It significantly improves the efficiency and accuracy of tire sidewall character recognition, enhances the stability of recognition area search, and ensures accurate recognition in the absence of a character list.
Smart Images

Figure CN117173710B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of character recognition, and in particular to a method for recognizing characters on a tire sidewall. Background Art
[0002] With the development of automation and intelligence in the automotive industry, machine vision inspection, as a reliable technology to verify the correctness of production and assembly, has become the first choice for the automatic inspection system of automobile production lines. Tires, as an important component of automobiles, are closely related to the running performance and safety performance of automobiles. The side of the automobile tire is printed with tire specifications, tire type code, manufacturer information, production number, load index and other information. Before the car leaves the factory, the assembled tire characters need to be identified to prevent misinstallation or inconsistency among the four wheels.
[0003] The traditional inspection method uses manual self-inspection, which is time-consuming and cannot be performed continuously for a long time with high accuracy, making it difficult to ensure high-reliability quality control. Machine vision technology can simplify the traditional manual inspection process, effectively improve the efficiency and accuracy of tire surface character recognition, prevent human errors caused by manual tire inspection, and save manpower and material resources. Summary of the invention
[0004] The purpose of this application is: to solve the above technical problems, this application provides a method for recognizing characters on the sidewall of a tire, aiming to improve the recognition efficiency of characters on the sidewall of a tire.
[0005] In some embodiments of the present application, by adopting multiple positioning methods, when a positioning result deviates, other methods can be used again for repositioning, thereby avoiding the situation where the global result is very poor due to the positioning of a certain link, and greatly increasing the stability of character recognition area search.
[0006] In some embodiments of the present application, the operating efficiency and accuracy of tire character recognition are improved by adopting a dual-model overall recognition and local error re-judgment method. At the same time, by adopting a physical labeling method, tire character recognition is achieved when a tire character list cannot be provided.
[0007] In some embodiments of the present application, a method for identifying characters on a tire sidewall is provided, comprising:
[0008] Collecting a plurality of annotated images, and generating a comparison model according to the annotated images;
[0009] Capturing images of multiple regions of a target tire to generate a recognition image cycle map, and locating a character region to be recognized based on the recognition image cycle map;
[0010] Generate recognition detection parameters, and process the character region to be recognized according to the recognition detection parameters to generate a recognition result.
[0011] In some embodiments of the present application, when generating a comparison model according to the labeled image, it includes:
[0012] Generate a one-week image of the labeled image according to the labeled image;
[0013] Set the splicing position of the one-week image, and generate a splicing starting point image of the labeled image according to the splicing position;
[0014] Preset the threshold number n of the splicing starting point image, and obtain the real-time number n1 of the splicing starting point images of the labeled image;
[0015] If n1 < n, generate a correction instruction, and correct the one-week image of the labeled image according to the correction instruction;
[0016] If n1 ≥ n, generate a labeling instruction, set character comparison data according to the labeling instruction, generate multiple labeled word regions according to the labeling instruction, generate word blocks according to a single labeled word, establish an attribution block according to all the word blocks, and generate a comparison model according to the attribution block;
[0017] The character comparison data includes the preset position of the character and the character content.
[0018] In some embodiments of the present application, when presetting the threshold number n of the splicing starting point image, it includes:
[0019] Preset a tire sidewall area matrix A, set A(A1, A2, A3, A4), where A1 is the preset first tire sidewall area, A2 is the preset second tire sidewall area, A3 is the preset third tire sidewall area, A4 is the preset fourth tire sidewall area, and A1 < A2 < A3 < A4;
[0020] Preset a splicing starting point image number matrix N, set N(N1, N2, N3, N4), where N1 is the preset first splicing starting point image number, N2 is the preset second splicing starting point image number, N3 is the preset third splicing starting point image number, N4 is the preset fourth splicing starting point image number, and N1 < N2 < N3 < N4;
[0021] Obtain the real-time tire sidewall area a;
[0022] If a ≥ A1, set the threshold number n of the splicing starting point image as the preset first splicing starting point image number N1, that is, n = N1;
[0023] If A1 < a ≤ A2, set the threshold number n of the splicing starting point image as the preset second splicing starting point image number N2, that is, n = N2;
[0024] If A2 < a ≤ A3, set the threshold number n of the splicing starting point graph to the preset third splicing starting point graph number N3, that is, n = N3;
[0025] If A3 < a ≤ A4, set the threshold number n of the splicing starting point graph to the preset fourth splicing starting point graph number N4, that is, n = N4.
[0026] In some embodiments of the present application, when locating the character region to be recognized according to the one - week graph of the recognition image, it includes;
[0027] Obtain the splicing positioning of the one - week graph of the recognition image to generate a splicing starting point graph of the recognition image;
[0028] Generate character positioning parameters, and generate the character region to be recognized according to the positioning parameters;
[0029] Generate an affine transformation matrix, and generate a word affine transformation instruction according to the affine transformation matrix;
[0030] Process the character region to be recognized according to the word affine transformation instruction.
[0031] In some embodiments of the present application, when generating the character region to be recognized according to the positioning parameters, it includes:
[0032] Obtain the initial annotation region parameters, and set the first - level search region according to the initial annotation region parameters;
[0033] Generate the position p (px, py) of the pixel to be matched according to the first - level search region, and construct an N * N neighborhood matching window;
[0034] Obtain the target pixel position p' (px + d, py) to construct an N * N neighborhood matching window;
[0035] Establish a correlation model, and generate the real - time correlation g of the matching window according to the correlation model;
[0036] Preset the first correlation threshold g1;
[0037] If g > g1, generate the character region to be recognized according to the first - level search region;
[0038] If g < g1, generate a first - level search region correction instruction.
[0039] In some embodiments of the present application, when generating a first - level search region correction instruction, it includes:
[0040] Generate a correlation difference d according to the real - time correlation g and the first correlation threshold g1;
[0041] Set a correction coefficient e according to the correlation difference d;
[0042] Obtain the area c of the first-level search area, generate a second-level search area, and the area c1 of the second-level search area = e * c;
[0043] Establish a text area probability model, and generate a character area to be recognized according to the second-level search area and the text area probability model.
[0044] In some embodiments of the present application, when setting the correction coefficient e according to the correlation difference d, it includes:
[0045] Preset a correlation difference matrix D, set D(D1, D2, D3, D4), where D1 is a preset first correlation difference, D2 is a preset second correlation difference, D3 is a preset third correlation difference, D4 is a preset fourth correlation difference, and D1 < D2 < D3 < D4;
[0046] Preset a correction coefficient matrix E, set E(e1, e2, e3, e4), where e1 is a preset first correction coefficient, e2 is a preset second correction coefficient, e3 is a preset third correction coefficient, e4 is a preset fourth correction coefficient, and e1 < e2 < e3 < e4;
[0047] If D1 ≤ d < D2, set the correction coefficient e as the preset first correction coefficient e1, that is, e = e1;
[0048] If D2 ≤ d < D3, set the correction coefficient e as the preset second correction coefficient e2, that is, e = e2;
[0049] If D3 ≤ d < D4, set the correction coefficient e as the preset third correction coefficient e3, that is, e = e3;
[0050] If d ≥ D4, set the correction coefficient e as the preset fourth correction coefficient e4, that is, e = e4.
[0051] In some embodiments of the present application, when generating recognition parameters, it includes:
[0052] Preprocess the character area to be recognized to generate a plurality of word blocks to be recognized;
[0053] Establish a first recognition model and a second recognition model;
[0054] Generate a first recognition result according to the first recognition model and the character area to be recognized;
[0055] Generate a second recognition result according to the second recognition module and the character area to be recognized;
[0056] Judge whether the recognition result of the word block to be recognized is correct according to the comparison model;
[0057] If both the first recognition result and the second recognition result of the current word block to be recognized are incorrect, a re-judgment parameter is generated, and a recognized word is generated according to the re-judgment parameter.
[0058] If the recognition result of the current word block is correct, a recognized word is generated.
[0059] A recognition result is generated according to all the recognized words.
[0060] In some embodiments of the present application, when generating the re-judgment parameter, it includes:
[0061] Performing a similar character judgment on the word block to be recognized;
[0062] Generating a repositioning instruction and a region expansion instruction;
[0063] Presetting an iterative judgment number, and performing iterative judgment on the word block to be recognized according to the iterative judgment number;
[0064] Generating a recognized word.
[0065] In some embodiments of the present application, when generating multiple word blocks to be recognized, it includes:
[0066] Generating a first character distance F1 and a second character distance F2 according to the comparison model;
[0067] Obtaining the distance f between adjacent characters in the character region to be recognized;
[0068] If F1 < f < F2, it is set that the current adjacent characters belong to the same word block to be recognized;
[0069] If f > F2, it is set that the current adjacent characters do not belong to the same word block to be recognized.
[0070] Compared with the prior art, the beneficial effects of a method for recognizing characters on the sidewall of a tire in an embodiment of the present application are as follows:
[0071] By adopting multiple positioning methods, in the case where one positioning result is deviated, other methods can be used again for repositioning, thereby avoiding the situation that the global result is very poor due to the positioning error in a certain link, and greatly increasing the stability of searching for the character recognition region.
[0072] By adopting the methods of overall recognition of a dual model and local error re-judgment, the operation efficiency and accuracy of tire character recognition are improved. At the same time, by adopting the method of physical annotation, character recognition of the tire can be realized in the case where a tire character list cannot be provided. Description of the Drawings
[0073] Figure 1It is a flow chart of a method for recognizing characters on a tire sidewall in a preferred embodiment of the present application. DETAILED DESCRIPTION
[0074] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.
[0075] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0076] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0077] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0078] like Figure 1 As shown, a method for recognizing characters on the sidewall of a tire in a preferred embodiment of the present application includes:
[0079] S101: Collect multiple annotated images and generate a comparison model according to the annotated images;
[0080] S102: Capturing images of multiple regions of the target tire, generating a recognition image circle map, and locating the character region to be recognized according to the recognition image circle map;
[0081] S103: Generate recognition detection parameters, and process the character area to be recognized according to the recognition detection parameters to generate a recognition result.
[0082] Specifically, when generating a comparison model based on annotated images, it includes:
[0083] Generate a one-week diagram of the labeled image based on the labeled image;
[0084] Set the splicing position of the one-week diagram, and generate a splicing starting point diagram of the labeled image according to the splicing position;
[0085] Preset the threshold number n of the splicing starting point diagram, and obtain the real-time number n1 of the splicing starting point diagram of the labeled image;
[0086] If n1 < n, generate a correction instruction, and correct the one-week diagram of the labeled image according to the correction instruction;
[0087] If n1 ≥ n, generate a labeling instruction, set character comparison data according to the labeling instruction, generate multiple labeled word regions according to the labeling instruction, generate word blocks according to a single labeled word, establish an attribution block according to all word blocks, and generate a comparison model according to the attribution block;
[0088] The character comparison data includes the preset position of the character and the character content.
[0089] Specifically, generating a comparison model according to the labeled image is to provide comparison data for subsequent character recognition. Its labeling process is carried out through manual labeling and semi-automatic recognition. The character area is framed by manually drawing a rotation matrix, and according to the built-in pre-trained recognition model, character recognition will be automatically performed after framing to obtain the recognition result. After drawing, the word regions of the same attribute are attributed by drawing a Block frame, and it is judged which block the word belongs to according to the position subset relationship between the word region and the Block region, so as to generate a comparison model.
[0090] Specifically, when presetting the threshold number n of the splicing starting point diagram, it includes:
[0091] Preset the tire side area matrix A, and set A(A1, A2, A3, A4), where A1 is the preset first tire side area, A2 is the preset second tire side area, A3 is the preset third tire side area, A4 is the preset fourth tire side area, and A1 < A2 < A3 < A4;
[0092] Preset the splicing starting point diagram number matrix N, and set N(N1, N2, N3, N4), where N1 is the preset first splicing starting point diagram number, N2 is the preset second splicing starting point diagram number, N3 is the preset third splicing starting point diagram number, N4 is the preset fourth splicing starting point diagram number, and N1 < N2 < N3 < N4;
[0093] Obtain the real-time tire side area a;
[0094] If a ≥ A1, set the threshold number n of the splicing starting point diagram as the preset first splicing starting point diagram number N1, that is, n = N1;
[0095] If A1 < a ≤ A2, set the threshold number n of the splicing starting point graph to the preset second splicing starting point graph number N2, that is, n = N2;
[0096] If A2 < a ≤ A3, set the threshold number n of the splicing starting point graph to the preset third splicing starting point graph number N3, that is, n = N3;
[0097] If A3 < a ≤ A4, set the threshold number n of the splicing starting point graph to the preset fourth splicing starting point graph number N4, that is, n = N4.
[0098] Specifically, the threshold number of the splicing starting point graph can be set according to the side area of the tire, and the threshold number of the splicing starting point graph is dynamically adjusted through the real-time side area of the tire to provide sufficient sample data for generating the comparison model, thereby improving the recognition accuracy of subsequent characters.
[0099] In the preferred embodiment of the present application, when positioning the character region to be recognized according to the recognition image one-week graph, it includes;
[0100] Obtain the splicing positioning of the recognition image one-week graph to generate a splicing starting point graph of the recognition image;
[0101] Generate character positioning parameters, and generate the character region to be recognized according to the positioning parameters;
[0102] Generate an affine transformation matrix, and generate a word affine transformation instruction according to the affine transformation matrix;
[0103] Process the character region to be recognized according to the word affine transformation instruction.
[0104] Specifically, when generating the character region to be recognized according to the positioning parameters, it includes:
[0105] Obtain the initial annotation region parameters, and set the first-level search region according to the initial annotation region parameters;
[0106] Generate the pixel position p (px, py) to be matched according to the first-level search region, and construct an N*N neighborhood matching window;
[0107] Obtain the target pixel position p' (px + d, py) and construct an N*N neighborhood matching window;
[0108] Establish a correlation model, and generate the real-time correlation g of the matching window according to the correlation model;
[0109] Preset the first correlation threshold g1;
[0110] If g > g1, generate the character region to be recognized according to the first-level search region;
[0111] If g < g1, generate a first-level search region correction instruction.
[0112] Specifically, the grayscale-based matching method uses normalization cross-correlation to normalize the degree of correlation between the targets to be matched. Note that the original pixels are compared here. By constructing an N*N neighborhood matching window at the pixel position p (px, py) to be matched and constructing a neighborhood matching window at the target pixel position p' (px + d, py) in the same way, an objective function is established to measure the correlation of the matching window, and the character region is located according to its correlation.
[0113] Specifically, when generating the first-level search area correction instruction, it includes:
[0114] Generating a correlation difference d according to the real-time correlation g and the first correlation threshold g1;
[0115] Setting a correction coefficient e according to the correlation difference d;
[0116] Obtaining the area c of the first-level search area and generating a second-level search area, where the area c1 of the second-level search area = e * c;
[0117] Establishing a text area probability model and generating a character region to be recognized according to the second-level search area and the text area probability model.
[0118] Specifically, when setting the correction coefficient e according to the correlation difference d, it includes:
[0119] Presetting a correlation difference matrix D, setting D(D1, D2, D3, D4), where D1 is the preset first correlation difference, D2 is the preset second correlation difference, D3 is the preset third correlation difference, D4 is the preset fourth correlation difference, and D1 < D2 < D3 < D4;
[0120] Presetting a correction coefficient matrix E, setting E(e1, e2, e3, e4), where e1 is the preset first correction coefficient, e2 is the preset second correction coefficient, e3 is the preset third correction coefficient, e4 is the preset fourth correction coefficient, and e1 < e2 < e3 < e4;
[0121] If D1 ≤ d < D2, setting the correction coefficient e as the preset first correction coefficient e1, that is, e = e1;
[0122] If D2 ≤ d < D3, setting the correction coefficient e as the preset second correction coefficient e2, that is, e = e2;
[0123] If D3 ≤ d < D4, setting the correction coefficient e as the preset third correction coefficient e3, that is, e = e3;
[0124] If d ≥ D4, setting the correction coefficient e as the preset fourth correction coefficient e4, that is, e = e4.
[0125] Specifically, the correction coefficient can be set based on historical data.
[0126] Specifically, by training the neural network on the marked text area, the nonlinear mapping relationship of the text area in the image is obtained, and the probability image of the text area is obtained. By performing blob analysis on the probability image, the text area is automatically extracted, thereby achieving stable positioning of the character area.
[0127] Specifically, since some tolerances are inevitable in the tire production process, and the brightness of the characters will also be affected by the environment and the vulcanization process, it is necessary to search within a certain tolerance range based on the initial marked area information to adapt to changes in character positions. This application uses a grayscale-based cross-correlation algorithm and a shape-based shape matching algorithm to match the area, and the deep learning method uses a text detector based on a deep learning detection model for search.
[0128] In a preferred embodiment of the present application, when generating identification parameters, it includes:
[0129] Preprocess the character area to be recognized and generate multiple word blocks to be recognized;
[0130] Establishing a first recognition model and a second recognition model;
[0131] Generate a first recognition result according to the first recognition model and the character area to be recognized;
[0132] Generate a second recognition result according to the second recognition module and the character area to be recognized;
[0133] Determine whether the recognition result of the word block to be recognized is correct according to the comparison model;
[0134] If the first recognition result and the second recognition result of the current word block to be recognized are both wrong, a re-judgment parameter is generated, and a recognition word is generated according to the re-judgment parameter;
[0135] If the recognition result of the current word block is correct, a recognition word is generated;
[0136] Generate recognition results based on all recognized words.
[0137] Specifically, the first recognition model is a pre-trained model, and the second recognition model is a self-trained model.
[0138] Specifically, when the recognition results of the two models are different from the preset true values, the character recognition re-judgment process will be entered. The re-judgment methods include similar character processing, relocation processing, area expansion processing, etc.
[0139] Specifically, when generating the re-judgment parameters, it includes:
[0140] Performing a similar character judgment on the word block to be recognized;
[0141] Generating a repositioning instruction and a region expansion instruction;
[0142] Presetting the number of iterative judgments, and performing iterative judgments on the word block to be recognized according to the number of iterative judgments;
[0143] Generating a recognized word.
[0144] Specifically, the character recognition is screened up to 14 times, and a correct rate result is saved for each screening result. By traversing, the word result with the best correct rate and the corresponding region are obtained and saved to the corresponding result output file.
[0145] When generating multiple word blocks to be recognized, it includes:
[0146] Generating a first character distance F1 and a second character distance F2 according to the comparison model;
[0147] Obtaining the distance f between adjacent characters in the character region to be recognized;
[0148] If F1 < f < F2, it is set that the current adjacent characters belong to the same word block to be recognized;
[0149] If f > F2, it is set that the current adjacent characters do not belong to the same word block to be recognized.
[0150] According to the first concept of the present application, by adopting multiple positioning methods, in the case where a positioning result deviates, other methods can be used again for repositioning, thereby avoiding the situation where the global result is very poor due to the positioning error in a certain link, and greatly increasing the stability of the character recognition region search.
[0151] According to the second concept of the present application, by adopting the methods of overall recognition of the dual model and local error re-judgment, the operation efficiency and accuracy of tire character recognition are improved. At the same time, by adopting the method of physical annotation, the character recognition of the tire is realized in the case where the tire character list cannot be provided.
[0152] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the technical principle of the present application, several improvements and replacements can still be made, and these improvements and replacements should also be regarded as the protection scope of the present application.
Claims
1. A method for identifying characters on a tire sidewall, characterized in that: Including: Collecting multiple labeled images and generating a comparison model based on the labeled images; Collecting images of multiple regions of the target tire to generate a recognition image perimeter map, and locating the character region to be recognized according to the recognition image perimeter map; Generating recognition detection parameters and processing the character region to be recognized according to the recognition detection parameters to generate a recognition result; When generating a comparison model based on the labeled images, it includes: Generating a labeled image perimeter map based on the labeled images; Setting the splicing position of the perimeter map and generating a splicing start point map of the labeled image according to the splicing position; Presetting the threshold quantity n of the splicing start point map, and obtaining the real-time quantity n1 of the splicing start point map of the labeled image; If n1 < n, generating a correction instruction and correcting the labeled image perimeter map according to the correction instruction; If n1 ≥ n, generating a labeling instruction, setting character comparison data according to the labeling instruction, generating multiple labeled word regions according to the labeling instruction, generating word blocks according to a single labeled word, establishing an attribution block according to all the word blocks, and generating a comparison model according to the attribution block; The character comparison data includes the preset position of the character and the character content; When presetting the threshold quantity n of the splicing start point map, it includes: Presetting a tire side area matrix A, setting A(A1, A2, A3, A4), where A1 is the preset first tire side area, A2 is the preset second tire side area, A3 is the preset third tire side area, A4 is the preset fourth tire side area, and A1 < A2 < A3 < A4; Presetting a splicing start point map quantity matrix N, setting N(N1, N2, N3, N4), where N1 is the preset first splicing start point map quantity, N2 is the preset second splicing start point map quantity, N3 is the preset third splicing start point map quantity, N4 is the preset fourth splicing start point map quantity, and N1 < N2 < N3 < N4; Obtaining the real-time tire side area a; If a ≥ A1, setting the threshold quantity n of the splicing start point map as the preset first splicing start point map quantity N1, that is, n = N1; If A1 < a ≤ A2, setting the threshold quantity n of the splicing start point map as the preset second splicing start point map quantity N2, that is, n = N2; If A2 < a ≤ A3, setting the threshold quantity n of the splicing start point map as the preset third splicing start point map quantity N3, that is, n = N3; If A3 < a ≤ A4, setting the threshold quantity n of the splicing start point map as the preset fourth splicing start point map quantity N4, that is, n = N4; When locating the character region to be recognized according to the recognition image perimeter map, it includes; Obtaining the splicing positioning of the recognition image perimeter map and generating a recognition image splicing start point map; Generating character positioning parameters and generating the character region to be recognized according to the positioning parameters; Generating an affine transformation matrix and generating a word affine transformation instruction according to the affine transformation matrix; Processing the character region to be recognized according to the word affine transformation instruction.
2. The method for recognizing characters on the tire sidewall according to claim 1, characterized in that: When generating the character region to be recognized according to the positioning parameters, it includes: Obtaining the initial labeled region parameters and setting a first-level search region according to the initial labeled region parameters; Generating the pixel positions p(px, py) to be matched according to the first-level search region to construct an N*N neighborhood matching window; Obtain the target pixel position p' (px + d, py) to construct an N*N neighborhood matching window; Establish a correlation model and generate the real-time correlation g of the matching window according to the correlation model; Preset the first correlation threshold g1; If g > g1, generate a character region to be recognized according to the first-level search region; If g < g1, generate a first-level search region correction instruction.
3. The method for recognizing characters on the tire sidewall according to claim 2, characterized in that: When generating the first-level search region correction instruction, it includes: Generate a correlation difference d according to the real-time correlation g and the first correlation threshold g1; Set a correction coefficient e according to the correlation difference d; Obtain the area c of the first-level search region and generate a second-level search region, where the area c1 of the second-level search region = e * c; Establish a text region probability model and generate a character region to be recognized according to the second-level search region and the text region probability model.
4. The method for recognizing characters on the tire sidewall according to claim 3, characterized in that: When setting the correction coefficient e according to the correlation difference d, it includes: Preset a correlation difference matrix D, set D(D1, D2, D3, D4), where D1 is the preset first correlation difference, D2 is the preset second correlation difference, D3 is the preset third correlation difference, D4 is the preset fourth correlation difference, and D1 < D2 < D3 < D4; Preset a correction coefficient matrix E, set E(e1, e2, e3, e4), where e1 is the preset first correction coefficient, e2 is the preset second correction coefficient, e3 is the preset third correction coefficient, e4 is the preset fourth correction coefficient, and e1 < e2 < e3 < e4; If D1 ≤ d < D2, set the correction coefficient e as the preset first correction coefficient e1, that is, e = e1; If D2 ≤ d < D3, set the correction coefficient e as the preset second correction coefficient e2, that is, e = e2; If D3 ≤ d < D4, set the correction coefficient e as the preset third correction coefficient e3, that is, e = e3; If d ≥ D4, set the correction coefficient e as the preset fourth correction coefficient e4, that is, e = e4.
5. The method for recognizing characters on the tire sidewall according to claim 4, characterized in that: When generating recognition parameters, it includes: Preprocess the character region to be recognized to generate multiple word blocks to be recognized; Establish a first recognition model and a second recognition model; Generate a first recognition result according to the first recognition model and the character region to be recognized; Generate a second recognition result according to the second recognition module and the character region to be recognized; Judge whether the recognition result of the word block to be recognized is correct according to the comparison model; If both the first recognition result and the second recognition result of the current word block to be recognized are incorrect, generate a rejudgment parameter and generate a recognized word according to the rejudgment parameter; If the recognition result of the current word block is correct, generate a recognized word; Generate a recognition result according to all the recognized words.
6. The method for recognizing characters on the tire sidewall according to claim 5, characterized in that: When generating the rejudgment parameter, it includes: Perform a similar character judgment on the word block to be recognized; Generate a repositioning instruction and a region expansion instruction; Preset the number of iterative judgments, and perform iterative judgments on the word block to be recognized according to the number of iterative judgments; Generate a recognized word.
7. The method for recognizing characters on the tire sidewall according to claim 5, characterized in that: When generating multiple word blocks to be recognized, it includes: Generate a first character distance F1 and a second character distance F2 according to the comparison model; Obtain the distance f between adjacent characters in the character region to be recognized; If F1 < f < F2, it is set that the current adjacent characters belong to the same word block to be recognized; If f > F2, it is set that the current adjacent characters do not belong to the same word block to be recognized.
Citation Information
Patent Citations
Character recognition method and device, equipment, system and storage medium
CN113221654A
Tire size automatic recognition system and method using deep artificial neural network
KR102367702B1
Vehicle license plate recognition method and apparatus
WO2018090771A1
KR20230101531A
