Vehicle detection method and device, electronic equipment and storage medium

By scanning vehicle identification codes and using pre-trained detection models to detect vehicle interior colors, the problem of missed detections and false detections in manual inspections is solved, efficient and accurate vehicle interior detection is achieved, and the outflow of unqualified products is reduced. Rework costs.

CN118570777APending Publication Date: 2024-08-30CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410674269.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Manual inspection of vehicle interior parts is prone to missed inspections and mis-inspections, resulting in unqualified vehicle interior color configurations and affecting product quality and brand reputation.

Method used

Obtain standard color information by scanning the vehicle identification code, collect interior images and use a pre-trained detection model to perform color detection, generate actual color information, compare it with the standard color information, and send the detection results to the production management system to control whether the vehicle is released.

Benefits of technology

It reduces the reliance on manual inspection, improves inspection efficiency and accuracy, ensures the consistency of inspection results, reduces false inspections and missed inspections, promptly identifies and repairs unqualified vehicles, avoids the outflow of unqualified products, and reduces rework. and recall costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570777A
    Figure CN118570777A
Patent Text Reader

Abstract

The invention provides a vehicle detection method and device, electronic equipment and a storage medium, and the method comprises the steps: scanning a vehicle identification code of a to-be-detected vehicle, obtaining the standard color information of the interior of the to-be-detected vehicle, collecting the interior image of the to-be-detected vehicle, carrying out the color detection of the interior image through a pre-training detection model, and obtaining the color of the to-be-detected vehicle. And generating actual color information of the to-be-detected vehicle interior, comparing the actual color information with the standard color information, generating a detection result, sending the detection result to the production management system, and controlling whether the to-be-detected vehicle is detected and released or not through the production management system. Standard color information is automatically obtained by scanning the vehicle identification code, color detection is automatically carried out on the interior trim image, false detection and missing detection caused by human factors are reduced, vehicles which do not meet the standard are rapidly identified, the detection result is directly sent to a production management system to be repaired in time, unqualified products are prevented from flowing out, and the production efficiency is improved. And efficient and accurate vehicle interior component detection is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle detection method, device, electronic equipment and storage medium. Background Art

[0002] With the rapid growth of users' demand for personalized customization, the combination relationship of vehicle interiors in the vehicle manufacturing industry has become increasingly complex. Among them, the multi-variety production model has caused the amount of configuration information of vehicle interior parts to grow exponentially. In order to ensure the accuracy of vehicle assembly, operators on the production line are usually required to have a high degree of professional knowledge to configure parts and prevent vehicle interior storage and assembly errors.

[0003] At present, vehicle interior parts mainly rely on manual inspection, and manual inspection is used to verify and inspect vehicle interior parts. These methods ensure the correct assembly of primary parts to a certain extent. However, for the inspection of a large number of secondary parts, manual visual inspection is not only inefficient, but also easily affected by the subjective factors of the operator, which may lead to missed inspections and false inspections, resulting in vehicles with unqualified interior color configurations entering the market, further affecting vehicle product quality and brand reputation. Summary of the invention

[0004] In view of this, the present invention aims to propose a vehicle detection method, device, electronic device and storage medium to solve the problem of missed detection and false detection of vehicle interior parts during manual inspection, which leads to the flow of vehicles with unqualified interior color configuration into the market, and to achieve accurate and efficient vehicle detection.

[0005] According to a first aspect of the present invention, a vehicle detection method is provided, the method comprising:

[0006] A vehicle detection method, characterized in that the method comprises:

[0007] Scan the vehicle identification code of the vehicle to be tested to obtain the standard color information of the interior of the vehicle to be tested;

[0008] Collecting an interior image of the vehicle to be detected, performing color detection on the interior image using a pre-trained detection model, and generating actual color information of the interior of the vehicle to be detected;

[0009] Comparing the actual color information with the standard color information to generate a detection result;

[0010] The detection result is sent to the production management system, and the production management system controls whether the vehicle to be detected is detected and released.

[0011] Optionally, the collecting of the interior image of the vehicle to be detected, using a pre-trained detection model to perform color detection on the interior image, and generating actual color information of the interior of the vehicle to be detected includes:

[0012] Collecting the interior image of the vehicle to be detected and sending a detection request to the server;

[0013] In response to the interior image detection request, calling a pre-trained detection model in the server to perform color detection on the interior image;

[0014] Receive the actual color information of the interior of the vehicle to be detected sent by the server.

[0015] Optionally, in response to the interior image detection request, calling a pre-trained detection model in the server to perform color detection on the interior image includes:

[0016] Dividing the interior image into regions to determine detection regions and feature regions;

[0017] Performing noise reduction processing on the detection area and the feature area respectively, and obtaining the number of pixels in the detection area and the feature area;

[0018] The actual color information of the interior image is determined by using the number of pixels in the detection area and the feature area.

[0019] Optionally, the training of the pre-trained detection model includes:

[0020] Collect sample images of different car models in advance, and divide the sample images into a training set, a validation set, and a test set;

[0021] Using a convolutional neural network to extract features from the sample images of the training set to generate standard color information of the sample images;

[0022] The standard color information and the sample images of the training set are used to iteratively train the convolutional neural network to generate a detection model.

[0023] Optionally, the sending of the detection result to a production management system, and controlling whether the vehicle to be detected is detected and released by the production management system, comprises:

[0024] Sending the test results to a production management system;

[0025] If the detection result is that the color information is consistent, the production management system controls the vehicle to be detected to be released;

[0026] If the detection result is that the color information is inconsistent, the production management system controls the vehicle to be detected to be re-inspected.

[0027] Optionally, after sending the detection result to a production management system and controlling whether the vehicle to be detected is detected and released by the production management system, the method further includes:

[0028] If it is detected that the production management system controls the vehicle to be inspected to be returned for inspection, a prompt message is sent to the management personnel.

[0029] According to a second aspect of the present invention, a vehicle detection device is provided, the device comprising:

[0030] An information acquisition module is used to scan the vehicle identification code of the vehicle to be detected and obtain the standard color information of the interior of the vehicle to be detected;

[0031] An image detection module is used to collect an interior image of the vehicle to be detected, perform color detection on the interior image using a pre-trained detection model, and generate actual color information of the interior of the vehicle to be detected;

[0032] A result generating module, used for comparing the actual color information with the standard color information to generate a detection result;

[0033] The vehicle control module is used to send the detection result to the production management system, and control whether the vehicle to be detected is detected and released through the production management system.

[0034] Optionally, the image detection module includes:

[0035] A request submodule, used for collecting the interior image of the vehicle to be detected and sending a detection request to the server;

[0036] A detection submodule, configured to respond to the interior image detection request and call a pre-trained detection model in the server to perform color detection on the interior image;

[0037] The receiving submodule is used to receive the actual color information of the interior of the vehicle to be detected sent by the server.

[0038] Optionally, the detection submodule includes:

[0039] A region division unit, used for dividing the interior image into regions to determine a detection region and a feature region;

[0040] A processing unit, used to perform noise reduction processing on the detection area and the feature area respectively, and obtain the number of pixels in the detection area and the feature area;

[0041] A determination unit is used to determine actual color information of the interior image by using the number of pixels in the detection area and the feature area.

[0042] Optionally, the training of the pre-trained detection model includes:

[0043] The acquisition submodule is used to pre-acquire sample images of different vehicle models and divide the sample images into a training set, a validation set and a test set;

[0044] A feature extraction submodule, used to extract features from the sample images of the training set using a convolutional neural network to generate standard color information of the sample images;

[0045] The training submodule is used to iteratively train the convolutional neural network using the standard color information and the sample images of the training set to generate a detection model.

[0046] Optionally, the vehicle control module includes:

[0047] A sending result submodule is used to send the test result to the production management system;

[0048] A first control submodule, configured to control the release of the vehicle to be inspected through the production management system if the inspection result shows that the color information is consistent;

[0049] The second control submodule is used to control the vehicle to be inspected to be re-inspected through the production management system if the inspection result is that the color information is inconsistent.

[0050] Optionally, after sending the detection result to a production management system and controlling whether the vehicle to be detected is detected and released by the production management system, the method further includes:

[0051] The prompt sending module is used to send a prompt message to the management personnel if it is detected that the production management system controls the vehicle to be inspected to be returned for inspection.

[0052] According to another aspect of the present invention, there is also provided an electronic device, comprising:

[0053] processor;

[0054] a memory for storing instructions executable by the processor;

[0055] Wherein, the processor is configured to execute the instructions to implement the vehicle detection method as described above.

[0056] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle detection method described above are implemented.

[0057] The vehicle detection method provided by the embodiment of the present invention obtains the standard color information of the interior of the vehicle to be detected by scanning the vehicle identification code of the vehicle to be detected, collects the interior image of the vehicle to be detected, uses the pre-trained detection model to perform color detection on the interior image, generates the actual color information of the interior of the vehicle to be detected, compares the actual color information with the standard color information, generates the detection result, sends the detection result to the production management system, and controls whether the vehicle to be detected is detected and released by the production management system. The embodiment of the present invention automatically obtains the standard color information by scanning the vehicle identification code, and uses the pre-trained detection model to automatically detect the color of the interior image, reduces the dependence on manual detection, improves the efficiency of vehicle detection, uses the pre-trained detection model to perform color detection, can ensure the consistency and accuracy of the detection results, reduces the false detection and missed detection caused by human factors, compares the real-time detection information with the standard color information, quickly identifies the vehicle that does not meet the standard, and directly sends the detection result to the production management system for timely repair, avoids the outflow of unqualified products, improves the detection efficiency and accuracy of vehicles on the production line, realizes efficient and accurate detection of vehicle interior parts, and reduces the cost of manual detection and rework and recall caused by quality problems.

[0058] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0060] Figure 1 is a flow chart of the steps of a vehicle detection method provided by an embodiment of the present invention;

[0061] Figure 2 yes Figure 1 Flow chart of step 102 in the vehicle detection method provided by the embodiment of the present invention;

[0062] Figure 3 yes Figure 1 A flowchart of step 104 in the vehicle detection method provided by an embodiment of the present invention;

[0063] Figure 4 is a flowchart of another vehicle detection method provided by an embodiment of the present invention;

[0064] Figure 5 is a schematic diagram of a scenario of a vehicle detection method provided by an embodiment of the present invention;

[0065] Figure 6 is a structural schematic diagram of a vehicle detection device provided by an embodiment of the present invention;

[0066] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0067] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0068] Reference Figure 1 , shows a flow chart of the steps of a vehicle detection method provided by an embodiment of the present invention, the method may include:

[0069] Step 101 , scanning the vehicle identification code of the vehicle to be detected to obtain standard color information of the interior of the vehicle to be detected.

[0070] In the embodiment of the present invention, on the automobile production line, the standard color information of the interior of the vehicle to be inspected is crucial, which is directly related to the quality of the final product and customer satisfaction. By comparing the actual interior color with the standard color information, it can be ensured that the interior color of each vehicle meets the design requirements, thereby avoiding quality problems caused by color mismatch. In order to solve the problem that the current manual visual inspection of vehicle interior parts is not only inefficient, but also easily affected by the subjective factors of the operator, and there will be problems of missed inspections and false inspections, resulting in vehicles with unqualified interior color configurations entering the market, further affecting the vehicle product quality and brand reputation, this embodiment automatically obtains standard color information by scanning the vehicle identification code, and uses a pre-trained detection model to automatically detect the color of the interior image, reducing the reliance on manual inspection and improving the efficiency of vehicle inspection. The use of a pre-trained detection model for color detection can ensure the consistency and accuracy of the detection results, and reduce false detections and missed inspections caused by human factors.

[0071] In this embodiment, the standard color information of the interior of the vehicle to be tested refers to the official color codes or color samples of the interior parts (such as seats, dashboards, door panels, roof linings, etc.) pre-defined according to the design specifications and customer order requirements during the automobile production process. Standard color information is usually used as a basis for production guidance and quality control. Each color has a unique code for identification and tracking in the production management system. The color description includes hue, saturation, and brightness. Internationally accepted color standards such as Pantone, RAL, or NCS are usually used.

[0072] Specifically, in this embodiment, a portable camera device can be deployed on a vehicle production line, and a dedicated AI detection APP can be pre-installed in the camera device. It should be noted that the portable camera device can be a mobile terminal mobile phone, PDA (Personal Digital Assistant), etc. PDA is a portable electronic device designed to help individuals manage daily tasks, such as scheduling, address book management, note taking, calculations and emails, etc. It usually has a touch screen and handwriting recognition function. Users can operate on the screen with a stylus or fingers. This embodiment does not specifically limit the camera device.

[0073] In this embodiment, a photographing device is used to scan the vehicle identification code of the vehicle to be inspected, and the application is used to scan the vehicle identification number (VIN) of the vehicle. The VIN code is a unique identification code for each vehicle. By scanning the VIN code, the relevant configuration information of the vehicle can be obtained, that is, the standard color information of the interior of the vehicle to be inspected can be obtained. The standard color information of the interior of the vehicle to be inspected is the official color of the interior parts pre-defined by the vehicle, and there is a corresponding relationship between the standard color information and the vehicle VIN code.

[0074] Step 102 , collect the interior image of the vehicle to be detected, use the pre-trained detection model to perform color detection on the interior image, and generate actual color information of the interior of the vehicle to be detected.

[0075] In the embodiment of the present invention, a portable camera deployed on the production line is used to collect the interior image of the vehicle to be inspected, and a pre-trained detection model in the server is used to perform color detection on the interior image to generate the actual color information of the interior of the vehicle to be inspected. It should be noted that the edge server is pre-deployed to store the algorithm model and process the image data, ensuring that the server has sufficient computing power and storage space to support real-time image processing and model calling.

[0076] Specifically, in this embodiment, a pre-trained detection model is used to perform color detection on the interior image to generate the actual color information of the interior of the vehicle to be detected, which specifically includes dividing the interior image into regions, determining the detection region and the feature region, performing noise reduction processing on the detection region and the feature region respectively, and obtaining the number of pixels in the detection region and the feature region, and using the number of pixels in the detection region and the feature region to determine the actual color information of the interior image. The pre-trained detection model in this embodiment is a pre-trained ResNet network model, which is used to detect and identify the color information of the image, and this embodiment will not be described in detail.

[0077] Step 103, compare the actual color information with the standard color information to generate a detection result.

[0078] In an embodiment of the present invention, standard color information of the interior of the vehicle to be inspected is obtained from a production management system (MOM system) and compared with the actual color information collected and identified by an AI detection APP, that is, the actual color information and the standard color information are compared to generate a detection result, which includes consistent color information and inconsistent color information.

[0079] Step 104, the test results are sent to the production management system, and the production management system controls whether the vehicle to be tested is tested and released.

[0080] In the embodiment of the present invention, the test results are sent to the production management system, and the production management system controls whether the vehicle to be tested is released. It should be noted that the production management system is connected to the server side for communication, and can receive the test results of the vehicle interior, thereby controlling the process of the production line. Specifically, the test results are integrated with the production management system. If the color information is consistent, that is, the test is passed, a pass signal is sent to the production management system, and the normal operation of the vehicle to be tested is controlled by the production management system; if the color information is inconsistent, NG, a fail signal is sent to the production management system, and the test is not released and returned for repair. In addition, if the vehicle is missed, an abnormal signal is sent to the production management system, and the line stops running.

[0081] The vehicle detection method provided by the embodiment of the present invention obtains the standard color information of the interior of the vehicle to be detected by scanning the vehicle identification code of the vehicle to be detected, collects the interior image of the vehicle to be detected, uses the pre-trained detection model to perform color detection on the interior image, generates the actual color information of the interior of the vehicle to be detected, compares the actual color information with the standard color information, generates the detection result, sends the detection result to the production management system, and controls whether the vehicle to be detected is detected and released by the production management system. The embodiment of the present invention automatically obtains the standard color information by scanning the vehicle identification code, and uses the pre-trained detection model to automatically detect the color of the interior image, reduces the dependence on manual detection, improves the efficiency of vehicle detection, uses the pre-trained detection model to perform color detection, can ensure the consistency and accuracy of the detection results, reduces the false detection and missed detection caused by human factors, compares the real-time detection information with the standard color information, quickly identifies the vehicle that does not meet the standard, and directly sends the detection result to the production management system for timely repair, avoids the outflow of unqualified products, improves the detection efficiency and accuracy of vehicles on the production line, realizes efficient and accurate detection of vehicle interior parts, and reduces the cost of manual detection and rework and recall caused by quality problems.

[0082] Further, see Figure 2 , showing Figure 1 A flowchart of step 102 in a vehicle detection method is provided. The method is substantially the same as the vehicle detection method provided in the first embodiment of the present invention. Step 102 may include:

[0083] Step 201, collect the interior image of the vehicle to be detected, and send a detection request to the server.

[0084] In an embodiment of the present invention, a dedicated AI detection APP is developed through a portable camera device to collect interior images of the vehicle to be detected, and the interior images are sent to an edge server to facilitate calling the algorithm model in the server.

[0085] Step 202, in response to the interior image detection request, calling the pre-trained detection model in the server to perform color detection on the interior image.

[0086] In an embodiment of the present invention, the pre-trained detection model includes an algorithm program, namely, a plurality of algorithms for identifying and detecting images. In response to an interior image detection request, the pre-trained detection model in the server is called to perform color detection on the interior image. The pre-trained detection model is trained by collecting sample images of different vehicle models. After multiple trainings, the algorithm model obtains a robust model that satisfies a detection accuracy rate of ≥ 99%.

[0087] Step 203, receiving the actual color information of the interior of the vehicle to be detected sent by the server.

[0088] In the embodiment of the present invention, interior images can be quickly collected through a portable camera and an AI detection dedicated APP, and processed in real time through an edge server, which greatly improves the efficiency of color detection. The pre-trained detection model can accurately identify and analyze the interior color, reduce human errors, and improve the accuracy and reliability of detection. The edge server can quickly respond to detection requests, so that the production line can instantly obtain the actual color information of the vehicle interior, thereby improving vehicle detection efficiency.

[0089] Specifically, step 202, in response to the interior image detection request, calls a pre-trained detection model in the server to perform color detection on the interior image, which may specifically include the following steps:

[0090] First, the interior image is divided into regions to determine the detection area and feature area;

[0091] Secondly, the detection area and the feature area are subjected to noise reduction processing respectively, and the number of pixels in the detection area and the feature area is obtained;

[0092] Secondly, the actual color information of the interior image is determined by using the number of pixels in the detection area and the feature area.

[0093] It should be noted that in the above steps, a pre-trained detection model is used to automatically identify and divide the detection area and feature area in the interior image to ensure accurate selection of key areas, and image noise reduction such as Gaussian filtering and median filtering are used to remove noise in the image to improve the accuracy of color detection. At the same time, it is ensured that the noise reduction process does not affect the details and color information of the image, and the number of pixels in the detection area and feature area is quickly and accurately counted for subsequent color information analysis. It should be noted that the detection area is the different component areas in the vehicle interior image, which are used to divide the interior categories and compare them with the standard colors of the interior in that category. The feature area is the color feature of the vehicle interior image, which is used to extract and identify color pixels.

[0094] In this embodiment, the actual color information of the interior image is extracted by using the pixel quantity statistics results combined with color space conversion (such as RGB to HSV). The algorithm can handle color changes under different lighting conditions, and instantly feed back the color detection results to the production management system. The color detection data is integrated into the quality control and traceability system to facilitate tracking of the interior color detection history of each vehicle.

[0095] The embodiments of the present invention can ensure that the detection model focuses on key interior color areas and reduce the interference of background noise through precise area division and noise reduction processing, thereby improving the accuracy of color detection. Automated area division and pixel number statistics can be completed quickly, which speeds up the entire color detection process and helps to improve the efficiency of the production line.

[0096] Furthermore, the training of the pre-trained detection model includes: pre-collecting sample images of different vehicle models, and dividing the sample images into a training set, a validation set, and a test set; using a convolutional neural network to extract features of the sample images of the training set, and generating standard color information of the sample images; using the standard color information and the sample images of the training set, iteratively training the convolutional neural network to generate a detection model.

[0097] In an embodiment of the present invention, sample images of vehicle interiors of different models are collected through a script, the required detection area is segmented, and the images are saved in different folders according to different models. At the same time, the data set can be split in a ratio of 7:2:1 as a training set, a validation set, and a test set for model training, and 500 images are automatically extracted based on the convolutional neural network ResNet network model. Each image is preprocessed, and then the features (including image R, G, B channel values, H, S, V channel values, channel mean, variance, texture information, and position information) are read to fit the color threshold of the standard sample. The algorithm model is trained hundreds of times to obtain a robust model with a detection accuracy of ≥99%. The convolutional neural network is iteratively trained to generate a detection model.

[0098] Further, see Figure 3 , showing Figure 1 A flowchart of step 104 in a vehicle detection method is provided. The method is substantially the same as the vehicle detection method provided in the first embodiment of the present invention. Step 104 may include:

[0099] Step 301, sending the test results to the production management system.

[0100] Step 302: If the detection result is that the color information is consistent, the production management system controls the release of the vehicle to be detected.

[0101] Step 303: If the detection result is that the color information is inconsistent, the production management system controls the vehicle to be detected to be re-inspected.

[0102] In an embodiment of the present invention, when the inspection result shows that the color information is consistent (OK), the production management system automatically updates the vehicle status and triggers the release process, which may specifically include unlocking the vehicle fixing device on the production line, sending a signal to the next process to prepare to receive the vehicle, etc.; when the inspection result shows that the color information of the vehicle is inconsistent (NG), the production management system should automatically start the re-inspection process, which specifically includes stopping the movement of the vehicle on the production line, recording the rework time, etc.

[0103] The embodiment of the present invention integrates the test results into the production management system, and ensures that the interior color of each vehicle meets the standards through an automated color detection and feedback mechanism, thereby enhancing quality control, reducing the outflow of defective products, automating the release or re-inspection process, reducing waiting and manual operation time, improving the overall efficiency of the production line, reducing the need for manual inspection and rework, and reducing production costs.

[0104] Reference Figure 4 , shows a flow chart of steps of another vehicle detection method provided by an embodiment of the present invention, which is basically the same as the vehicle detection method provided by the first embodiment of the present invention, except that the method may further include:

[0105] Step 101 , scanning the vehicle identification code of the vehicle to be detected to obtain standard color information of the interior of the vehicle to be detected.

[0106] Step 102 , collect the interior image of the vehicle to be detected, use the pre-trained detection model to perform color detection on the interior image, and generate actual color information of the interior of the vehicle to be detected.

[0107] Step 103, compare the actual color information with the standard color information to generate a detection result.

[0108] Step 104, the test results are sent to the production management system, and the production management system controls whether the vehicle to be tested is tested and released.

[0109] The above steps 101 to 104 are described in the foregoing description and will not be repeated here.

[0110] Step 105: If it is detected that the production management system controls the vehicle to be inspected to be re-inspected, a prompt message is sent to the management personnel.

[0111] In this embodiment, the inspection results are sent to the production management system. After the production management system controls whether the vehicle to be inspected is inspected and released, if it is detected that the production management system controls the vehicle to be inspected to be re-inspected, a prompt message is sent to the management personnel. The application push method can be used. This embodiment does not specifically limit the method of sending the prompt message.

[0112] Specifically, ensure that the automated color detection system synchronizes data with the production management system in real time, so that when a color mismatch (NG) is detected, the system can immediately send a signal to the production management system, send a prompt message to the management personnel, and trigger the corresponding production process adjustment. When the test results show that the color information is inconsistent, the system should automatically generate a detailed test report and send a notification to the relevant responsible person through the production management system. The report should include the specific location of the mismatch, the quantitative indicators of the color difference, and the recommended rework measures, and provide rework guidance and support for production line employees, including a detailed description of the rework process, a list of the required tools and materials, and a re-testing process after the rework is completed, to ensure that the rework work can be completed quickly and accurately.

[0113] On the basis of achieving the beneficial effects of the first embodiment, the embodiment of the present invention sends the inspection result to the production management system, and controls whether the vehicle to be inspected is released through the production management system. If it is detected that the production management system controls the vehicle to be inspected to be re-inspected, a prompt message is sent to the management personnel. The inspection result is directly sent to the production management system, and the management personnel is notified in time, thereby realizing seamless connection between inspection and production process, facilitating production management personnel to monitor production status and quality control, and further improving the practicality of vehicle inspection.

[0114] In order to facilitate those skilled in the art to fully understand the above vehicle detection method, refer to Figure 5 , Figure 5 It is a scene diagram of a vehicle detection method provided by an embodiment of the present invention, which shows the overall process of vehicle detection provided by an embodiment of the present invention, specifically including: the camera device communicates with a remote server, the camera device collects the vehicle interior image of the vehicle to be detected, the production management system receives the color recognition result of the server, and controls the line inspection operation of the vehicle to be detected. Specifically, start the portable mobile camera device, open the AI ​​detection APP, scan the vehicle VIN code, take a picture of the interior color, wait for the detection result of the detection model on the server after one-click detection, and synchronize the detection result to the production management system. If the production management system determines that the color information is NG, the line stops running and immediately performs on-site repairs. After the processing is completed, the vehicle is released and the production line operation is resumed.

[0115] Reference Figure 6 , shows a schematic structural diagram of a vehicle detection device provided by an embodiment of the present invention, the device comprising:

[0116] The information acquisition module 401 is used to scan the vehicle identification code of the vehicle to be detected and obtain the standard color information of the interior of the vehicle to be detected;

[0117] An image detection module 402 is used to collect an interior image of the vehicle to be detected, perform color detection on the interior image using a pre-trained detection model, and generate actual color information of the interior of the vehicle to be detected;

[0118] A result generation module 403 is used to compare the actual color information with the standard color information to generate a detection result;

[0119] The vehicle control module 404 is used to send the detection result to the production management system, and control whether the vehicle to be detected is detected and released through the production management system.

[0120] Furthermore, the image detection module 402 includes:

[0121] A request submodule, used for collecting the interior image of the vehicle to be detected and sending a detection request to the server;

[0122] A detection submodule, configured to respond to the interior image detection request and call a pre-trained detection model in the server to perform color detection on the interior image;

[0123] The receiving submodule is used to receive the actual color information of the interior of the vehicle to be detected sent by the server.

[0124] Furthermore, the detection submodule includes:

[0125] A region division unit, used for dividing the interior image into regions to determine a detection region and a feature region;

[0126] A processing unit, used to perform noise reduction processing on the detection area and the feature area respectively, and obtain the number of pixels in the detection area and the feature area;

[0127] A determination unit is used to determine actual color information of the interior image by using the number of pixels in the detection area and the feature area.

[0128] Furthermore, the training of the pre-trained detection model includes:

[0129] The acquisition submodule is used to pre-acquire sample images of different vehicle models and divide the sample images into a training set, a validation set and a test set;

[0130] A feature extraction submodule, used to extract features from the sample images of the training set using a convolutional neural network to generate standard color information of the sample images;

[0131] The training submodule is used to iteratively train the convolutional neural network using the standard color information and the sample images of the training set to generate a detection model.

[0132] Furthermore, the vehicle control module 404 includes:

[0133] A sending result submodule is used to send the test result to the production management system;

[0134] A first control submodule, configured to control the release of the vehicle to be inspected through the production management system if the inspection result shows that the color information is consistent;

[0135] The second control submodule is used to control the vehicle to be inspected to be re-inspected through the production management system if the inspection result is that the color information is inconsistent.

[0136] Furthermore, after sending the detection result to the production management system and controlling whether the vehicle to be detected is detected and released by the production management system, the method further includes:

[0137] The prompt sending module is used to send a prompt message to the management personnel if it is detected that the production management system controls the vehicle to be inspected to be returned for inspection.

[0138] The vehicle detection device provided by the embodiment of the present invention obtains the standard color information of the interior of the vehicle to be detected by scanning the vehicle identification code of the vehicle to be detected, collects the interior image of the vehicle to be detected, uses the pre-trained detection model to perform color detection on the interior image, generates the actual color information of the interior of the vehicle to be detected, compares the actual color information with the standard color information, generates the detection result, sends the detection result to the production management system, and controls whether the vehicle to be detected is detected and released through the production management system. The embodiment of the present invention automatically obtains the standard color information by scanning the vehicle identification code, and uses the pre-trained detection model to automatically detect the color of the interior image, reduces the dependence on manual detection, improves the efficiency of vehicle detection, uses the pre-trained detection model to perform color detection, can ensure the consistency and accuracy of the detection result, reduces the false detection and missed detection caused by human factors, compares the real-time detection information with the standard color information, quickly identifies the vehicle that does not meet the standard, and directly sends the detection result to the production management system for timely repair, avoids the outflow of unqualified products, improves the detection efficiency and accuracy of vehicles on the production line, realizes efficient and accurate detection of vehicle interior parts, and reduces the cost of manual detection and rework and recall caused by quality problems.

[0139] Reference Figure 7 , an embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502, and the memory 503 communicate with each other through the communication bus 504.

[0140] Memory 503, used for storing computer programs;

[0141] The processor 501 is used to execute the program stored in the memory 503, and implements the following steps:

[0142] Scan the vehicle identification code of the vehicle to be tested to obtain the standard color information of the interior of the vehicle to be tested;

[0143] Collecting an interior image of the vehicle to be detected, performing color detection on the interior image using a pre-trained detection model, and generating actual color information of the interior of the vehicle to be detected;

[0144] Comparing the actual color information with the standard color information to generate a detection result;

[0145] The detection result is sent to the production management system, and the production management system controls whether the vehicle to be detected is detected and released.

[0146] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0147] The communication interface is used for communication between the above terminal and other devices.

[0148] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0149] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0150] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the vehicle detection method described in any one of the above embodiments.

[0151] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0152] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0153] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0154] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A vehicle detection method, characterized in that: The method comprises: Scan the vehicle identification code of the vehicle to be tested to obtain the standard color information of the interior of the vehicle to be tested; Collecting an interior image of the vehicle to be detected, performing color detection on the interior image using a pre-trained detection model, and generating actual color information of the interior of the vehicle to be detected; Comparing the actual color information with the standard color information to generate a detection result; The detection result is sent to the production management system, and the production management system controls whether the vehicle to be detected is detected and released.

2. The method according to claim 1, characterized in that The collecting of the interior image of the vehicle to be detected, performing color detection on the interior image using a pre-trained detection model, and generating actual color information of the interior of the vehicle to be detected includes: Collecting the interior image of the vehicle to be detected and sending a detection request to the server; In response to the interior image detection request, calling a pre-trained detection model in the server to perform color detection on the interior image; Receive the actual color information of the interior of the vehicle to be detected sent by the server.

3. The method according to claim 2, characterized in that In response to the interior image detection request, calling a pre-trained detection model in the server to perform color detection on the interior image includes: Dividing the interior image into regions to determine detection regions and feature regions; Performing noise reduction processing on the detection area and the feature area respectively, and obtaining the number of pixels in the detection area and the feature area; The actual color information of the interior image is determined by using the number of pixels in the detection area and the feature area.

4. The method according to claim 1, characterized in that: The training of the pre-trained detection model includes: Collect sample images of different car models in advance, and divide the sample images into a training set, a validation set, and a test set; Using a convolutional neural network to extract features from the sample images of the training set to generate standard color information of the sample images; The standard color information and the sample images of the training set are used to iteratively train the convolutional neural network to generate a detection model.

5. The method according to claim 1, characterized in that The step of sending the detection result to a production management system and controlling whether the vehicle to be detected is released by the production management system includes: Sending the test results to a production management system; If the detection result is that the color information is consistent, the production management system controls the vehicle to be detected to be released; If the detection result is that the color information is inconsistent, the production management system controls the vehicle to be detected to be re-inspected.

6. The method according to claim 1, characterized in that After sending the detection result to the production management system and controlling whether the vehicle to be detected is released by the production management system, the method further includes: If it is detected that the production management system controls the vehicle to be inspected to be returned for inspection, a prompt message is sent to the management personnel.

7. A vehicle detection device, characterized in that: The device comprises: An information acquisition module is used to scan the vehicle identification code of the vehicle to be detected and obtain the standard color information of the interior of the vehicle to be detected; An image detection module is used to collect an interior image of the vehicle to be detected, perform color detection on the interior image using a pre-trained detection model, and generate actual color information of the interior of the vehicle to be detected; A result generating module, used for comparing the actual color information with the standard color information to generate a detection result; The vehicle control module is used to send the detection result to the production management system, and control whether the vehicle to be detected is detected and released through the production management system.

8. The device according to claim 7, characterized in that The image detection module comprises: A request submodule, used for collecting the interior image of the vehicle to be detected and sending a detection request to the server; A detection submodule, configured to respond to the interior image detection request and call a pre-trained detection model in the server to perform color detection on the interior image; The receiving submodule is used to receive the actual color information of the interior of the vehicle to be detected sent by the server.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the vehicle detection method according to any one of claims 1 to 6.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle detection method according to any one of claims 1 to 6 is implemented.