Vehicle exterior lighting detection system, method, device and storage medium for a whole vehicle
By designing an outdoor light detection system, using the shooting module and processing module to automatically compare the lighting images and reference template information, the problems of low manual detection efficiency and error prone in the existing technology are solved, and efficient and accurate outdoor light detection is achieved.
Patent Information
- Application Number
- CN202210318626.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-03-29
AI Technical Summary
The existing outdoor light detection technology relies on manual observation of the naked eye, is inefficient, prone to errors, and is difficult to comprehensively detect local defects, resulting in easy missed detection of detection results.
Design an outdoor light detection system, including a shooting module and a processing module, by taking images of the lighting components outside the vehicle, extracting brightness distribution information, comparing it with the reference template information, and automatically determining the detection results.
It improves the degree of automation of outdoor light detection, has high efficiency and low error rate, reduces damage to staff health, and can trace the detection results.
Smart Images

Figure CN114663406B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile quality inspection, and in particular to an external vehicle light detection system, method, computer device and storage medium for a whole vehicle. Background Art
[0002] In the links of automobile production and maintenance, etc., it is necessary to detect whether the external vehicle light components are working properly. Since the external vehicle light components are related to issues such as driving safety, the integrity of automobile functions, and compliance with regulatory requirements, automobiles with defective external vehicle light components flowing into the market will also cause damage to the reputation of automobile manufacturers or maintenance providers. Therefore, the external vehicle light detection work is of urgent importance. In the current external vehicle light detection technology, inspectors need to observe the external vehicle lights with the naked eye to determine whether the external vehicle light components are working properly. For the external vehicle light detection work, due to the certain intensity of the external vehicle lights, on the one hand, it is easy to cause damage to the inspectors' eyes, and on the other hand, individual lamp beads of the external vehicle light components may be damaged while other lamp beads are working properly. Such local defects may be difficult to observe and discover with the naked eye; moreover, manual detection work has characteristics such as low efficiency, easy error, and it is easy to miss the recording of the detection results. Summary of the Invention
[0003] Aiming at at least one technical problem in the current external vehicle light detection technology, such as being carried out manually, having low efficiency, being error-prone, not being comprehensive enough, and being easy to miss the detection results, the purpose of the present invention is to provide an external vehicle light detection system, method, computer device and storage medium for a whole vehicle.
[0004] On the one hand, an embodiment of the present invention includes an external vehicle light detection system for a whole vehicle, including:
[0005] A shooting module; the shooting module is used to shoot the external vehicle light components of the vehicle to be detected to obtain a light image;
[0006] A processing module; the processing module is used to obtain the reference template information corresponding to the vehicle to be detected, compare the light image with the reference template information, and determine the external vehicle light detection result of the vehicle to be detected according to the comparison result.
[0007] Further, the comparing the light image with the reference template information and determining the external vehicle light detection result of the vehicle to be detected according to the comparison result includes:
[0008] Extracting the brightness of each point of the light image to obtain the first brightness distribution information;
[0009] Extracting the brightness of each point of the reference template information to obtain the second brightness distribution information;
[0010] Calculate the brightness difference between the same position areas of the first brightness distribution information and the second brightness distribution information to obtain brightness difference distribution information;
[0011] Determine the vehicle exterior light detection result of the vehicle to be detected according to the brightness difference distribution information.
[0012] Further, the extracting the brightness of each point of the light image to obtain the first brightness distribution information includes:
[0013] Intercept the detection area from the light image;
[0014] Convert the detection area into a grayscale image;
[0015] Perform threshold segmentation and binarization on the grayscale image to obtain the first brightness distribution information.
[0016] Further, the vehicle exterior light detection system for the whole vehicle further includes:
[0017] A scanning module; the scanning module is used to scan the score card corresponding to the vehicle to be detected to obtain vehicle type information, and send the vehicle type information to the processing module;
[0018] The processing module is used to query and obtain the reference template information according to the vehicle type information.
[0019] Further, the photographing module includes a plurality of photographing units, and each photographing unit is respectively used to be installed at a corresponding fixed position to photograph a corresponding single vehicle exterior light component of the vehicle to be detected to obtain a corresponding light sub-image; each light sub-image forms the light image.
[0020] Further, the processing module is used to obtain the luminous intensity of each light sub-image, calculate the sum of the luminous intensities of each light sub-image, compare the sum of the luminous intensities with a preset luminous intensity threshold, and determine the vehicle exterior light detection result of the vehicle to be detected according to the comparison result.
[0021] Further, the vehicle exterior light detection system for the whole vehicle further includes:
[0022] A display module; the processing module is used to determine the unqualified vehicle exterior light components according to the vehicle exterior light detection result, send the light sub-images corresponding to the unqualified vehicle exterior light components to the display module, and the display module is used to display the light sub-images.
[0023] A recording module; the recording module is used to record the light image, the vehicle exterior light detection result and the identification information of the vehicle to be detected;
[0024] A guiding module; the guiding module is used to guide the vehicle to be detected to park in a designated area;
[0025] A triggering module; the triggering module is used to detect the position of the vehicle to be detected. When it detects that the vehicle to be detected enters the designated area, it triggers the shooting module and the processing module to start working. When it detects that the vehicle to be detected leaves the designated area, it triggers the shooting module and the processing module to stop working.
[0026] On the other hand, an embodiment of the present invention further includes a method for detecting the exterior lights of a vehicle, and the method for detecting the exterior lights of a vehicle includes:
[0027] Shoot the exterior light components of the vehicle to be detected to obtain a light image;
[0028] Obtain the reference template information corresponding to the vehicle to be detected;
[0029] Compare the light image with the reference template information;
[0030] According to the comparison result, determine the detection result of the exterior lights of the vehicle to be detected.
[0031] On the other hand, an embodiment of the present invention further includes a computer device, including a memory and a processor. The memory is used to store at least one program, and the processor is used to load the at least one program to execute the method for detecting the exterior lights of a vehicle in the embodiment.
[0032] On the other hand, an embodiment of the present invention further includes a storage medium, in which a program executable by a processor is stored. The program executable by the processor is used to execute the method for detecting the exterior lights of a vehicle in the embodiment when executed by the processor.
[0033] The beneficial effects of the present invention are as follows: The exterior light detection system for a vehicle in the embodiment can increase the automation degree of the exterior light detection process, has the advantages of high efficiency, low error rate, and reducing the harm to the health of staff, helps to improve the quality of the exterior light detection work, reduces the outflow rate of defective products, and because the exterior light detection system has a high degree of intelligence, it is beneficial to the preservation of intermediate data and result data obtained during the detection process, so as to realize the traceability of the detection results. Description of the Drawings
[0034] Figure 1 It is the structure diagram and working flow chart of the exterior light detection system for a vehicle in the embodiment;
[0035] Figure 2 It is the schematic diagram of the experimental scene of the exterior light detection system in the embodiment;
[0036] Figure 3 Schematic diagram of multiple shooting units in the embodiment;
[0037] Figures 4(a), 4(b), 4(c) and 4(d) are schematic diagrams of different light sub-images obtained by actual shooting respectively;
[0038] Figure 5 Flowchart of the method for detecting the external lights of a whole vehicle in the embodiment. Detailed implementation manners
[0039] In this embodiment, with reference to Figure 1 , a complete structure of the external light detection system of a whole vehicle is as shown in Figure 1 , including a processing module, a shooting module, a scanning module, a display module, a recording module, a guiding module and a triggering module, and these modules can be specifically implemented by the same or different hardware devices. For example, with reference to Figure 1 , use a vision industrial computer to implement the functions of the processing module and the recording module, use a GIGE industrial camera to implement the function of the shooting module, use a barcode scanner to implement the function of the scanning module, use a judgment display to implement the function of the display module, use a system composed of an I / O trigger and a photoelectric switch to implement the function of the triggering module, and use a guiding light to implement the function of the guiding module.
[0040] In this embodiment, in the case of only having the processing module and the shooting module, the basic functions of the external light detection system can also be realized. On this basis, by setting the scanning module, the display module, the recording module, the guiding module and the triggering module, the functions of the external light detection system can be further improved. When explaining the external light detection system, the overall system as shown in Figure 1 can be explained. Since there is a certain independence between the functions of each module, those skilled in the art can understand the functions and working principles when only some modules are set according to the overall functions and working principles of the system.
[0041] Figure 1 In the structure shown in
[0042] Figure 2 During the experiment, Figure 1Physical effect diagram of the vehicle exterior lighting detection system shown. Specifically, an indoor venue can be used to install the vehicle exterior lighting detection system. The photoelectric switch 1 (trigger module) can be installed at the entrance of the indoor venue, and the photoelectric switch 2 (trigger module) can be installed at the exit of the indoor venue. The vision industrial computer (processing module) can be installed at a dedicated location in the indoor venue. The GIGE industrial camera (imaging module) can be installed above the interior space of the indoor venue through a bracket and aligned to capture a specified area within the indoor venue. The guiding light (guidance module) can be installed on the walls of the indoor venue and other locations to guide the driver to drive the vehicle to be detected to the specified area. The judgment display (display module) can be installed near the GIGE industrial camera (imaging module) at a position that does not affect imaging and is convenient for the driver in the vehicle to observe.
[0043] In this embodiment, multiple camera lenses (imaging units) of the GIGE industrial camera can be set up. These imaging units form the imaging module, and the installation positions of these imaging units are as Figure 3 shown. They can capture images from positions such as the left front, right front, front, left rear, right rear, and rear of the vehicle to be detected. By adjusting the field of view of the imaging unit, a single imaging unit can capture only a single vehicle exterior lighting component of the vehicle to be detected. For example, one imaging unit set at the left front of the vehicle to be detected captures the left front small light of the vehicle to be detected, and another imaging unit set at the left front of the vehicle to be detected captures the left front high and low beam lights of the vehicle to be detected, and so on. Referring to the Figure 3 settings shown, individual vehicle exterior lighting components such as the small lights, high and low beam lights, fog lights, turn signals, and brake lights of the vehicle to be detected can be captured.
[0044] In this embodiment, the image captured by a single imaging unit for a single vehicle exterior lighting component can be referred to as a lighting sub-image. Thus, the lighting sub-images captured by multiple imaging units in the entire imaging module can be collectively referred to as a lighting image. The multiple lighting sub-images can be combined into a lighting image according to a fixed relative position relationship for image processing, or the lighting image can be cut and decomposed into multiple lighting sub-images for individual image processing.
[0045] In this embodiment, when the specified area is small (for example, equivalent to the projection of the vehicle onto the ground), after the vehicle to be detected is parked in the specified area, its orientation is relatively fixed. However, if the specified area is large (for example, twice as large as the projection of the vehicle onto the ground), the vehicle to be detected can have different orientations after being parked in the specified area. In this case, a guiding light (guiding module) with an orientation detection function can be used. When the orientation of the vehicle to be detected is not the standard orientation, by displaying signals such as left turn and right turn, the driver is guided to park the vehicle to be detected in the standard orientation. When the orientation of the vehicle to be detected is the standard orientation, even if each imaging unit is fixed, the viewing angle of the same imaging unit with respect to the corresponding external vehicle lighting component remains unchanged. As a result, the viewing angles of the lighting sub-images captured by the same imaging unit for different vehicles to be detected are fixed, which helps to maintain the stability of the detection.
[0046] By running Figure 1 the external vehicle lighting detection system shown, the following Figure 1 lower detection process can be executed, which includes the following steps:
[0047] S1. Scan the vehicle identification number (VIN) of the vehicle score card to obtain the vehicle model information and distinguish different vehicle models;
[0048] S2. Guide the vehicle into the inspection area and trigger the detection signal of the optoelectronic switch 1;
[0049] S3. The industrial control computer is triggered by the detection signal and controls the industrial camera to start shooting to obtain the lighting image;
[0050] S4. The industrial control computer runs the image processing software, compares the lighting image with the reference template information, and obtains the detection result;
[0051] S5. Display the detection result and stop working when the optoelectronic switch 2 detects that the vehicle has left.
[0052] Refer to Figure 1 , and step S1 is executed by the barcode scanner (scanning module). Specifically, a score card can be provided for each vehicle to be detected. The score card is printed with a barcode containing the VIN code information and the vehicle model information. The inspector can operate the barcode scanner (scanning module) to scan the score card, thereby inputting the vehicle model information of the vehicle to be detected that is about to be inspected into the vision industrial control computer (processing module).
[0053] Refer to Figure 1, Steps S2 are executed by the guiding lamp (guiding module) and the optoelectronic module 1 (guiding module). Specifically, the guiding lamp indicates the driver of the vehicle to be detected to perform driving operations such as going straight, turning left, and turning right through the light, so as to drive the vehicle to be detected into the designated area and park it in the standard orientation. The optoelectronic module 1 can be installed at the entrance of the designated area, which can detect the entry of the vehicle to be detected and send the detection signal to the vision industrial computer (processing module), thereby triggering the vision industrial computer (processing module) to enter the working state and triggering the vision industrial computer (processing module) to control the GIGE industrial camera (shooting module) to enter the working state.
[0054] Refer to Figure 1 , Steps S3 are executed by the GIGE industrial camera (shooting module) and the vision industrial computer (processing module). Specifically, the vision industrial computer (processing module) controls each camera (shooting unit) in the GIGE industrial camera (shooting module) to respectively capture each external vehicle lighting component on the vehicle to be detected, and obtain the corresponding lighting sub-images.
[0055] Refer to Figure 4, Step S4 is executed by the vision industrial computer (processing module). Specifically, the vision industrial computer (processing module) reads the reference template information from the database according to the vehicle model information of the vehicle to be detected detected in Step S1. The reference template information can be image information. The reference template information can describe the shape of a single external vehicle lighting component of the vehicle to be detected by marking the pixel positions, and describe the optical parameters such as the luminous brightness of each point of a single external vehicle lighting component of the vehicle to be detected under normal circumstances by marking the pixel values. The vision industrial computer (processing module) runs the image processing software, compares the lighting image with the reference template information, and obtains the detection result.
[0056] When executing Step S4, the vision industrial computer can also be used as a recording module to store the captured lighting image, the identification information and vehicle model information of the vehicle to be detected, and the detection result into the database, and establish a mapping relationship, so as to realize the traceability of the detection result. When storing into the database, the whole vehicle image of the vehicle to be detected can also be stored together.
[0057] Referring to FIG. 4, step S5 is executed by the judgment display (display module) and the optoelectronic module 2 (guidance module). Specifically, the vision industrial computer (processing module) sends the detection result obtained in step S4 to the judgment display (display module), and the judgment display (display module) displays the detection result. Specifically, the detection result can be information indicating qualified (all vehicle exterior lighting components are qualified), unqualified (the unqualified parts of the vehicle exterior lighting components and the unqualified conditions), etc. The driver of the vehicle to be detected can observe the detection result displayed by the judgment display (display module), and determine whether the vehicle exterior lighting of the vehicle to be detected is qualified or unqualified according to the detection result, and drive the vehicle to be detected out of the designated area to proceed to the next process. The optoelectronic module 2 (guidance module) can be installed at the exit position of the designated area, capable of detecting the departure of the vehicle to be detected, and sending a detection signal to the vision industrial computer (processing module), thereby triggering the vision industrial computer (processing module) to enter the standby state, and triggering the vision industrial computer (processing module) to control the GIGE industrial camera (imaging module) to enter the standby working state.
[0058] In this embodiment, by using the vehicle exterior lighting detection system to detect the vehicle exterior lighting components of the whole vehicle, the automation degree of the vehicle exterior lighting detection process can be increased, which has the advantages of high efficiency, low error rate, reducing the harm to the health of the staff, etc., helps to improve the quality of the vehicle exterior lighting detection work, reduces the outflow rate of defective products, and because the vehicle exterior lighting detection system has a high degree of intelligence, it is beneficial to the preservation of the intermediate data and result data obtained during the detection process, so as to realize the traceability of the detection results.
[0059] In this embodiment, when the vision industrial computer (processing module) executes step S4, that is, comparing the lighting image with the reference template information and determining the vehicle exterior lighting detection result of the vehicle to be detected according to the comparison result, the following steps can be specifically executed:
[0060] S401. Extract the brightness of each point of the lighting image to obtain the first brightness distribution information;
[0061] S402. Extract the brightness of each point of the reference template information to obtain the second brightness distribution information;
[0062] S403. Calculate the brightness difference of the same position area between the first brightness distribution information and the second brightness distribution information to obtain the brightness difference distribution information;
[0063] S404. Determine the vehicle exterior lighting detection result of the vehicle to be detected according to the brightness difference distribution information.
[0064] In this embodiment, the form of the captured lighting sub-image is as Figure 4(a) 、 4(b)As shown in FIGS. 4(c) and 4(d). When performing step S401, a detection area is intercepted from the light sub-image, the detection area is converted into a grayscale image, and the grayscale image is threshold-segmented and binarized to obtain the first brightness distribution information. According to the first brightness distribution information, the brightness of each point on the light sub-image can be determined, which corresponds to the luminous brightness when the photographed vehicle exterior lighting component is working.
[0065] In step S402, the pixel values of each pixel are read from the reference template information, so as to obtain the second brightness distribution information that can describe the brightness of each pixel in the reference template information. Since the reference template information is read according to the vehicle model information of the vehicle to be detected, the luminous area described in the reference template information has the same shape as the luminous area in the light sub-image. Therefore, the brightness value of each pixel in the reference template information is equivalent to a brightness threshold. By comparing the pixel brightness of each point in the light sub-image with the brightness value of the corresponding pixel point in the reference template information, it can be determined whether the brightness of the light sub-image is normal.
[0066] In step S403, after aligning the pixels at the same positions of the first brightness distribution information and the second brightness distribution information, that is, aligning the pixels at the same positions of the vehicle exterior lighting component of the vehicle to be detected corresponding to the first brightness distribution information and the second brightness distribution information, the brightness difference between the two aligned pixels is calculated to obtain the brightness difference distribution information.
[0067] In step S404, according to the brightness difference distribution information, the vehicle exterior lighting detection result of the vehicle to be detected is determined.
[0068] For example, for the light sub-image shown in FIG. 4(a), the brightness value of each point in the circled part is 9050, while the second brightness distribution information corresponding to the corresponding reference template information has a defined brightness value range of 10000±2000. The brightness value of each point in the light sub-image shown in FIG. 4(a) is within the range defined by the reference template information. Therefore, for the light sub-image shown in FIG. 4(a), the vehicle exterior lighting detection result is qualified.
[0069] For example, for the light sub-image shown in FIG. 4(b), the brightness value of each point in the circled part is 6500, while the second brightness distribution information corresponding to the corresponding reference template information has a defined brightness value range of 10000±2000. The brightness value of each point in the light sub-image shown in FIG. 4(b) is lower than the lower limit of the range defined by the reference template information. Therefore, for the light sub-image shown in FIG. 4(b), the vehicle exterior lighting detection result is unqualified, which can be specifically expressed as the light being too dim.
[0070] For example, for the light sub-image shown in Fig. 4(c), the brightness value of each point in the circled part is 21050, while for the second brightness distribution information corresponding to the corresponding reference template information, the defined brightness value is 20000±2000. The brightness value of each point in the light sub-image shown in Fig. 4(c) is within the range defined by the reference template information. Therefore, for the light sub-image shown in Fig. 4(c), the result of the vehicle exterior light detection is qualified.
[0071] For example, for the light sub-image shown in Fig. 4(d), in the circled part, there is an area where the brightness value of each point is 10020, and the brightness value of each point in other areas is 21050. For the second brightness distribution information corresponding to the corresponding reference template information, the defined brightness value is 20000±2000. In the light sub-image shown in Fig. 4(d), the brightness value of the area with a brightness value of 10020 is lower than the lower limit of the range defined by the reference template information, and the brightness values of other parts are within the range defined by the reference template information. Therefore, for the light sub-image shown in Fig. 4(b), the result of the vehicle exterior light detection is unqualified, which can be specifically expressed as local lamp beads missing or damaged.
[0072] In this embodiment, in addition to determining whether the vehicle exterior light components are qualified by detecting the optical parameter of brightness, it is also possible to determine whether the vehicle exterior light components are qualified by detecting optical parameters such as the intensity of specific wavelength components and the illuminance deviation. At this time, the corresponding reference template information stores information such as the specific wavelength component intensity threshold and the illuminance deviation threshold.
[0073] In this embodiment, when the vision industrial computer (processing module) obtains the result of the vehicle exterior light detection, in addition to being able to execute step S4, that is, comparing the light image with the reference template information and determining the result of the vehicle exterior light detection of the vehicle to be detected according to the comparison result, the following steps can also be executed as parallel or alternative steps to step S4:
[0074] S6. Obtain the luminous intensity of each light sub-image;
[0075] S7. Calculate the sum of the luminous intensities of each light sub-image;
[0076] S8. Compare the sum of the luminous intensities with a preset luminous intensity threshold;
[0077] S9. Determine the result of the vehicle exterior light detection of the vehicle to be detected according to the comparison result.
[0078] In step S6, after the vision industrial computer (processing module) obtains a light sub-image, it can identify the brightness of each light-emitting part in the light sub-image through image processing software. According to the quantitative relationship of "brightness = luminous intensity / area", the light sub-image can be divided into each area element ΔSi (i = 1, 2, 3……), and sample the luminance of the area element ΔS i to obtain the luminance value L of the area element ΔS i Then, through the formula i calculate the luminous intensity lv of the light sub-image. Calculate the luminous intensity lv of the light sub-image.
[0079] In step S7, add up the luminous intensities of each light sub-image to obtain the sum of luminous intensities lv s .
[0080] In step S8, preset a luminous intensity threshold lv0, and compare the sum of luminous intensities lv s with the luminous intensity threshold lv0.
[0081] In step S9, if the sum of luminous intensities lv s is less than the luminous intensity threshold lv0, it can be determined that the detection result is unqualified, and further detection can be carried out to determine whether there are problems such as dim luminance, local lamp beads missing or damaged, etc.; if the sum of luminous intensities lv s is not less than the luminous intensity threshold lv0, it can be determined that the detection result is qualified.
[0082] By executing steps S6 - S9 in parallel with step S4, or by executing steps S6 - S9 instead of step S4, some problems that may occur when executing step S4 can be avoided.
[0083] Problems that may occur when executing step S4 include: Refer to Figure 4(a)-4(d) , these light sub-images are obtained by shooting when the vehicle exterior lighting components of the vehicle to be detected and the shooting unit form a specific angle. However, due to accidental factors in each detection process, the vehicle to be detected cannot be parked in a standard orientation, which causes the angle between the shooting unit and the vehicle exterior lighting components to change, and the shape of the vehicle exterior lighting components captured changes, which may affect the detection accuracy of step S4, and even lead to the inability to execute step S4 because the shape of the vehicle exterior lighting components in the light sub-image deviates too much from the shape in the reference template information.
[0084] In step S6, through the formula The luminous intensity lv of the light sub-image is calculated. By sampling and summing the brightness of different area elements, it reduces the detection distortion caused by the brightness difference due to the deviation of the shooting angle. By accumulating the luminous intensities of multiple light sub-images through step S7 to obtain the sum of luminous intensities, the detection distortion is further reduced. And when the field of view of the shooting unit can cover all parts of the vehicle to be detected, regardless of the orientation of the vehicle to be detected, the sum of the luminous intensities of all the light sub-images captured by all the shooting units is close to a fixed value. The size of this fixed value is related to the normal condition of the external lighting components of the vehicle to be detected (for example, if there is a missing lamp bead, the total luminous intensity sum is small). Therefore, it is possible to determine whether the detection result is qualified or unqualified based on the size of the sum of the luminous intensities of all the light sub-images.
[0085] In this embodiment, by running the external vehicle lighting detection system, the external vehicle lighting detection method for the whole vehicle can be executed. Refer to Figure 5 , the external vehicle lighting detection method for the whole vehicle includes the following steps:
[0086] P1. Photograph the external lighting components of the vehicle to be detected to obtain a light image;
[0087] P2. Obtain the reference template information corresponding to the vehicle to be detected;
[0088] P3. Compare the light image with the reference template information;
[0089] P4. Determine the external vehicle lighting detection result of the vehicle to be detected according to the comparison result.
[0090] Specifically, step P1 can be executed by the shooting module, and steps P2 - P4 can be executed by the processing module. Since each step in the external vehicle lighting detection method for the whole vehicle can be executed by the external vehicle lighting detection system, by executing steps P1 - P4, the same or better technical effects as those of the external vehicle lighting detection system in this embodiment can be achieved.
[0091] The computer program for executing the external vehicle lighting detection method for the whole vehicle in this embodiment can be written, and this computer program can be written into a computer device or a storage medium. When the computer program is read and run, the external vehicle lighting detection method for the whole vehicle in this embodiment is executed, thereby achieving the same technical effects as the external vehicle lighting detection method in the embodiment.
[0092] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. In addition, the descriptions such as up, down, left, and right used in the present disclosure are only relative to the mutual positional relationship of the components of the present disclosure in the drawings. The singular forms "a", "the", and "said" used in the present disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. In addition, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of this embodiment are only for describing specific embodiments, rather than for limiting the present invention. The term "and / or" used in this embodiment includes any and all combinations of one or more of the related listed items.
[0093] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, without departing from the scope of the present disclosure, the first element may also be referred to as the second element, and similarly, the second element may also be referred to as the first element. The use of any and all examples or exemplary language ("for example", "such as", etc.) provided in this embodiment is only intended to better illustrate the embodiments of the present invention, and unless otherwise required, will not impose a limitation on the scope of the present invention.
[0094] It should be recognized that the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method can be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with the computer program, where the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. In addition, for this purpose, the program can run on a dedicated integrated circuit programmed for this purpose.
[0095] In addition, the operations of the processes described in this embodiment may be performed in any suitable order, unless this embodiment otherwise indicates or is otherwise clearly contradicted by the context. The processes described in this embodiment (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) executed commonly on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions executable by one or more processors.
[0096] Furthermore, the method may be implemented in any type of computing platform operably connected to a suitable one, including but not limited to personal computers, minicomputers, mainframes, workstations, network or distributed computing environments, separate or integrated computer platforms, or communicating with charged particle tools or other imaging devices, etc. Aspects of the present invention may be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into the computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer and, when read by the computer, can be used to configure and operate the computer to perform the processes described herein. In addition, the machine-readable code, or portions thereof, may be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the above-described steps in conjunction with a microprocessor or other data processor, the invention described in this embodiment includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention also includes the computer itself.
[0097] The computer program can be applied to input data to perform the functions described in this embodiment, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents physical and tangible objects, including a specific visual depiction of the physical and tangible objects generated on the display.
[0098] As described above, it is only a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. As long as it achieves the technical effects of the present invention by the same means, any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention. Within the scope of protection of the present invention, its technical solutions and / or implementation manners may have various different modifications and variations.
Claims
1. An out-of-vehicle lighting detection system for a whole vehicle, characterized in that The vehicle exterior lighting detection system for the whole vehicle includes: A shooting module; the shooting module includes a plurality of shooting units, each of the shooting units is respectively used to be installed at a corresponding fixed position to shoot a corresponding single vehicle exterior lighting component of the vehicle to be detected, so as to obtain a corresponding lighting sub-image; the fields of view of all the shooting units cover all parts of the vehicle to be detected, and each of the lighting sub-images forms a lighting image; A processing module; the processing module is used to obtain the luminous intensity of each of the lighting sub-images, calculate the sum of the luminous intensities of each of the lighting sub-images, compare the sum of the luminous intensities with a preset luminous intensity threshold, and determine the vehicle exterior lighting detection result of the vehicle to be detected according to the comparison result.
2. The vehicle exterior lighting detection system for a whole vehicle according to claim 1, wherein The processing module is used for: Extracting the brightness of each point of the lighting image to obtain first brightness distribution information; Extracting the brightness of each point of the reference template information to obtain second brightness distribution information; Calculating the brightness difference of the same position area between the first brightness distribution information and the second brightness distribution information to obtain brightness difference distribution information; Determining the vehicle exterior lighting detection result of the vehicle to be detected according to the brightness difference distribution information.
3. The vehicle exterior lighting detection system for a whole vehicle according to claim 2, wherein, The extracting the brightness of each point of the lighting image to obtain first brightness distribution information includes: Intercepting a detection area from the lighting image; Converting the detection area into a grayscale image; Performing threshold segmentation and binarization on the grayscale image to obtain the first brightness distribution information.
4. The vehicle exterior lighting detection system for a whole vehicle according to claim 1, wherein, The vehicle exterior lighting detection system for the whole vehicle further includes: A scanning module; the scanning module is used to scan the score card corresponding to the vehicle to be detected to obtain vehicle type information, and send the vehicle type information to the processing module; The processing module is used to query and obtain reference template information according to the vehicle type information.
5. The vehicle exterior lighting detection system for a whole vehicle according to claim 1, characterized in that, The vehicle exterior lighting detection system for the whole vehicle further includes: A display module; the processing module is used to determine unqualified vehicle exterior lighting components according to the vehicle exterior lighting detection result, and send the lighting sub-images corresponding to the unqualified vehicle exterior lighting components to the display module, and the display module is used to display the lighting sub-images; A recording module; the recording module is used to record the lighting image, the vehicle exterior lighting detection result and the identification information of the vehicle to be detected; A guiding module; the guiding module is used to guide the vehicle to be detected to park in a designated area; A triggering module; the triggering module is used to detect the position of the vehicle to be detected. When it detects that the vehicle to be detected enters the designated area, it triggers the shooting module and the processing module to start working. When it detects that the vehicle to be detected leaves the designated area, it triggers the shooting module and the processing module to stop working.
6. An out-vehicle lighting detection method for a whole vehicle, characterized in that, The vehicle exterior lighting detection method for the whole vehicle includes: Using a plurality of shooting units to respectively shoot a corresponding single vehicle exterior lighting component of the vehicle to be detected from each fixed position to obtain corresponding lighting sub-images; the fields of view of all the shooting units cover all parts of the vehicle to be detected, and each of the lighting sub-images forms a lighting image; Obtaining the luminous intensity of each of the lighting sub-images; Calculating the sum of the luminous intensities of each of the lighting sub-images; Compare the luminous intensity with a preset luminous intensity threshold value; Determine the vehicle exterior lighting detection result of the vehicle to be detected according to the comparison result.
7. A computer device, characterized in that, It includes a memory and a processor. The memory is used to store at least one program, and the processor is used to load the at least one program to execute the method for detecting vehicle exterior lighting of the whole vehicle according to claim 6.
8. A storage medium storing a program executable by a processor, characterized in that, The program executable by the processor, when executed by the processor, is used to execute the method for detecting vehicle exterior lighting of the whole vehicle according to claim 6.
Citation Information
Patent Citations
Illumination quality detecting method and device
CN108152009A
Automobile headlamp product quality defect detection intelligent system based on image recognition
CN111157544A
Test device for LED vehicle lamp
CN201273855Y