Automobile part intelligent identification method based on picture classification model

By standardizing and training auto parts image data based on the image classification model, building a convolutional neural network model, and performing min-max normalization processing, the problem of low auto parts recognition efficiency and accuracy in the existing technology is solved. Efficient and accurate auto parts identification is achieved.

CN118823748AInactive Publication Date: 2024-10-22BEIJING KUCHE YIMEI NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410764191.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing auto parts image recognition technology has low efficiency and accuracy, and cannot meet the needs of high-precision and high-efficiency recognition.

Method used

Using a method based on the image classification model, we collect and standardize the auto parts image data, divide the training set and the verification set, build a convolutional neural network Resnet model, and correct the data through min-max normalization to improve the generalization of the model. capabilities and training speed, reduce over-fitting phenomena, and ensure the accuracy and efficiency of the recognition model.

Benefits of technology

It improves the recognition accuracy and work efficiency of the auto parts recognition model, ensures that the performance in practical applications reaches the expected level, and improves the efficiency and accuracy of auto parts recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118823748A_ABST
    Figure CN118823748A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of image data processing, in particular to an automobile part intelligent identification method based on a picture classification model, and the method comprises the steps: S1, collecting the image data of automobile parts; s2, carrying out standardization processing on the automobile part image data; s3, dividing the standardized automobile part image data into a training set and a verification set; step S4, building and training a convolutional neural network Resnet model; step S5, verifying the trained Resnet model of the convolutional neural network; s6, judging the training standard reaching condition of the convolutional neural network Resnet model, and outputting the convolutional neural network Resnet model which is trained to reach the standard as an automobile part recognition model; step S7, correcting the standardized automobile part image data, and repeating the steps S3-S6; and S8, inputting automobile part image data acquired in real time into the automobile part identification model, and outputting an automobile part identification result. According to the invention, the recognition efficiency and accuracy of the automobile parts are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data processing, and in particular to an intelligent recognition method for automobile parts based on a picture classification model. Background Art

[0002] In the current automobile manufacturing and maintenance industry, the identification and classification of auto parts is an important and tedious task. Traditional identification methods rely on manual operations, which are not only inefficient but also prone to errors. With the rapid development of computer vision and deep learning technology, image recognition technology has been widely used in many fields. However, in the field of auto parts identification, due to the wide variety and different shapes of accessories, the existing image recognition technology is difficult to meet the needs of high-precision and high-efficiency identification.

[0003] Chinese patent publication number: CN114494729B discloses a method and device for identifying auto parts based on AI recognition technology, which includes the following steps: receiving a picture of an accessory to be identified and the size information of the accessory to be identified; automatically removing the background of the picture of the accessory to be identified to obtain a picture of the main body of the accessory to be identified; screening the pictures of auto parts in the auto parts gallery according to the size information of the accessory to be identified, wherein the pictures of auto parts are pictures with the background removed; calculating the similarity between the picture of the main body of the accessory to be identified and the screened auto parts pictures, and outputting the auto parts picture with the highest similarity and the corresponding auto parts information. However, this solution does not make normalization corrections for individual differences in the auto parts image data, and cannot improve the efficiency and accuracy of auto parts image recognition. Summary of the invention

[0004] To this end, the present invention provides an intelligent recognition method for automobile parts based on an image classification model, so as to overcome the problems of low efficiency and accuracy of automobile parts image recognition in the prior art.

[0005] To achieve the above object, the present invention provides an intelligent identification method for automobile parts based on an image classification model, comprising:

[0006] Step S1, collecting automobile parts image data;

[0007] Step S2, performing standardization processing on the automobile parts image data according to a standardization processing method to obtain standardized automobile parts image data;

[0008] Step S3, dividing the standardized automobile parts image data into a training set and a verification set;

[0009] Step S4, building a convolutional neural network Resnet model, and training the convolutional neural network Resnet model according to the training set;

[0010] Step S5, verifying the trained convolutional neural network Resnet model according to the verification set, and outputting the verification accuracy;

[0011] Step S6, comparing the verification accuracy with the preset accuracy, judging whether the convolutional neural network Resnet model training meets the standard according to the comparison result, and outputting the convolutional neural network Resnet model that meets the training standard as an automobile parts recognition model;

[0012] Step S7, when the convolutional neural network Resnet model training does not meet the standard, the standardized automobile parts image data is corrected by minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data;

[0013] Step S8, inputting the real-time collected automobile parts image data into the automobile parts recognition model, and outputting the automobile parts recognition result.

[0014] Furthermore, in step S2, the standardization processing method includes:

[0015] Step S20, adjusting the image size of the automobile parts image data to obtain standard size image data;

[0016] Step S21, extracting features from the standard size image data to obtain feature image data;

[0017] Step S22, annotating the characteristic image data to obtain standardized automobile parts image data.

[0018] Furthermore, in the step S20, the image size of the automobile parts image data is adjusted by image processing software to obtain standard size image data.

[0019] Furthermore, in the step S21, feature extraction is performed on the standard size image data through a feature extraction model to obtain feature image data.

[0020] Furthermore, in the step S22, the characteristic image data is annotated by an image annotation tool to obtain standardized automobile parts image data.

[0021] Furthermore, in step S3, the standardized automobile parts image data is divided into a 70% training set and a 30% validation set.

[0022] Furthermore, in step S4, a convolutional neural network Resnet model is built according to the deep learning framework PaddlePaddle, and the training set is input into the convolutional neural network Resnet model for training.

[0023] Furthermore, in step S5, when the trained convolutional neural network Resnet model is verified according to the verification set, the verification set is input into the convolutional neural network Resnet model for verification, and the verification accuracy H is output.

[0024] Furthermore, in step S6, the verification accuracy rate H is compared with the preset accuracy rate H0, and the training compliance of the convolutional neural network Resnet model is judged according to the comparison result, and the convolutional neural network Resnet model that has been trained to the compliance is output as an automobile parts recognition model, wherein:

[0025] When H<H0, it is determined that the training of the convolutional neural network Resnet model does not meet the standard;

[0026] When H≥H0, the convolutional neural network Resnet model is determined to have met the training standards, and the convolutional neural network Resnet model that has met the training standards is output as an automobile parts recognition model.

[0027] Furthermore, in step S7, when the convolutional neural network Resnet model training fails to meet the standard, the pixel values ​​of the standardized automobile parts image data are linearly transformed according to the minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data, wherein:

[0028] The calculation formula of minimum and maximum normalization is Xnor=(X-Xmin) / (Xmax-Xmin), where X is the original pixel value, Xnor is the normalized pixel value, Xmin is the minimum pixel value of X in the standardized automobile parts image data, and Xmax is the maximum pixel value of X in the standardized automobile parts image data.

[0029] Compared with the prior art, the beneficial effects of the present invention are that the method collects automobile parts image data through step S1, and performs standardization processing on the automobile parts image data according to the standardization processing method through step S2 to obtain standardized automobile parts image data, so as to improve the generalization ability of the convolutional neural network Resnet model and accelerate the training speed of the model, thereby improving the convergence efficiency of the convolutional neural network Resnet model; the method divides the standardized automobile parts image data into a training set and a verification set through step S3, so as to reduce the overfitting phenomenon of the convolutional neural network Resnet model, thereby improving the analysis efficiency of the automobile parts recognition model; the method builds a convolutional neural network Resnet model through step S4, and trains the convolutional neural network Resnet model according to the training set, so as to improve the recognition accuracy of the automobile parts recognition model; the method tests the trained convolutional neural network Resnet model according to the verification set through step S5 net model is verified and the verification accuracy is output. The verification accuracy is compared with the preset accuracy through step S6. The training compliance of the convolutional neural network Resnet model is judged according to the comparison result, and the convolutional neural network Resnet model that has been trained to the compliance is output as the automobile parts recognition model to ensure that the performance of the automobile parts recognition model in practical applications reaches the expected level and further improves the performance of the automobile parts recognition model. When the convolutional neural network Resnet model training does not meet the compliance through step S7, the method corrects the standardized automobile parts image data through minimum and maximum normalization, and repeats steps S3-S6 according to the corrected standardized automobile parts image data to further improve the recognition accuracy of the automobile parts recognition model. The method inputs the real-time collected automobile parts image data into the automobile parts recognition model through step S8, and outputs the automobile parts recognition result, to further improve the working efficiency and accuracy of the automobile parts recognition model. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 Schematic diagram of the process of the intelligent identification method of automobile parts based on the picture classification model of this embodiment;

[0031] Figure 2 This is a flow chart of the standardized processing method for this example. DETAILED DESCRIPTION

[0032] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0034] See also Figure 1 As shown, it is a flow chart of the method for intelligently identifying automobile parts based on the image classification model of this example, and the method includes:

[0035] Step S1, collecting automobile parts image data;

[0036] Step S2, performing standardization processing on the automobile parts image data according to a standardization processing method to obtain standardized automobile parts image data;

[0037] Step S3, dividing the standardized automobile parts image data into a training set and a verification set;

[0038] Step S4, building a convolutional neural network Resnet model, and training the convolutional neural network Resnet model according to the training set;

[0039] Step S5, verifying the trained convolutional neural network Resnet model according to the verification set, and outputting the verification accuracy;

[0040] Step S6, comparing the verification accuracy with the preset accuracy, judging whether the convolutional neural network Resnet model training meets the standard according to the comparison result, and outputting the convolutional neural network Resnet model that meets the training standard as an automobile parts recognition model;

[0041] Step S7, when the convolutional neural network Resnet model training does not meet the standard, the standardized automobile parts image data is corrected by minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data;

[0042] Step S8, inputting the real-time collected automobile parts image data into the automobile parts recognition model, and outputting the automobile parts recognition result.

[0043] Specifically, the method is applied to an automobile parts image recognition platform, by analyzing and processing automobile parts images, and analyzing and recognizing them through a convolutional neural network Resnet model, so as to improve the recognition efficiency and accuracy of the automobile parts recognition model, thereby improving the efficiency and accuracy of automobile parts image recognition.

[0044] Specifically, the method collects automobile parts image data through step S1, and performs standardization processing on the automobile parts image data according to a standardization processing method through step S2 to obtain standardized automobile parts image data, so as to improve the generalization ability of the convolutional neural network Resnet model and accelerate the training speed of the model, thereby improving the convergence efficiency of the convolutional neural network Resnet model. The method divides the standardized automobile parts image data into a training set and a verification set through step S3, so as to reduce the overfitting phenomenon of the convolutional neural network Resnet model, thereby improving the analysis efficiency of the automobile parts recognition model. The method builds a convolutional neural network Resnet model through step S4, and trains the convolutional neural network Resnet model according to the training set, so as to improve the recognition accuracy of the automobile parts recognition model. The method verifies the trained convolutional neural network Resnet model according to the verification set through step S5. Verify and output the verification accuracy, and compare the verification accuracy with the preset accuracy through step S6, judge the training compliance of the convolutional neural network Resnet model according to the comparison result, and output the convolutional neural network Resnet model that has been trained to the standard as the automobile parts recognition model, to ensure that the performance of the automobile parts recognition model in practical applications reaches the expected level, and further improve the performance of the automobile parts recognition model. When the convolutional neural network Resnet model training does not meet the standard through step S7, the method corrects the standardized automobile parts image data through minimum and maximum normalization, and repeats steps S3-S6 according to the corrected standardized automobile parts image data, to further improve the recognition accuracy of the automobile parts recognition model. The method inputs the real-time collected automobile parts image data into the automobile parts recognition model through step S8, and outputs the automobile parts recognition result, to further improve the working efficiency and accuracy of the automobile parts recognition model.

[0045] Specifically, in step S1, automobile parts image data are collected.

[0046] Specifically, the automobile parts image data refers to image information and data sets related to automobile parts. This embodiment does not limit the method of collecting automobile parts image data. Relevant technical personnel in this field can freely set it according to actual needs, and only need to meet the demand for collecting automobile parts image data. For example, the automobile parts image data can be collected by purchasing from parts suppliers.

[0047] See also Figure 2 As shown, it is a schematic diagram of the process of the standardization processing method of this example. In the step S2, the standardization processing method includes:

[0048] Step S20, adjusting the image size of the automobile parts image data to obtain standard size image data;

[0049] Step S21, extracting features from the standard size image data to obtain feature image data;

[0050] Step S22, annotating the characteristic image data to obtain standardized automobile parts image data.

[0051] Specifically, the standardized processing method ensures the consistency and compatibility of data and captures the core information in the image by resizing, extracting features and annotating the automobile parts image data, giving the image data clear semantic information to facilitate subsequent analysis and processing of the automobile parts image data, thereby improving the efficiency and accuracy of automobile parts image recognition.

[0052] Specifically, in step S20, the image size of the automobile parts image data is adjusted by image processing software to obtain standard size image data.

[0053] Specifically, the image processing software refers to a general term for various application software used to process image information. The image size refers to a measurement of the length and width of the image. This embodiment does not limit the type of image processing software. Relevant technical personnel in this field can freely set it according to actual needs. It only needs to meet the need to adjust the image size in the automobile parts image data. For example, the image processing software can be set to Adobe Photoshop. This embodiment does not limit the adjusted image size. Relevant technical personnel in this field can freely set it according to actual needs. It only needs to meet the need to standardize the automobile parts image data. For example, the adjusted image size can be set to 256 pixels wide and 256 pixels high.

[0054] Specifically, in step S21, feature extraction is performed on the standard size image data using a feature extraction model to obtain feature image data.

[0055] Specifically, the feature extraction model refers to a model that meets a preset accuracy rate by training a convolutional neural network model according to the image data of auto parts. The convolutional neural network model refers to a feedforward neural network that includes convolution calculations and has a deep structure. This embodiment does not limit the way in which the convolutional neural network model is trained. Those skilled in the art can set it freely, as long as the feature extraction model meets the requirements for feature extraction of standard size image data. For example, it can be set to divide 70% of the standard size image data into a training set and 30% into a test set, input the training set into the convolutional neural network model for training, and input the test set into the trained convolutional neural network model, optimize the parameters in the convolutional neural network iteratively, and output the convolutional neural network model as a feature extraction model until the accuracy of the output result of the convolutional neural network model test set reaches 98%.

[0056] Specifically, in step S22, the characteristic image data is annotated by an image annotation tool to obtain standardized automobile parts image data.

[0057] Specifically, the image annotation tool refers to software and platforms used to add annotations, labels, bounding boxes, polygons and other forms of annotation information to images. This embodiment does not limit the type of image annotation tools. Relevant technical personnel in this field can freely set them according to actual needs. It only needs to meet the needs of data annotation of feature image data. For example, the image annotation tool can be set to Label Img.

[0058] Specifically, in step S3, the standardized automobile parts image data is divided into a 70% training set and a 30% validation set.

[0059] Specifically, the training set refers to a data set used to train a machine learning or deep learning model, and the validation set refers to a data set used to evaluate model performance during the training process.

[0060] Specifically, in step S4, a convolutional neural network Resnet model is built according to the deep learning framework PaddlePaddle, and the training set is input into the convolutional neural network Resnet model for training.

[0061] Specifically, the deep learning framework PaddlePaddle refers to a deep learning framework developed by Baidu, and the convolutional neural network Resnet model refers to a deep learning model architecture that solves the gradient vanishing and gradient exploding problems in the deep neural network training process by introducing residual connections. This embodiment does not limit the parameters of the convolutional neural network Resnet model. Relevant technical personnel in this field can freely set them according to actual needs, and only need to meet the needs of identifying standardized auto parts image data. For example, the convolution kernel size in the convolutional neural network Resnet model can be set to 3×3, the number of convolution kernels can be set to 512, and the convolution step size can be set to 2.

[0062] Specifically, in step S5, when the trained convolutional neural network Resnet model is verified according to the verification set, the verification set is input into the convolutional neural network Resnet model for verification, and the verification accuracy H is output.

[0063] Specifically, the verification accuracy H refers to the ratio of the number of samples Q correctly verified by the convolutional neural network Resnet model on the verification set to the total number of verification samples Q0 when verifying the trained convolutional neural network Resnet model, that is, H=Q / Q0.

[0064] Specifically, in step S6, the verification accuracy rate H is compared with the preset accuracy rate H0, and the training compliance of the convolutional neural network Resnet model is judged according to the comparison result, and the convolutional neural network Resnet model that has been trained to the compliance is output as an automobile parts recognition model, wherein:

[0065] When H<H0, it is determined that the training of the convolutional neural network Resnet model does not meet the standard;

[0066] When H≥H0, the convolutional neural network Resnet model is determined to have met the training standards, and the convolutional neural network Resnet model that has met the training standards is output as an automobile parts recognition model.

[0067] Specifically, in step S7, when the convolutional neural network Resnet model training fails to meet the standard, the pixel values ​​of the standardized automobile parts image data are linearly transformed according to the minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data, wherein:

[0068] The calculation formula of minimum and maximum normalization is Xnor=(X-Xmin) / (Xmax-Xmin), where X is the original pixel value, Xnor is the normalized pixel value, Xmin is the minimum pixel value of X in the standardized automobile parts image data, and Xmax is the maximum pixel value of X in the standardized automobile parts image data.

[0069] Specifically, the minimum-maximum normalization refers to a normalization method that linearly maps data to the interval [0,1], the pixel value of the standardized automobile parts image data refers to the brightness and color intensity value of each pixel in the automobile parts image after normalization, the linear transformation refers to a mapping that maintains addition operations and quantitative multiplication operations, the original pixel value refers to the initial value assigned by the computer when the image is digitized, the normalized pixel value refers to the new value obtained after the original pixel value is normalized, the minimum pixel value in the standardized automobile parts image data refers to the minimum value of all pixel values ​​in the automobile parts image data, and the maximum pixel value in the standardized automobile parts image data refers to the maximum value of all pixel values ​​in the automobile parts image data.

[0070] Specifically, in step S8, the automobile parts image data collected in real time is input into the automobile parts recognition model, and the automobile parts recognition result is output.

[0071] Specifically, the auto parts recognition result refers to the result obtained by performing model calculation on the auto parts recognition model according to the auto parts image data collected in real time. The auto parts recognition result includes the auto parts name, auto parts model, auto parts manufacturer and auto parts guide price. The auto parts name refers to the name of auto parts, such as cylinder head, engine body, oil pan, intake pipe and air flow sensor. The auto parts model refers to the identification code of the auto parts composed of a series of numbers and letters. The auto parts manufacturer refers to the manufacturer of auto parts. The auto parts guide price refers to the retail price recommended by the manufacturer.

[0072] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. An intelligent identification method for automobile parts based on image classification model, It is characterized in that include: Step S1, collecting automobile parts image data; Step S2, performing standardization processing on the automobile parts image data according to a standardization processing method to obtain standardized automobile parts image data; Step S3, dividing the standardized automobile parts image data into a training set and a verification set; Step S4, building a convolutional neural network Resnet model, and training the convolutional neural network Resnet model according to the training set; Step S5, verifying the trained convolutional neural network Resnet model according to the verification set, and outputting the verification accuracy; Step S6, comparing the verification accuracy with the preset accuracy, judging whether the convolutional neural network Resnet model training meets the standard according to the comparison result, and outputting the convolutional neural network Resnet model that meets the training standard as an automobile parts recognition model; Step S7, when the convolutional neural network Resnet model training does not meet the standard, the standardized automobile parts image data is corrected by minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data; Step S8, inputting the real-time collected automobile parts image data into the automobile parts recognition model, and outputting the automobile parts recognition result.

2. The method for intelligently identifying automobile parts based on the image classification model according to claim 1, It is characterized in that In step S2, the standardization processing method includes: Step S20, adjusting the image size of the automobile parts image data to obtain standard size image data; Step S21, extracting features from the standard size image data to obtain feature image data; Step S22, annotating the characteristic image data to obtain standardized automobile parts image data.

3. The method for intelligently identifying automobile parts based on the image classification model according to claim 2, It is characterized in that In the step S20, the image size of the automobile parts image data is adjusted by image processing software to obtain standard size image data.

4. The method for intelligently identifying automobile parts based on the image classification model according to claim 2, It is characterized in that In the step S21, feature extraction is performed on the standard size image data using a feature extraction model to obtain feature image data.

5. The method for intelligently identifying automobile parts based on the image classification model according to claim 2, It is characterized in that In the step S22, the characteristic image data is annotated by an image annotation tool to obtain standardized automobile parts image data.

6. The method for intelligently identifying automobile parts based on the image classification model according to claim 1, It is characterized in that In step S3, the standardized automobile parts image data is divided into a 70% training set and a 30% validation set.

7. The method for intelligently identifying automobile parts based on an image classification model according to claim 1, It is characterized in that In step S4, a convolutional neural network Resnet model is built according to the deep learning framework PaddlePaddle, and the training set is input into the convolutional neural network Resnet model for training.

8. The method for intelligently identifying automobile parts based on an image classification model according to claim 1, It is characterized in that In step S5, when the trained convolutional neural network Resnet model is verified according to the verification set, the verification set is input into the convolutional neural network Resnet model for verification, and the verification accuracy H is output.

9. The method for intelligently identifying automobile parts based on an image classification model according to claim 1, It is characterized in that In step S6, the verification accuracy rate H is compared with the preset accuracy rate H0, and the training compliance of the convolutional neural network Resnet model is judged according to the comparison result, and the convolutional neural network Resnet model that has been trained to the compliance is output as an automobile parts recognition model, wherein: When H<H0, it is determined that the training of the convolutional neural network Resnet model does not meet the standard; When H≥H0, the convolutional neural network Resnet model is determined to have met the training standards, and the convolutional neural network Resnet model that has met the training standards is output as an automobile parts recognition model.

10. The method for intelligently identifying automobile parts based on an image classification model according to claim 1, It is characterized in that In step S7, when the convolutional neural network Resnet model training fails to meet the standard, the pixel values ​​of the standardized automobile parts image data are linearly transformed according to the minimum and maximum normalization, and steps S3-S6 are repeated according to the corrected standardized automobile parts image data, wherein: The calculation formula of minimum and maximum normalization is Xnor=(X-Xmin) / (Xmax-Xmin), where X is the original pixel value, Xnor is the normalized pixel value, Xmin is the minimum pixel value of X in the standardized automobile parts image data, and Xmax is the maximum pixel value of X in the standardized automobile parts image data.

Citation Information

Patent Citations

  • Traffic sign recognizing method based on multi-resolution convolution neural networks

    CN104537393A

  • Track surface wear identification and classification method and system

    CN114972117A

  • Power grid recording abnormal signal identification method

    CN118035923A