Method for imaging tire sidewalls
A CNN-based method with enhanced image contrast techniques efficiently classifies tire sidewall markings, addressing the inefficiencies of existing systems by providing accurate and cost-effective tire sidewall reading.
Patent Information
- Application Number
- JP2021568133
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-05-14
- Filing Date
- 2020-04-23
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-04-23
AI Technical Summary
Existing systems for reading tire sidewall markings, such as those using 3D scanners or handheld laser devices, are expensive, prone to damage, and require human operator assistance, while optical character recognition (OCR) methods struggle with low contrast and environmental conditions, making them inefficient and inaccurate for outdoor or non-ideal settings.
A computer-implemented method using deep convolutional neural networks (CNNs) with histogram equalization and adaptive histogram equalization to enhance image contrast, combined with Gaussian difference operations, allows for efficient classification of embossed and stamped tire sidewall markings on a CPU, reducing training time and resource requirements.
The method achieves faster and more accurate classification of tire sidewall markings, enabling real-time processing on a CPU without the need for GPUs, even under varying environmental conditions.
Smart Images

Figure 0007534331000009 
Figure 0007534331000010 
Figure 0007534331000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a computer-implemented method for classifying one or more embossed and / or engraved markings on a tire sidewall into one or more classes, training a classifier to perform this task, and generating training data for training the classifier. [Background technology]
[0002] The exterior surface of a vehicle tire, known as the tire sidewall, bears text-based information regarding the tire brand, model, and several codes. The codes may include, for example, information such as the manufacturing plant, age of the tire, type of tire, intended load, speed rating and size, production batch information, and other product information. The codes may include, for example, one or more combinations of letters and / or numbers. Additionally, the sidewall may also bear other useful text, logos, symbols, pictograms, and / or visual representations of other information. For vehicle users, and particularly fleet operators, this various pieces of information are important because it provides a consistent and reliable way to track the usage of tires on their vehicle fleets, thereby greatly improving the fleet operator's ability to perform data analytics on their vehicle tire inventory.
[0003] Attempts have been made to automate the tire sidewall reading process, but such systems are either 3D scanner-based systems (available from MicroEpsilon, Cognex, and Numetrix) for use in indoor and controlled inspection tasks, or handheld laser devices used for both indoor and outdoor applications. Given the structured laser light components, such systems are either expensive to manufacture, difficult to align, prone to damage, and / or require the assistance of a human operator, and therefore are not truly automated and cost-effective.
[0004] Applying Optical Character Recognition (OCR) to images taken without structured illumination would reduce hardware costs significantly. However, previous attempts based on color or grayscale image OCR have been unsuccessful because using tires outdoors causes wear of the sidewall text (e.g., due to material erosion, dust, dryness, and / or humidity) and because the text has such low contrast (black on black) that it can be difficult for automated systems or even human observers to decipher.
[0005] The challenge in building such a system is that it should desirably be fast enough to read both the text on the tires of a moving vehicle as it passes the system, or the text on a stationary tire as the system's field of view (FOV) moves over the tire, and should desirably be able to compensate for different conditions (e.g., different weather conditions outdoors and / or dusty / dirty conditions indoors at a fleet depot) and produce accurate and repeatable results without the assistance of a human operator.
[0006] An imaging system that provides enhanced contrast images has been proposed in WO 2017 / 060739. In particular, when reading embossed or engraved text such as tire sidewall codes, lighting is important as it can improve the contrast and therefore readability of the text through shadow casting. WO 2017 / 060739, on the other hand, proposes using image analysis software to perform OCR on such images to read the embossed markings, but the conventional OCR techniques described in WO 2017 / 060739 do not work well because they are too slow and / or have low accuracy under non-ideal, non-laboratory settings.
[0007] Recent developments in deep learning based image classification and text recognition have propelled deep convolutional neural networks (CNNs) to the top of the performance table for object and text detection and recognition tasks. A known type of CNN suited to such tasks is Faster R-CNN, first proposed in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc.
[0008] FasterR-CNN has a deep CNN feature extractor called the backbone. There are many known deep CNN feature extractors that can be used as the backbone, including VGG16, ResNet50, ResNet100, InceptionNet, AlexNet, etc. VGG16 was first proposed in K. Simonyan, A. Zisserman, Very Deep Convolutional Networks for Large-Scale Image Recognition, arXiv technical report, 2014.
[0009] As explained in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, N.D. Lawrence, D.D. Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc., the backbone feature extractor branches into a built-in Region Proposal Network (RPN) that proposes regions of interest (also called proposals) that are further processed by a classifier. The classifier classifies the content of the proposals in the RPN into predefined classes according to the training data.
[0010] Other examples of known CNNs used for object and text detection and recognition include Fast R-CNN, R-CNN, SPPNet, SSD, YOLOv1 / v2 / v3, and EAST text detector.
[0011] As indicated above, a problem with applying such CNNs to the task of reading tire sidewalls is that images of tire sidewalls often have very low contrast between the background tire sidewall and the embossed and / or engraved markings. This is especially true for old and worn tires where the embossed and / or engraved markings are partially worn away and difficult to read even by the human eye. Increasing the resolution of the camera used for image capture helps ensure that image data related to the worn embossed and / or engraved markings are not completely lost against the background. High resolution as referred to herein means that the images typically have a resolution of about 500x2000 to 500x4000 pixels after the distortion of the tire sidewall curvature in the image has been deconvoluted, i.e., removed during pre-processing.
[0012] However, as is known in the art, using high-resolution images as input to a CNN is significantly slower and requires more processing resources, both for training the CNN and for inferring data not seen at test time. While powerful graphics processing units (GPUs) can be used for such tasks, GPUs have a high monetary cost compared to cheaper, less powerful central processing units (CPUs).
[0013] Therefore, what is ideally needed is an improved computer-implemented method for classifying embossed and / or engraved markings on tire sidewalls that can be efficiently implemented, for example, on a CPU.
[0014] The following terms are given the following meanings herein: "Unwarping": Mapping an image of a tire sidewall, which has curvature, into an image where the curvature has been removed or straightened. "Image Channel": one or more predetermined elements of image data underlying a digital image. "Synthetically generated / Synthetic data": Data that is generated using an algorithm and used to increase the total amount of data for training, for example when only limited data from other sources is available. Training Period: The time it takes for the CNN to converge to a given acceptable precision and recall. "Test-time": When the trained CNN performs the task it was trained for, e.g., when the trained CNN classifies one or more embossed and / or engraved markings on a previously unseen tire sidewall into one or more classes. "Histogram Equalization": a method of image processing in which contrast adjustment is applied to an original image by forming a histogram of the distribution of intensity values of the original image over a plurality of intensity value ranges, determining a mapping between intensity values of the original image and modified intensity values based on the histogram, and modifying the intensity values of the original image according to the mapping to produce a modified image, where the mapping is chosen such that the distribution of pixel intensities between intensity ranges is more uniform in the modified image than in the original image according to a uniformity criterion, such as reduced variance between retrospective intensity ranges of equal width. "Adaptive Histogram Equalization": an image processing method of contrast adjustment in which histogram equalization is performed for each pixel or pixel region of an original image using a corresponding mapping defined using a neighborhood of the pixel or pixel region (e.g., a portion of the original image within a predetermined distance of the pixel or pixel region). "Anchor": A feature in an image that is known from prior knowledge to indicate the presence and location of other features in the image. Difference of Gaussians (DoG): A method of image processing for feature enhancement in which a blurred version of the original image is subtracted from another unblurred version of the original image, which can be obtained by convolving the original image with Gaussian kernels with different standard deviations. "CPU" and "GPU": Central Processing Unit and Graphics Processing Unit, where a GPU is configured to provide more processing cores operating at a lower clock speed than the fewer processing cores of a CPU operating at a higher clock speed. Summary of the Invention
[0015] In general, the present invention relates to improving the efficiency with which a trained CNN can classify embossed and / or engraved markings in images of tire sidewalls and reducing the time required to train a CNN to perform that task. In particular, instead of using the initially acquired dewarped image data to generate a feature map, histogram equalization is performed on the dewarped image data to generate a new image channel. This new image channel is used to generate a feature map that is used to classify the embossed and / or engraved markings. This reduces both the training period and the processing resources required to classify the embossed and / or engraved markings to an acceptable level of accuracy during testing.
[0016] Further improvement in the accuracy of the classifier is achieved if the feature map is generated from three image channel inputs, instead of from a single image channel, with a first channel being the histogram equalization channel described above, a second channel generated by performing adaptive histogram equalization on the initial dewarped image data, and a third channel containing the initial dewarped image data.
[0017] We found that the training time of Faster R-CNN using the above three image channels is about 8-10 times faster than the training time of Faster R-CNN using only the initially acquired dewarped image data as a single image channel. The test accuracy on previously unseen data was also higher.
[0018] During testing, the inventors further discovered that Faster R-CNN, trained using the three image channels described above and tested on downsampled (50%) images, can run in real time on a CPU, rather than the more expensive GPU, to classify embossed and / or engraved markings.
[0019] Thus, the present invention provides a faster and less expensive way to train a CNN to classify embossed and / or stamped markings on tire sidewalls, and to apply the trained CNN to new tire sidewall images under test with greater accuracy. [Brief description of the drawings]
[0020] [Figure 1] FIG. 1 is a flow chart of a method for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Diagram 2] FIG. 2 is a flow chart of a method for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Diagram 3] FIG. 3 is a flow chart of a method for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 4] FIG. 4 is a flowchart of a method for generating a training data set for use in training a classifier for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Diagram 5] FIG. 5 is a flowchart of a method for generating a training data set for use in training a classifier for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 6] FIG. 6 is a flowchart of a method for generating a training data set for use in training a classifier for classifying embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 7]FIG. 7 is a flow chart of a method for training a classifier to classify embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 8] FIG. 8 is a flow chart of a method for training a classifier to classify embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 9] FIG. 9 is a flow chart of a method for training a classifier to classify embossed and / or engraved markings on a tire sidewall into one or more classes, according to one embodiment. [Figure 10] FIG. 10 shows a block diagram illustrating the technical architecture of a data processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] According to a first aspect, a computer-implemented method for classifying one or more embossed and / or engraved markings on a sidewall of a tire into one or more classes is provided.
[0022] Next, a first embodiment will be described with reference to FIG.
[0023] In a first step, digital image data 101 is provided that defines a digital image of a tire sidewall.
[0024] In a second step, a first image channel 102 is generated from the digital image data 101 by performing histogram equalization on a first portion of the digital image data 101, the first portion being associated with a corresponding first portion of the tire sidewall, which may be the entire tire sidewall or another portion of the tire.
[0025] Histogram equalization results in areas of locally lower contrast in an image to obtain higher contrast, and works well when both the background and foreground are light or both are dark, such as in the case of a tire sidewall with a black foreground and background. This may be performed using functions from any known library of programming functions, such as, for example, OpenCV, although other libraries will be known to those skilled in the art. An example of a suitable histogram equalization function is the "equalizeHist" function in the OpenCV library. Thus, performing histogram equalization on the first digital image data 101 to generate the first image channel 102 enhances contrast in the data corresponding to low contrast areas of the tire sidewall, including where the embossed and / or engraved markings are located.
[0026] In a third step, the first image channel 102 is used to generate a first feature map 103. The first feature map 103 can be, for example, the output of a convolutional layer of a CNN whose kernel slides over the input first image channel 102. It is contemplated that any suitable CNN architecture that results in a feature map being generated using the first image channel 102 can be used. Examples of suitable architectures are described in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, N.D. Lawrence, D.Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc.
[0027] In a fourth step, the first classifier 104 is applied to the first feature map 203 to classify the embossed and / or stamped markings into one or more classes. Some non-limiting examples of the types of classes into which the embossed and / or stamped markings may be classified include brand logos, tire type and model, brand symbols, "DOT" codes (character sequences consisting of the letters "D", "O", "T" that often precede other embossed and / or stamped sidewall markings for regulatory reasons), and the character sequence "5 / " (which is often part of the tire size in stamped sidewall markings for regulatory reasons). In one embodiment, the first classifier 104 is capable of classifying the embossed and / or stamped markings into more than 370 different classes, thereby allowing different brand logos and symbols to be distinguished from one another, different tire type and model markings to be distinguished from one another, and character sequences "D", "O", "T" and / or "5 / " to be distinguished from one another and from other markings on the tire sidewall. For example, for a given input tire sidewall image, the first classifier 104 may be used to determine embossments and / or markings on the tire sidewall that include one of a plurality of tire brand logos or symbols, information indicative of the tire type and model and related tire characteristics, the letter sequences "D", "O", "T", and / or "5 / ".
[0028] With reference to FIG. 2, a second embodiment is provided.
[0029] In a first step similar to the first step of the first embodiment, digital image data 201 defining a digital image of a tire sidewall is provided.
[0030] In a second step, similar to the first embodiment, a first image channel 202a is generated from the digital image data 201 by performing histogram equalization on a first portion of the digital image data 201. As mentioned above, the first portion of the digital image data 201 relates to a corresponding first portion of the tire sidewall, which may be the entire tire sidewall or another portion of the tire.
[0031] However, in addition to generating the first image channel 202a as described above, a second image channel 202b and a third image channel 202c are also provided.
[0032] The second image channel 202 b is generated by performing adaptive histogram equalization on the first portion of the digital image data 201 .
[0033] Adaptive histogram equalization is similar to histogram equalization in that it improves the contrast of an image. However, it differs in that it calculates several histograms, each corresponding to a separate section of the image, and uses these to redistribute the brightness values of the image. Thus, histogram equalization works well when the background and foreground are both light or both dark, and adaptive histogram equalization works well for images that contain areas that are significantly lighter or darker than other parts of the image. Adaptive histogram equalization may be performed using functions from known libraries of programming functions, such as OpenCV, for example, although other functions will be known to those skilled in the art. An example of a suitable adaptive histogram equalization function is the "IMCLAHE" function from the OpenCV library. Thus, performing adaptive histogram equalization on the first digital image data 201 to generate the second image channel 202b improves the contrast of data that corresponds to areas that are significantly lighter or darker than the majority of the image.
[0034] In addition to generating the first image channel 202a and the second image channel 202b as described above, the digital image data 201 is assigned as a third image channel 202c. Thus, the three channels 202a, 202b, 202c taken together comprise image data contrast-enhanced in two different ways (histogram equalization and adaptive histogram equalization) and the initially prepared image data 201. Thus, supplementing the digital image data 201 with two contrast-enhanced image channels has been found to be surprisingly effective in reducing the training period and enabling the trained CNN to classify embossed and / or engraved markings, which as described above have inherently very low contrast and are difficult to detect and recognize by OCR.
[0035] In a third step, the first, second and third image channels 202a, 202b, 202c are used to generate a first feature map 203. As described above in relation to the first embodiment, the first feature map 203 can be, for example, the output of a convolutional layer of a CNN where a kernel slides over the input. In this case, the inputs are the first, second and third image channels 202a, 202b, 202c. It is envisaged that any suitable CNN architecture may be used that results in a feature map being generated using the first, second and third image channels 202a, 202b, 202c. Examples of suitable architectures are described in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, ND Lawrence, DD Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc.
[0036] In a fourth step, which is the same as the fourth step of the first embodiment, a first classifier 204 is applied to the first feature map 203 to classify the embossed and / or engraved markings into one or more classes as described above in relation to the first embodiment.
[0037] With reference to Fig. 3, a third embodiment similar to the second embodiment is provided. In particular, similar to the second embodiment, digital image data 302 of a tire sidewall having embossed and / or engraved markings is provided, a first image channel (histogram equalization) 302a and a second image channel (adaptive histogram equalization) 302b are generated, and the digital image data 301 is assigned as a third image channel 302c. Similarly to the second embodiment, a first feature map 303a is generated using the three channels 302a, 302b, 302c, and a first classifier 304a is applied to the first feature map 303a to classify the embossed and / or engraved markings into one or more first classes of the type described above.
[0038] One or more of the embossed and / or engraved markings of the first class can be used as anchors to help localize other embossed and / or engraved markings on the tire sidewall that are not in the first class. These other embossed and / or engraved markings can include more detailed information related to, for example, the manufacturing plant, the year, the type or model of the tire, the intended load, the speed rating and size, the production batch information, the manufacturer's details, and other detailed product information. For example, for regulatory reasons, "DOT", "5 / ", or other character sequences may be followed by alphanumeric or other characters that designate the above types of information. Thus, if these anchor character sequences are found using the first classifier, the approximate locations of other embossed and / or engraved markings of other classes may be more efficiently localized, and other locations may be discarded.
[0039] This can be achieved by providing an input of three channels 302a, 302b, 302c, a first feature map 303a, and a first classifier 304a, as well as a second classification branch whose purpose is to classify other embossed and / or engraved markings into a second, class.
[0040] The input to the second classification branch is a fourth channel 302d, which is the only channel in the second classification branch. The fourth channel 302d is generated by applying a difference of Gaussian operations to a first portion of the digital image data 310. Optionally, the first portion is a new image created from the digital image data 301 by trimming to an estimated length of the embossed or engraved information between or preceding the "DOT" and / or "5 / " anchors. For example, the "DOT" typically precedes the remaining embossed and / or engraved marking code, which may be, for example, 14-20 characters long, with each character having a similar pixel width. By measuring the character width in pixels of one or more characters within the "DOT" anchor, an approximate image width equal to the width of 14 to 20 characters may be determined and used to crop the digital image data to generate the first portion. Considering the "5 / " anchor, the "5 / " anchor typically appears between the characters, rather than preceding the remaining characters, since it forms part of the tire size. Thus, the character width in pixels of the "5" in "5 / " may be measured and the image cropped to the width of a few characters before the "5 / " anchor (usually 3) and the width of a few characters after it (usually 14). As defined above, Difference of Gaussians is a feature enhancement algorithm that enhances the visibility of edges and other details in digital images.
[0041] From this fourth channel 304d, a separate second feature map 303b is generated. Similar to the first feature map 303a, the second feature map 303b can be, for example, the output of a convolutional layer of a CNN where the kernel slides over the input. In this case, the input is the fourth image channel 302d.
[0042] A second classifier 304b, different from the first classifier 304a, is then applied to the second feature map 303b to classify the embossed and / or engraved markings into one or more second classes different from the first classes.
[0043] Thus, the first classifier 304a can detect and recognize anchors from which the approximate location of other embossed and / or engraved markings can be inferred, and the second classifier 303b can classify the other embossed and / or engraved markings into a second class. Depending on which classes and which anchors are selected, one or more of the second class may be the same as one or more of the first class and indistinguishable. For example, one or more alphanumeric characters may be used as anchors and at the same time contain information related to, for example, tire characteristics, which are classified by the second classifier 304b. In such a scenario, the alphanumeric characters belong to both the first class and the second class. Furthermore, although symbols and logos have been generally described herein as belonging to the first class, it is envisaged that they may also belong to the second class.
[0044] Optionally, instead of performing the Gaussian difference on the entire first portion of the digital image data 301, it may be performed only on a portion of the first portion. For example, if the first classifier identifies an anchor such as a "DOT" or "5 / " character sequence, it may be inferred that only a region of a predetermined height and width of the digital image adjacent to the "DOT" or "5 / " character sequence (e.g., within a predetermined distance from the anchor) is likely to contain embossed and / or engraved markings of the second class. Thus, the first portion of the digital image data may be cropped to correspond to that predetermined region, and the Gaussian difference may be efficiently performed only on a corresponding patch of the image and the corresponding portion of the first portion of the digital image data, rather than the entire first portion of the digital image data.
[0045] Cropping the image in this manner reduces the resolution of the image on which Gaussian differencing is performed to generate the second feature map 303b and to which the second classifier 304b is applied, thus requiring fewer processing resources both during training and testing.
[0046] Thus, in one exemplary implementation, it is assumed that a first classifier is trained on the full, uncropped, high-resolution image to identify over 370 first classes, such as brand logos, tire types and models, symbols, and predefined character sequences used as anchors, such as "DOT" and "5 / ". However, the first classifier is not trained to identify and distinguish between second classes of character sequences that appear adjacent to the anchors and contain more detailed tire information, such as manufacturing plant, era, tire type, intended load, speed rating, size, etc. Using the first classifier and the full, uncropped, high-resolution image for this task would be inefficient, since only a small portion of the image (adjacent to the anchors) actually contains these character sequences, while the rest is empty. Instead, as explained above, a second classifier is trained on a smaller cropped image of predefined height and width based on the anchors for this task. In this exemplary implementation, the second classifier is trained to identify over 39 second classes, such as alphanumeric characters 0-9 and AZ, and additional classes, such as the " / " symbol and / or other symbols used to specify tire product information.
[0047] Furthermore, the inventors have discovered that tire manufacturers use different techniques to produce the first class of embossed and / or engraved markings of logos and symbols compared to the second class of markings of character sequences that specify tire product information following the "DOT" and / or "5 / " character sequences. Applying Gaussian difference to the texture of the logos and symbols has surprisingly been found to be detrimental to classifying the logos and symbols into the first class that are distinguished primarily by texture. Thus, Gaussian difference is not used in the first classification branch. In contrast, Gaussian difference has been found to be particularly effective in enhancing the edges of the second class of embossed and / or engraved character sequences, which are embossed or engraved markings that are distinguished primarily by edges.
[0048] In connection with all of the above embodiments, the "DOT" and "5 / " character sequences are proposed as anchors, however, other character sequences and / or symbols or other embossments and / or inscriptions may also be used for this purpose.
[0049] Optionally, all the methods of the above embodiments may be performed using a Faster R-CNN network as described in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, ND Lawrence, DD Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc.
[0050] With particular regard to the third embodiment, the first classifier 304a may be a classifier in a first Faster R-CNN network, and the second classifier 304b may be a classifier in a second Faster R-CNN network, where the first Faster R-CNN network is different from the second Faster R-CNN network.
[0051] Thus, a first Faster R-CNN network identifies and classifies image features corresponding to a first class, and a second Faster R-CNN network does the same but in relation to a second class.
[0052] Each of the first and second Faster R-CNN networks may have its own region of interest generator to generate multiple regions of interest in the first and second feature maps.
[0053] Each of the first and second Faster R-CNN networks may also have its own bounding box regressor to perform bounding box regression on each generated region of interest to refine its location.Furthermore, a region of interest pooling layer may be provided that takes input regions of interest of non-uniform size and reshapes them to a predetermined uniform size, as described in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, N.D. Lawrence, D.D. Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc. For the third embodiment, where the input to the fourth channel (i.e., the only input channel of the second classifier) is cropped based on the anchors detected by the first classifier, the uniform size of the rectangles of regions of interest output by the region of interest pooling layer may be used to calculate the length of an average alphanumeric (or other marking) character in pixels to determine where to crop the image for the fourth channel in the second classification branch so as to capture the embossed and / or engraved markings corresponding to the second class.
[0054] As a non-limiting example, if a "DOT" anchor is detected, it is expected to be followed by 15-18 alphanumeric characters on the tire sidewall. For a "5 / " anchor, 2-5 characters are expected to precede the "5 / " and 12-15 characters are expected to follow the "5 / ". In either case, the height of the characters is typically about 100 pixels. Thus, the image can be cropped and resized to ensure that all 15-18 characters and / or 2-5 characters and 12-15 characters of the sequence around the anchor are retained for the fourth channel. Note that the length and height of other character sequences may be used to determine how much the image of the fourth channel should be cropped and / or resized.
[0055] Optionally, for all embodiments, the tire curvature in the digital image data may be de-distorted such that the curvature is removed from the digital image data used to generate the input channels by mapping an image of the tire sidewall having curvature to an image in which the curvature has been removed or straightened, simplifying any subsequent processing.
[0056] Optionally, for all embodiments, some or all of the digital image data may be downsampled between 50% and 80%. As mentioned above, it is assumed that the digital images have a high resolution (e.g., about 500×4000 pixels). If the trained CNN is processed / inferred using exclusively CPU-based operations, applying the trained CNN to such high-resolution images at test time may be resource intensive and cause unacceptable slowdown. This slowdown may prevent the CNN from achieving acceptable performance when running in real time. Downsampling the input digital image data significantly reduces the required computational resources, but at the expense of robustness and generalization capabilities. To overcome this problem, at training time, some training samples are randomly downsampled between 50%-80% so that the CNN is trained on both the full, high-resolution image and the downsampled image. Optionally, a slight affine transformation may be added to some of the training samples to further improve generalization. The inventors have found that CNNs trained in this way are significantly more robust and better at generalizing input images of any resolution, including both full, high-resolution images and images downsampled between 50%-80%. Thus, if the input images are downsampled by 50%-80% at test time, the above embodiment can be run exclusively on the CPU at test time, thus allowing the CPU to run in real time with acceptable performance. If the embossed and / or engraved marking is a large logo, the inventors have found that downsampling effectively shrinks the logo to fit into the receptive field of the CNN, thereby improving detection of the logo.
[0057] Further, with respect to the third embodiment, and where the digital image is cropped to a predetermined height and width in the second classification branch based on one or more anchors identified by the first classification branch, downsampling is not required, as the cropping significantly reduces the size of the input image, thereby reducing the required computational resources. As an example, the cropped image may be approximately 100 pixels high, compared to the 500 pixels high of the full, high-resolution input image.
[0058] According to a second aspect, there is provided a computer implemented method for generating a training data set for use in training a classifier for classifying one or more embossed and / or engraved markings on a tire sidewall into one or more classes. The method may be used to generate training data for training a classifier used in an embodiment of the first aspect of the invention. The advantages, technical effects and features of the embodiments of the first aspect described above may be applied and combined with the corresponding embodiments of the second aspect.
[0059] 4, in one embodiment, a method for generating a training data set 400 includes providing a plurality of digital images and respective digital image data 401 of respective sidewalls of tires, each sidewall having one or more embossed and / or engraved markings. The method further includes labeling 402 each digital image data 401 with one or more first classes, for example corresponding to a brand logo, a tire type and model, a brand symbol, an anchor, or other first classes described above. For each digital image and each digital image data 401, a respective first image channel 403 is generated from a first portion of each digital image data 401 associated with a corresponding first portion of each tire sidewall. The generating includes performing histogram equalization on the first portion of each digital image data 401, as described above.
[0060] With reference to Figure 5, a further embodiment similar to the embodiment shown in Figure 4 is described. Similar to the above embodiment, a method for generating a training data set 500 includes providing a plurality of digital images of tire sidewalls and respective digital image data 501, each sidewall having one or more embossed and / or engraved markings. The digital image data 501 is labelled 502 with one or more first classes and first channels 503a generated by performing histogram equalisation as described above.
[0061] However, in addition a second image channel 503b and a third image channel 503c are also generated. The second image channel 503b is generated by performing adaptive histogram equalization on a first portion of each digital image data 501. The third image channel 503c is assigned as the first portion of each digital image data 501 as the third image channel 503c. The three channels correspond to the channels described above in relation to the first aspect.
[0062] With reference to Fig. 6, a further embodiment similar to the embodiment shown in Fig. 5 is described. Similar to the above embodiment, the method of generating a training data set 600 includes providing a plurality of digital images and each digital image data 601, each sidewall having one or more embossed and / or engraved markings. As above, the digital image data 601 is labelled 602a with one or more first classes, and three image channels 603a, 603b, 603c are generated by performing histogram equalisation to generate a first channel 603a, performing adaptive histogram equalisation to generate a second channel 603b, and assigning the digital image data 601 as a third image channel 603c.
[0063] However, in addition, each digital image data 601 is labeled 602b with one or more second classes, corresponding to additional classes, such as, for example, alphanumeric characters 0-9 and AZ, and the " / " symbol and / or other symbols used to specify tire product information as described above in connection with the first aspect of the present invention. A fourth image channel 603d is then generated by performing a difference of Gaussian operation on the first portion of each digital image data 601. As described above, the image defined by the digital image data 601 may be cropped and / or resized according to the anchors prior to performing the DoG to improve efficiency.
[0064] Optionally, as described above, the curvature of the tire in the digital image data may be de-curved such that the curvature of the tire in the digital image data is removed from the digital image data used to generate the input channels by mapping an image of the curved tire sidewall to a curvature-removed or straightened image, which simplifies any subsequent processing.
[0065] While it may be preferable for much of the training data to be actual, manually labeled / annotated images, this is not always practical or possible. Optionally, in such cases, at least one or more of the multiple digital images may be synthetically generated, i.e., generated using an algorithm to increase the total amount of data available for training. A non-limiting example of how synthetic data may be generated is to take an actual fully dewarped image of a tire sidewall and fill the empty spaces in the actual image with text, logos, symbols, and / or other markings corresponding to the desired first and / or second classes, thereby increasing the number of (synthetic) embossed and / or engraved markings per image on which the CNN is trained. Although this approach does not provide sufficient flexibility due to the limited amount of empty space on the actual image to fill in the additional markings, the inventors have found that it produces surprisingly good results when there are not enough actual, fully manually labeled / annotated training images available. Optionally, a slight affine transformation may be added to some of the training data images to further improve generalization.
[0066] Optionally, as described above, some or all of the digital image data in the training data may be downsampled by between 50% and 80%. For example, if the digital images in the training data are high resolution (approximately 500x4000 pixels), some of the randomly selected images may be downsampled by 50% to 80% so that the training data includes both full high resolution images and downsampled images.
[0067] The advantage of including downsampled images in the training dataset in this way is that at least some comparably lower resolution images have contributed to the training, improving the robustness and ability of CNNs trained on these images to generalize to unseen images that have lower resolution and / or were downsampled at test time.
[0068] Although downsampling slightly impairs detection of very weak or faint embossed and / or engraved markings such as worn "DOT" and / or "5 / " anchors, the inventors have found that downsampling by up to 50% provides a good trade-off between detection of embossed and / or engraved markings such as anchors and large logos on the one hand and efficiency on the other hand.
[0069] As described above in relation to the embodiment of FIG. 3, in the fourth channel, the training data images are cropped and / or resized to smaller image patches (e.g., 100 pixels high and a predetermined number of pixels wide based on the length of the expected character sequence as described above), and no downsampling is required as processing of smaller image patches inherently requires less computational power.
[0070] According to a third aspect, there is provided a computer-implemented method for training a classifier for classifying one or more embossed and / or engraved markings on a tire sidewall into one or more classes. The method may be used to train a classifier for use in an embodiment of the first aspect of the invention, and may use training data generated by the method of the second aspect of the invention. The advantages, technical effects and features of the embodiments of the first and / or second aspects described above may be applied and combined with the corresponding embodiments of the third aspect.
[0071] 7, in one embodiment, the method includes training a first classifier 700 on first training data 701, the first training data including a plurality of digital images of tire sidewalls having one or more embossed and / or engraved markings and respective digital image data 702. The respective digital image data are labeled with one or more first classes, such as, for example, brand logo, tire type and model, brand symbol, anchor, or other classes as described above. The respective digital images and respective digital image data include respective first image channels 703 generated by performing histogram equalization on a first portion of the respective digital image data 702 associated with a corresponding first portion of the respective tire sidewall. The first classifier is trained 700 using the provided labels 704 and the first image channels 703.
[0072] A further embodiment similar to that shown in Fig. 7 is described with reference to Fig. 8. As with the above embodiment, the method includes training a first classifier 800 on first training data 801, the first training data 801 including a plurality of digital images of tire sidewalls having one or more embossments and / or markings and respective digital image data 802. The respective digital image data 802 have been labeled with one or more first classes as described above. Each digital image and each digital image data 802 includes a first image channel 803a generated by performing histogram equalization on a first portion of the respective digital image data 802 associated with a corresponding first portion of the respective tire sidewall.
[0073] However, in addition, as described above with respect to the corresponding embodiments of the first and second aspects of the present invention, each digital image and each digital image data further includes a second image channel 803b and a third image channel 803c. The second image channel 803b is generated by performing adaptive histogram equalization on a first portion of each digital image data 802 to generate the second image channel 803b. Each digital image data 802 is assigned as a third image channel. The advantages and effects of using three image channels (histogram equalization 803a, adaptive histogram equalization 803b, and digital image data 803c) are described above with respect to the first and second aspects of the present invention. A first classifier is trained 800 using the prepared labels 804 and the first, second and third image channels 803a, 803b, 803c.
[0074] With reference to Figure 9, a further embodiment similar to that shown in Figure 8 is described. As with the above embodiment, the method includes training a first classifier 900 on first training data 901, the first training data 901 including a plurality of digital images of tire sidewalls each having one or more embossments and / or markings and each digital image data 902, each digital image data 902 being labeled with one or more first classes as described above. Each digital image and each digital image data 902 includes first, second and third image channels 903a, 903b, 903c as described above.
[0075] However, as further explained above with respect to the corresponding embodiments of the first and second aspects of the invention, the first portion of the digital image data 902 is also labeled with one or more second classes, e.g., alphanumeric characters 0-9 and AZ, and additional classes, such as the " / " symbol or other symbols used to specify tire product information. Furthermore, the fourth image channel 903d is generated by performing a Gaussian difference on the first portion of the digital image data 902. This may be the entire first portion of the digital image data 902 or other portions, e.g., only cropped portions adjacent and / or near anchors (i.e., anchors within a predetermined distance), such as the "DOT" or "5 / " character sequences. As further explained above with respect to the corresponding embodiments of the first and second aspects of the invention, this is more efficient because the Gaussian difference only needs to be performed on much smaller image patches, reducing the processing resources required for training. A first classifier is trained 900 using prepared labels 905 corresponding to a first class along with the first, second and third image channels 903a, 903b, 903c, and a second classifier is trained 904 using prepared labels 906 corresponding to a second class along with the fourth image channel 903d.
[0076] In connection with all of the above embodiments, any suitable training technique may be used, such as those described in Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In C. Cortes, ND Lawrence, DD Lee, M. Sugiyama, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 28 (pp. 91-99). Curran Associates, Inc., and references contained therein.
[0077] Efficiency and monetary cost are key factors, therefore it is preferable to perform all method steps on the CPU; during training, unlike testing, a GPU may optionally be used instead. If the training data contains high resolution images, a batch size of 1 is typically necessary to stay within the 8GB GPU RAM limit (GTX-1080). Larger batch sizes may be used to improve results, but may require more expensive GPUs with higher RAM limits.
[0078] Also provided herein is an exemplary data processing apparatus including means for performing the steps of the method of any of the above embodiments, as illustrated by the technical architecture of Figure 10. In some embodiments, all steps are performed on a CPU, which is less expensive than a GPU.
[0079] The data processing device may include a processor 1000 in communication with memory devices including secondary storage 1001 (such as a disk drive), read only memory (ROM) 1002, and random access memory (RAM) 1003. The processor 1000 may be implemented as one or more CPU chips, which are less expensive than a GPU. The data processing device may further include input / output (I / O) devices 1004, and network connectivity devices 1005.
[0080] Secondary storage 1001 typically consists of one or more disk or tape drives and is used for non-volatile storage of data and as an overflow data storage device when RAM 1003 is insufficient to hold all working data. Secondary storage 1001 may be used to store programs that are loaded into RAM 1003 when such programs are selected for execution.
[0081] In this embodiment, the secondary storage 1001 includes an instruction processing element 1001a that contains non-transitory instructions that are operated by the processor 1000 to perform various operations of the disclosed method. The ROM 1002 is used to store instructions that are read during the execution of a program, and possibly to store data. The secondary storage 1001, the RAM 1003, and / or the ROM 1002 may be referred to as computer-readable storage media and / or non-transitory computer-readable media in some contexts.
[0082] The I / O devices 1004 may include a printer, a video monitor, a liquid crystal display (LCD), a plasma display, a touch screen display, a keyboard, a keypad, switches, dials, a mouse, a trackball, a voice recognition device, a card reader, a paper tape reader, or other well-known input devices.
[0083] The network connection devices 1005 may be modems, modem banks, Ethernet cards, Universal Serial Bus (USB) interface cards, serial interfaces, token ring cards, fiber distributed data interface (FDDI) cards, wireless local area network (WLAN) cards, radio transceiver cards facilitating wireless communication using protocols such as code division multiple access (CDMA), global system for mobile communications (GSM), long-term evolution (LTE), worldwide interoperability for microwave access (WiMAX), near field communications (NFC), radio frequency identity (RFID), and / or other air interface protocol radio transceiver cards, and other well-known network devices. These network connection devices 1005 may enable the processor 1000 to communicate with the Internet or one or more intranets. With such network connections, it is contemplated that the processor 1000 may receive information from the network or output information to the network in the course of performing the method operations described above. Such information, often represented as a series of instructions executed using the processor 1000, may be received from and output to the network in the form of, for example, a computer data signal embodied in a carrier wave.
[0084] The processor 1000 executes instructions, code, computer programs, scripts that it accesses from a hard disk, a floppy disk, an optical disk (all of these various disk-based systems may be construed as secondary storage device 1001), a flash drive, a ROM 1002, a RAM 1003, or a network-attached device 1005. Although only one processor 1000 is shown in the figure, there may be multiple processors. Thus, while instructions may be described as being executed by a processor, the instructions may be executed simultaneously, serially, or by one or more processors.
[0085] Although the technical architecture is described with reference to a computer, it should be understood that the technical architecture may be formed by two or more computers in communication with each other cooperating to perform a task. For example, but not by way of limitation, an application may be partitioned in a manner that allows for simultaneous and / or parallel processing of the application's instructions. Alternatively, data processed by the application may be partitioned in a manner that allows for simultaneous and / or parallel processing of different portions of the data set by two or more computers. In some embodiments, virtual enemy software may be used by the technical architecture to provide the functionality of several servers that are not directly tied to the number of computers in the technical architecture. In some embodiments, the functionality disclosed above may be provided by running the application and / or the application in a cloud computing environment. Cloud computing may include providing computing services over a network connection using dynamically scalable computing resources. A cloud computing environment may be established by an enterprise and / or adopted from a third party provider as needed.
[0086] It is understood that programming and / or loading executable instructions into a technological architecture modifies at least one of the CPU 1000, RAM 1003, and ROM 1002, partially transforming the technological architecture into a specific purpose machine or apparatus having novel functionality as taught by the present disclosure. It is fundamental to the art of electrical and software engineering that functionality that can be implemented by loading executable software into a computer can be transformed into a hardware implementation by well-known design rules.
[0087] Also provided herein is a computer program and a computer-readable storage medium for storing the computer program, the computer program including instructions that, when the program is executed by a computer, cause the computer to perform the steps of the method of any of the above embodiments.
[0088] Although the present invention has been described with respect to preferred embodiments as disclosed above, it should be understood that these embodiments are merely exemplary and the claims are not limited to these embodiments. Those skilled in the art will be able to make modifications and changes in light of this disclosure that are considered to be within the scope of the appended claims. Each feature disclosed or illustrated in this specification may be incorporated into the present invention, whether alone or in any suitable combination with other features disclosed or illustrated in this specification.
[0089] For example, it is envisioned that several text detection frameworks, such as EAST (Efficient and Accurate Scene Text Detector), CTPN (connectionist text proposal network) text detectors, and others, as well as CNNs other than Faster R-CNN, such as Fast R-CNN, R-CNN, SPPNet, SSD, YOLO v1 / v2 / v3, etc. In particular, to implement the above method, several end-to-end detectors (which can be CNNs of the same or different types) can be cascaded, thereby solving the sidewall marking detection and classification problem in a cheap and efficient manner as described above.
[0090] Furthermore, the Faster R-CNN described above has a VGG16 backbone as described in K. Simonyan, A. Zisserman, Very Deep Convolutional Networks for Large-Scale Image Recognition, arXiv technical report, 2014. Other backbones such as ResNet50, ResNet100, InceptionNet, AlexNet, etc. may also be used.
[0091] Additionally, the accuracy of the above method for classifying one or more embossed and / or engraved markings on a tire sidewall into one or more classes can be further enhanced if the digital image data includes multiple (optionally dewarped) images of the tire sidewall of a single tire. An example of when multiple images may be utilized is when the digital image data is acquired by an imaging system that takes multiple images of the tire sidewall as it moves across the imaging system's field of view, with the resulting multiple images providing several different views of the same tire sidewall and the embossed and / or engraved markings thereon.
[0092] Typically, multiple classification results are obtained by performing the method on multiple images of the same embossed and / or engraved marking, rather than on a single image. Each classification result is expected to be the same, since the multiple images all relate to the same tire sidewall and the same embossed and / or engraved marking thereon. Thus, if one or more classification results differ from the other results, it may be determined to be a false positive or negative result.
[0093] In particular, where the digital image data includes digital image data for multiple images of a tire sidewall, the steps of generating a first image channel, generating a first feature map, and applying a first classifier are performed for each image to obtain a plurality of classification results associated with the embossed and / or engraved markings on the tire sidewall, each classification result identifying into which one or more first classes the embossed and / or engraved markings have been classified along with a respective plurality of confidence levels corresponding to each of the one or more identified first classes.
[0094] Each confidence level is a value between 0 and 1, where 1 is 100% confidence that the result is a true positive and 0 is 0% confidence that the result is a true positive.
[0095] For each of the one or more first classes in each classification result, the corresponding confidence level may be modified, e.g., increased by multiplying it with a scalar constant. In particular, if the confidence level exceeds a predefined first threshold (e.g., greater than 0.95), it is multiplied with a constant (e.g., 3, 4, 5, or any other scalar) to increase it. If the confidence level is equal to or less than the first threshold, no such multiplication is performed. The multiplication has the effect of increasing the confidence level of identified classes that already have a high confidence level compared to other classes. This helps to distinguish classes with a high confidence level from identified classes that have a low confidence level and are therefore more likely to be false positives or negatives.
[0096] After multiplications are performed, if applicable, the confidence levels of each identified class are accumulated (e.g., by summing) to provide a confidence score for each identified class in multiple images of the tire sidewall.
[0097] Thus, if a class appears in multiple images all with a confidence level above a first threshold, the associated confidence level from each image is multiplied by a constant each time, thus resulting in an increased confidence score indicative of a true positive.
[0098] In contrast, if a class appears in only one or a few of the images with a confidence level below the first threshold, or in only one of the images with a high confidence level and the rest have a lower confidence level, the resulting cumulative confidence score will be low compared to the other confidence scores, thus indicating a false positive or true negative.
[0099] In a final step, if the respective confidence scores are below a predefined second threshold, the corresponding one or more identified first classes may be determined to be false positives. The false positives may be optionally discarded, and the remaining classes retained as true positives. The retained true positives may be further used, for example, to identify tire brands.
[0100] The inventors have discovered that when the digital image data includes multiple images of the same tire sidewall, the above method provides a fast and computationally inexpensive way to increase the accuracy of the methods described herein. An example implementation of the above technique is now described. The set of labels (e.g., classes) may be set into a list with the following or other structure: JPEG0007534331000001.jpg101151
[0101] Each tire brand has several tire models and symbols associated with it (e.g., "BRAND1" has associated tire models "Winter", "Summer", "1337Grip" and symbol "Brand1_symbol"). There may also be non-brand names that are not uniquely associated with any brand, such as "OUTSIDE" and "ROTATION". These are labeled as common tags and belong to the first class of the first classifier framework, and although they may help to identify a certain general group of tire types, or inside or outside, and rotation direction, the presence of common tags does not necessarily help to distinguish tire brands. Labeling these types of markings as common tags means that common tags may be arbitrarily discarded if detected during testing. Anchor classes such as "DOT" and "5 / " are also included in the list. If a given embossed and / or engraved marking has multiple different appearances (e.g., if a brand's logo or text changes over time and different versions may exist), multiple classes of that embossed and / or engraved marking may be added to the list. Certain other types of embossed and / or engraved markings are also tagged with unique tags that are unique to a given tire brand. For example, a tire may have a unique diagram on its sidewall that indicates how to store the tire indoors or outdoors. Given the uniqueness of such diagrams, they can be particularly useful in distinguishing tire brands.
[0102] Thus, the above list shows all classes into which the first classifier can classify embossed and / or engraved markings. The structure of the list shows how the classes relate to each other and / or to the associated brand, in particular how the symbol, tire model and unique tag relate to that brand.
[0103] At test time, the list structure is initialized and the first classifier is applied to multiple images of a tire sidewall. For each detection of a class, the list for the detected class is searched and the confidence level associated with that detection is added to the cumulative score of the class. As above, if the confidence level is high (e.g., greater than 0.95), it is multiplied by a constant before being added to the cumulative confidence score. This produces a cumulative confidence score for each class detected in the list.
[0104] Since the same markings have been detected in each of the multiple images, multiple detections of the same class are expected; that is, detection redundancy is built into the system as the same markings are detected multiple times. Thus, the cumulative confidence scores associated with classes that are detected multiple times will also be high, and there will be a consensus that these multiple detections are true positives. In contrast, false positives are highly unlikely to be detected multiple times, so their cumulative confidence scores will be low and there will be no consensus.
[0105] Once all the images have been processed in this manner, an accumulated confidence score indicates which classes were correctly detected. The list structure also indicates whether a detected class is associated with a given tire brand, so that the confidence scores of all detected classes associated with a given brand can be aggregated. The brand with the highest aggregate score may be used to determine the brand of the imaged tire.
[0106] Furthermore, once the tire brand is determined, the tire model name can be determined by searching the confidence scores associated with the class that indicates the tire model with the highest score, which typically excludes detection of brand symbols and generic tags that do not indicate a unique tire model.
Claims
1. 1. A method for computer classifying one or more embossed and / or engraved markings on a tire sidewall into one or more classes, the method comprising: (i) providing digital image data of a sidewall of the tire; (ii) generating a first image channel from a first portion of the digital image data corresponding to a first portion of a sidewall of the tire, wherein generating the first image channel includes performing histogram equalization on the first portion of the digital image data to generate the first image channel; (iii) generating a first feature map utilizing the first image channel; and (iv) applying a first classifier to the first feature map to classify the embossed and / or engraved markings into one or more first classes. Including, The method includes generating second and third image channels from a first portion of the digital image data; Generating the second and third image channels includes: performing adaptive histogram equalization on a first portion of the digital image data to generate the second image channel; and allocating a first portion of the digital image data as the third image channel; The method, wherein the first feature map is generated using the first, second and third image channels.
2. performing a Gaussian difference on a first portion of the digital image data to generate a fourth image channel; generating a second feature map utilizing the fourth image channel; and The method of claim 1 , comprising applying a second classifier to the second feature map to classify the embossed and / or engraved markings into one or more second classes.
3. 3. The method of claim 2, wherein the first classifier is a classifier of a first FasterR-CNN network and the second classifier is a classifier of a second FasterR-CNN network, the first FasterR-CNN network being different from the second FasterR-CNN network.
4. The first FasterR-CNN network includes a first region of interest generator, and the method includes: The method of claim 3 , further comprising: generating a plurality of first regions of interest in a first feature map with the first region of interest generator; and applying the first classifier to the generated plurality of first regions of interest.
5. The second FasterR-CNN network includes a second region of interest generator, and the method further comprises: The method of claim 4 , further comprising: generating a plurality of second regions of interest in a second feature map with the second region of interest generator; and applying the second classifier to the plurality of generated second regions of interest.
6. Each of the first and second FasterR-CNN networks includes a respective bounding box regressor, and the method includes:
6. The method of claim 5, further comprising, prior to performing the step of applying the first and / or second classifiers to the generated plurality of first and / or second regions of interest, performing a bounding box regression on the respective plurality of first and / or second regions of interest with the respective bounding box regressor to refine one or more positions of the plurality of first and / or second regions of interest.
7. The method of any one of claims 1 to 6, wherein the tire sidewall has a curvature, and the providing of the digital image data includes dewarping the curvature.
8. A method according to any preceding claim, comprising downsampling the digital image data by between 50% and 80%.
9. The method according to any one of claims 1 to 8, wherein the method is executed using a CPU.
10. the digital image data includes digital image data for a plurality of images of a sidewall of the tire; generating the first image channel, generating the first feature map, and applying the first classifier are performed for each image of the plurality of images to provide a plurality of classification results identifying into which of the one or more first classes the embossed and / or engraved marking has been classified, and a respective plurality of confidence levels corresponding to each of the one or more identified first classes; The method of any of claims 1 to 9, further comprising determining that one or more of the identified first classes are false positives based on the confidence level.
11. 11. The method of claim 10, further comprising, for each of the one or more identified first classes in each of the classification results, modifying the corresponding confidence level by multiplying it by a constant if the confidence level exceeds a predetermined first threshold.
12. The method includes adding the confidence levels to generate a respective confidence score for each of the one or more identified first classes; 12. The method of claim 11, further comprising determining that one or more of the identified first classes are false positives based on the confidence scores if the respective confidence scores are below a second predetermined threshold.
13. 1. A computer-implemented method for generating a training data set for use in training a classifier to classify one or more embossed and / or engraved markings on a tire sidewall into one or more classes, comprising: providing a plurality of digital images of each tire sidewall having one or more embossed and / or imprinted markings thereon and each digital image data; labelling each of said digital image data with one or more first classes; and generating a respective first image channel from a first portion of each of the digital image data corresponding to a first portion of a sidewall of each of the tires; said generating includes performing histogram equalization on a first portion of each of said digital image data to generate each of said first image channels; The method includes generating second and third image channels from a first portion of each of the digital image data; generating the respective second and third image channels; performing adaptive histogram equalization on a first portion of each of the digital image data to generate the second image channel; and The method includes assigning a first portion of each of the digital image data as the third image channel.
14. The method includes labelling each of the digital image data with one or more second classes; The method of claim 13 , wherein said generating comprises performing a Gaussian difference on a first portion of each of said digital image data to generate a fourth image channel.
15. 15. The method of claim 13, wherein each of the tire sidewalls has a curvature, and providing the plurality of digital images and each digital image data includes dewarping the curvature.
16. A method according to any of claims 13 to 15, wherein at least one of the plurality of digital images is synthetically generated.
17. 17. A method according to any of claims 13 to 16, wherein each said digital image data is downsampled by between 50% and 80%.
18. 1. A computer-implemented method for training a classifier to classify one or more embossed and / or engraved markings on a tire sidewall into one or more classes, comprising: training a first classifier with first training data, the first training data including, for each of a plurality of tire sidewalls, respective digital image data derived from a digital image of a first portion of the tire sidewall, each sidewall having one or more embossments and / or engraved markings; the digital image data being labeled with one or more labels, each label representing a tire including a marking in one of a plurality of first classes; the digital image data comprises a first image channel; the first image channel is generated by performing histogram equalization on a corresponding first portion of the digital image; the digital image data having second and third image channels; the second image channel is generated by performing adaptive histogram equalization on a first portion of the digital image to generate the second image channel; A method according to claim 1, wherein the third image channel is generated by assigning a first portion of the digital image as the third image channel.
19. The method comprises: training a second classifier with second training data, the second training data including, for each of the plurality of tire sidewalls, respective second digital image data derived from a digital image of a first portion of the tire sidewall; the digital image data is labeled with one or more second labels, each second label indicating a tire including a marking in one of a plurality of second classes; the digital image data comprises a fourth image channel; 20. The method of claim 18, wherein the fourth image channel is generated by performing a difference of Gaussians on the corresponding first portion of the digital image.
20. A data processing apparatus comprising means for carrying out the method according to any of claims 1 to 19.
21. A computer program comprising instructions which, when executed by a computer, cause the computer to carry out a method according to any of claims 1 to 19.
22. 22. A computer readable storage medium having stored thereon the computer program of claim 21.
Citation Information
Patent Citations
Character image labeling method and device and computer readable storage medium
CN109685059A
Image processing device
JP2010218061A
Method and device for generating feature map by using fun
JP2019067406A
Tire recognition method and apparatus
US20160224863A1
