Automobile tail light vibration endurance test method, device and equipment and readable storage medium
By calculating the grayscale difference before and after the car taillight vibration test, we can determine whether the taillight is qualified, which solves the problems of strong subjectivity and low accuracy caused by traditional naked eye observation, and achieves higher detection accuracy and consistency.
Patent Information
- Application Number
- CN202411385025.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-02-14
AI Technical Summary
In the vibration durability test of traditional car taillights, the test engineers have strong subjectivity in their judgment through naked eyes, and the accuracy and consistency are difficult to guarantee.
By calculating the average grayscale value of pixel points in the car taillight profile after the vibration test and the initial grayscale value before the vibration test, the grayscale difference value is calculated. If the absolute value is greater than the preset threshold, it is determined that the taillight is unqualified.
An objective and quantitative judgment standard is realized, which reduces the influence of human factors, improves the accuracy and consistency of detection, improves detection efficiency, and saves test data for subsequent analysis.
Smart Images

Figure CN119444668A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile taillight vibration durability test, and in particular to an automobile taillight vibration durability test method, device, equipment and readable storage medium. Background Art
[0002] The automotive taillight vibration durability test is a key step in evaluating the performance of the taillight in a vibration environment, and is essential to ensure the safety and reliability of the vehicle during driving. The test usually includes two parts: continuous vibration and random vibration to simulate the vibration force of the vehicle under different road conditions. The continuous vibration test evaluates the performance of the taillight in a continuous vibration environment by installing it on a vibration table; while the random vibration test simulates the vibration of the vehicle when driving on uneven roads to better evaluate the durability and vibration resistance of the taillight in actual use. Through these tests, manufacturers and suppliers can improve their products to meet industry requirements and improve the reliability of automotive taillights.
[0003] In the related art, in the traditional testing method, the test engineer usually observes the brightness and flickering of the taillights with the naked eye to judge whether the car taillights are qualified. However, this method has obvious disadvantages and is highly subjective: the naked eye judgment depends largely on the subjective feelings and experience of the test engineer, and there may be differences between different engineers. Different standards: the lack of unified and objective judgment standards may cause the test results to vary from person to person, making it difficult to ensure accuracy and consistency. Summary of the invention
[0004] The present application provides a method, device, equipment and readable storage medium for a vibration durability test of a vehicle taillight, which can solve the technical problem in the related art that test engineers observe the state of the vehicle taillights with the naked eye, resulting in that the test results may vary from person to person and it is difficult to ensure accuracy and consistency.
[0005] In a first aspect, an embodiment of the present application provides a vehicle taillight vibration durability test method, the vehicle taillight vibration durability test method comprising:
[0006] Based on the grayscale average value of the pixels within the outline of the car taillight after the vibration test and the initial grayscale value of the pixels within the outline of the car taillight before the vibration test, the grayscale difference of the car taillight is calculated. If the absolute value of the grayscale difference is greater than a preset threshold, the car taillight is judged to be unqualified.
[0007] In combination with the first aspect, in one implementation, before calculating the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points within the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points within the automobile taillight outline before the vibration test, if the absolute value of the grayscale difference is greater than a preset threshold, determining that the automobile taillight is unqualified, the method includes:
[0008] Obtain a clear image of the vehicle taillights being normally lit before the vibration test, taken by an image acquisition device;
[0009] Based on the acquired clear image and the actual shape of the car taillight, the outline of the car taillight is marked by using image processing software;
[0010] Based on the outline of the marked car taillight, the initial grayscale value of the pixel point within the outline of the car taillight before the vibration test is calculated.
[0011] In combination with the first aspect, in one implementation, the image processing software marks the outline of the automobile taillight based on the acquired clear image and the actual shape of the automobile taillight, including:
[0012] If the car taillight is a point light source, the image processing software selects a circle as the outline type, and draws the circular outline of the car taillight in a clear image based on the center position and radius of the car taillight determined by the image processing algorithm.
[0013] In combination with the first aspect, in one implementation, marking the outline of the automobile taillight based on the acquired clear image and the actual shape of the automobile taillight includes:
[0014] If the car taillight is a strip light, the image processing software selects a square as the outline type, and determines the upper left and lower right corner positions of the brightest area of the strip light based on the image processing algorithm, and draws the square outline of the car taillight in a clear image based on the two position points.
[0015] In combination with the first aspect, in one implementation, marking the outline of the automobile taillight based on the acquired clear image and the actual shape of the automobile taillight includes:
[0016] If the car taillight is an irregular light strip, the image processing software selects an irregular polygon as the outline type, and determines the boundary of the brightest area of the car taillight based on the image processing algorithm, identifies multiple key points, and connects these points to form a polygonal outline, drawing the irregular polygonal outline of the car taillight in a clear image.
[0017] In combination with the first aspect, in one implementation, before calculating the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points within the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points within the automobile taillight outline before the vibration test, if the absolute value of the grayscale difference is greater than a preset threshold, determining that the automobile taillight is unqualified, the method includes:
[0018] Obtain an image acquisition device to capture an image of the vehicle taillight after the vibration test;
[0019] The acquired image is converted into a grayscale image, the pixel points within the outline of the car taillight are identified and extracted, and the grayscale average value of the pixel points within the outline of the car taillight is calculated.
[0020] In combination with the first aspect, in one implementation, before the image acquisition device captures the image of the automobile taillight after the vibration test, it includes:
[0021] Set the vibration frequency, amplitude and vibration time parameters of the vibration test equipment.
[0022] In a second aspect, an embodiment of the present application provides a vehicle taillight vibration durability test device, the vehicle taillight vibration durability test device comprising:
[0023] The automobile taillight fault judgment module is used to calculate the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points within the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points within the automobile taillight outline before the vibration test. If the absolute value of the grayscale difference is greater than a preset threshold, the automobile taillight is judged to be unqualified.
[0024] In the third aspect, an embodiment of the present application provides a vehicle taillight vibration durability test device, which includes a processor, a memory, and a vehicle taillight vibration durability test program stored on the memory and executable by the processor, wherein when the vehicle taillight vibration durability test program is executed by the processor, the steps of the vehicle taillight vibration durability test method described in some of the above embodiments are implemented.
[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a vehicle taillight vibration durability test program is stored. When the vehicle taillight vibration durability test program is executed by a processor, the steps of the vehicle taillight vibration durability test method described in some of the above embodiments are implemented.
[0026] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:
[0027] Based on the grayscale average value of the pixels in the outline of the car taillight after the vibration test and the initial grayscale value of the pixels in the outline of the car taillight before the vibration test, the grayscale difference of the car taillight is calculated. If the absolute value of the grayscale difference is greater than the preset threshold, the car taillight is judged to be unqualified. Among them, this method is based on the absolute value of the grayscale difference for judgment, which is an objective and quantitative standard, and is not affected by human factors (such as fatigue, distraction, etc.), so it is more accurate; because the judgment standard is based on the comparison of the absolute value of the grayscale difference with the preset threshold, the judgment result is consistent and repeatable, and the tests conducted at different times and by different personnel can get the same results; automated processing can quickly complete the calculation and analysis of a large amount of data, which greatly improves the detection efficiency compared to manual naked eye judgment; this method can save the grayscale data of each test, which is convenient for subsequent data analysis and problem tracing. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a flow chart of an embodiment of a vibration durability test method for automobile taillights of the present application;
[0029] Figure 2 A schematic diagram of a flow chart of an embodiment of calculating the initial grayscale value of a pixel point within the outline of a car taillight;
[0030] Figure 3 A schematic diagram of a flow chart of an embodiment of calculating the grayscale average value of pixels within the outline of a car taillight;
[0031] Figure 4 This is a schematic diagram of the hardware structure of the automobile taillight vibration durability test equipment involved in the embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] It is important to understand that the automotive taillight vibration durability test is a key step in evaluating the performance of the taillight in a vibration environment, which is essential to ensure the safety and reliability of the vehicle during driving. The test usually includes two parts: continuous vibration and random vibration to simulate the vibration force of the vehicle under different road conditions. The continuous vibration test evaluates the performance of the taillight in a continuous vibration environment by installing it on a vibration table; while the random vibration test simulates the vibration of the vehicle when driving on uneven roads to better evaluate the durability and vibration resistance of the taillight in actual use. Through these tests, manufacturers and suppliers can improve their products to meet industry requirements and improve the reliability of automotive taillights.
[0034] Among them, in the traditional test method, the test engineer usually observes the brightness and flickering degree of the taillights with the naked eye to judge whether the car taillights are qualified. However, this method has obvious disadvantages and is highly subjective: the naked eye judgment depends largely on the subjective feelings and experience of the test engineer, and there may be differences between different engineers. Different standards: the lack of unified and objective judgment standards may cause the test results to vary from person to person, making it difficult to ensure accuracy and consistency.
[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0036] In a first aspect, an embodiment of the present application provides a method for vibration durability testing of a vehicle taillight.
[0037] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the automotive taillight vibration durability test method of the present application. Figure 1 As shown in the figure, the vibration durability test method for automobile taillights includes:
[0038] S100: Based on the grayscale average value of the pixel points within the outline of the car taillight after the vibration test and the grayscale initial value of the pixel points within the outline of the car taillight before the vibration test, the grayscale difference of the car taillight is calculated. If the absolute value of the grayscale difference is greater than a preset threshold, the car taillight is determined to be unqualified.
[0039] In this embodiment, the grayscale difference of the automobile taillight is calculated based on the grayscale average value of the pixel points in the outline of the automobile taillight after the vibration test and the grayscale initial value of the pixel points in the outline of the automobile taillight before the vibration test. If the absolute value of the grayscale difference is greater than the preset threshold, the automobile taillight is judged to be unqualified. Among them, this method is based on the absolute value of the grayscale difference for judgment, which is an objective and quantitative standard, and is not affected by human factors (such as fatigue, distraction, etc.), so it is more accurate; because the judgment standard is based on the comparison between the absolute value of the grayscale difference and the preset threshold, the judgment result is consistent and repeatable, and the tests conducted at different times and by different personnel can get the same results; automated processing can quickly complete the calculation and analysis of a large amount of data, which greatly improves the detection efficiency compared with manual naked eye judgment; this method can save the grayscale data of each test, which is convenient for subsequent data analysis and problem tracing.
[0040] Further, in one embodiment, if Figure 2 As shown, before S100, the following steps are included:
[0041] S000-1: Obtain a clear image of the vehicle taillights normally lit before the vibration test, taken by the image acquisition device;
[0042] S000-2: Based on the acquired clear image and the actual shape of the car taillight, use image processing software to mark the outline of the car taillight;
[0043] S000-3: Based on the outline of the marked car taillight, calculate the initial grayscale value of the pixel points within the outline of the car taillight before the vibration test.
[0044] In this embodiment, the image of the car taillights before the vibration test is obtained, the outline is marked and the initial grayscale value is calculated, which has the advantage of providing benchmark data. The image of the car taillights before the vibration test is obtained, and a clear image of the car taillights when they are normally lit is captured using an image acquisition device to provide basic data for subsequent analysis. Mark the outline of the car taillights. Using image processing software, the outline of the taillights is marked in the acquired clear image according to the actual shape of the car taillights. Calculate the initial grayscale value. Based on the marked outline of the car taillights, the initial grayscale value of the pixel points within the outline is calculated to provide a benchmark for subsequent comparison with the grayscale value after the vibration test.
[0045] Furthermore, in one embodiment, in S000-2, the following steps are included:
[0046] S000-2-1: If the car taillight is a point light source, the image processing software selects a circle as the outline type, and draws the circular outline of the car taillight in a clear image based on the center position and radius of the car taillight determined by the image processing algorithm.
[0047] In this embodiment, if the car taillight is a point light source, the image processing software selects a circular outline. The advantage of this step is that it simplifies the processing and improves accuracy. Simplified processing: The point light source assumption simplifies the optical characteristics of the taillight, so that only the center and radius need to be concerned during image processing, reducing the complexity of the algorithm. Improved accuracy: The circular outline can more accurately reflect the shape of the point light source taillight, reduce the error caused by the complex shape, and improve the accuracy of image processing. Convenient for subsequent analysis: The determined center and radius provide convenience for subsequent light intensity analysis, power consumption calculation, etc., and help to achieve precise control of the light intensity of the car headlight.
[0048] Furthermore, in one embodiment, in S000-2, the following steps are included:
[0049] S000-2-1: If the taillights of the vehicle are strip lights, the image processing software selects a square as the outline type, and determines the upper left and lower right corner positions of the brightest area of the strip lights based on the image processing algorithm, and draws the square outline of the taillights of the vehicle in a clear image based on the two position points.
[0050] In this embodiment, the square outline is used to simplify the taillight shape and reduce the complexity of image processing. Improve accuracy: Based on the brightest area position point determined by the algorithm, the taillight outline is accurately drawn. The square outline facilitates subsequent light intensity analysis, power consumption calculation, etc. If the taillight is a strip light strip, this method can effectively extract features and lay the foundation for further image processing and analysis.
[0051] Furthermore, in one embodiment, in S000-2, the following steps are included:
[0052] S000-2-1: If the car taillight is an irregular light strip, the image processing software selects an irregular polygon as the outline type, and determines the boundary of the brightest area of the car taillight based on the image processing algorithm, identifies multiple key points, and connects these points to form a polygonal outline, and draws the irregular polygonal outline of the car taillight in a clear image.
[0053] In this embodiment, the irregular polygon is selected as the contour type, which can more accurately match the actual shape of the car taillight, especially when the taillight has a complex or irregular shape. The boundary of the brightest area is determined by an image processing algorithm, and multiple key points are identified. This method has high flexibility and can adapt to taillights of different shapes and sizes. The drawn irregular polygon contour can more accurately reflect the actual bright area of the taillight, providing a more accurate data basis for subsequent illumination intensity analysis, power consumption calculation, etc.
[0054] In the above embodiments, the means of marking the outline of the automobile taillights may also be to manually mark the outline of the automobile taillights.
[0055] Further, in one embodiment, if Figure 4 As shown, before S100, the following steps are included:
[0056] S000-4: Obtain images of the vehicle taillights taken by the image acquisition device after the vibration test;
[0057] S000-5: Convert the acquired image into a grayscale image, identify and extract the pixel points within the outline of the car taillight, and calculate the grayscale average value of the pixel points within the outline of the car taillight.
[0058] Among them, S000-4 and S000-5 can also be before S000-2, and the order of the grayscale initial value and the average value calculation steps is not specifically limited.
[0059] In this embodiment, an image acquisition device is used to capture images of the car taillights after the vibration test. This step ensures that the image of the car taillights in the actual test environment is obtained, providing basic data for subsequent analysis. The acquired image is converted into a grayscale image to simplify the processing process while retaining the necessary brightness information. The pixels within the outline of the car taillights are identified and extracted, and the analysis is focused on the taillight area. The grayscale average value is calculated for the pixels within the outline of the car taillights. This step helps to evaluate the brightness of the taillights or identify potential problems, and improves the accuracy and efficiency of the analysis.
[0060] Furthermore, in one embodiment, before S000-2, the following steps are included:
[0061] S000-1: Set the vibration frequency, amplitude and vibration time parameters of the vibration test equipment.
[0062] In this embodiment, by setting a specific vibration frequency, amplitude and vibration time, the vibration environment of the car taillight in actual use is simulated to ensure the effectiveness and authenticity of the test. Vibration testing helps to evaluate the structural integrity and functional stability of the car taillight under long-term vibration, ensuring that it can maintain lasting brightness performance in actual use. The test results can provide an important reference for the design and manufacture of car lights, help manufacturers and designers determine the reliability and life of car lights, and put forward improvement suggestions to improve their stability and durability in actual use.
[0063] In summary, the following is a complete description of the vibration durability test method for automobile taillights.
[0064] Overall monitoring solution: Use camera monitoring, develop specific software for image processing and analysis, take screenshots and record abnormalities, and generate alarms.
[0065] Software writing: The software should mainly include monitoring threshold input box, profile setting function, monitoring status display function, start button, stop button, monitoring display bar, monitoring log bar, etc.
[0066] Place a camera next to the vibration table: it must be firmly fixed to keep the shooting angle unchanged and to obtain a complete and clear monitoring video of the car's taillights. The computer is connected to the camera to obtain the video stream. When the vibration table is stationary, the camera captures a clear picture of the car's taillights lighting up normally and displays it in the monitoring display bar.
[0067] Monitoring contour setting: Users can use the monitoring display bar to select a circle, square or irregular polygon in the contour type box according to the actual shape of the light in the picture when the taillight is normally lit to frame the outline of the brightest area of each bulb. Generally, when the light source is a point light source, the contour type is selected as a circle; when the light source is a strip light strip, the contour type is selected as a square; when the light source is an irregular equal strip, the contour type is selected as a polygon. When the contour type is a circle, the method for drawing the monitoring contour is: click the start drawing button of the corresponding numbered monitoring contour, click the center of the light source with the mouse, the software records the coordinates of the center point, and then click any point with a radius R from the center of the light source, and determine the circular contour according to the center position and radius R. When the contour type is a square, the method for drawing the monitoring contour is: click the upper left corner and lower right corner of the brightest area of the light source respectively, and generate a square contour with two sides parallel to the monitoring display bar based on the two points. When the contour type is an irregular polygon, the method for drawing the monitoring contour is: click multiple points around the boundary of the brightest area in turn and connect these points to generate a polygonal contour to surround the area. The above contours can also be marked according to the image processing algorithm.
[0068] Calculation of monitoring initial value and monitoring current value: Monitoring initial value refers to the grayscale average value of each pixel in the contour, which is used as a reference value to compare with the monitoring current value during the test. The method for calculating the monitoring initial value is: find all the pixels in the contour, calculate the grayscale of each point respectively, and the calculation formula is Gray = 0.3r + 0.59g + 0.11b (r, g, b represent the three color values of each pixel respectively). Then calculate the grayscale average value of all pixels in the contour.
[0069] Monitor and automatically record: the vibration table stops for 5 seconds every 20 minutes of vibration. During the 5-second stop period, the vibration table host computer triggers a signal to trigger the fault judgment process. At this time, a clear picture of the car taillights is obtained and the monitoring current values of contours 1 to n (n car taillights set side by side) are calculated respectively. The current value is calculated in the same way as the reference value, and then compared with each initial value. The monitoring threshold is set based on experience. If the difference is too large and exceeds the set monitoring threshold, it is judged that the bulb at that position is faulty, the current picture is automatically saved and the moment is recorded, and an alarm signal is triggered at the same time.
[0070] In the second aspect, the embodiment of the present application also provides a vehicle taillight vibration durability test device, which includes: a vehicle taillight fault judgment module, which is used to calculate the grayscale difference of the vehicle taillight based on the grayscale average value of the pixel points within the vehicle taillight outline after the vibration test and the grayscale initial value of the pixel points within the vehicle taillight outline before the vibration test. If the absolute value of the grayscale difference is greater than a preset threshold, the vehicle taillight is judged to be unqualified.
[0071] In this embodiment, the grayscale difference of the automobile taillight is calculated based on the grayscale average value of the pixel points in the outline of the automobile taillight after the vibration test and the grayscale initial value of the pixel points in the outline of the automobile taillight before the vibration test. If the absolute value of the grayscale difference is greater than the preset threshold, the automobile taillight is judged to be unqualified. Among them, this method is based on the absolute value of the grayscale difference for judgment, which is an objective and quantitative standard, and is not affected by human factors (such as fatigue, distraction, etc.), so it is more accurate; because the judgment standard is based on the comparison between the absolute value of the grayscale difference and the preset threshold, the judgment result is consistent and repeatable, and the tests conducted at different times and by different personnel can get the same results; automated processing can quickly complete the calculation and analysis of a large amount of data, which greatly improves the detection efficiency compared with manual naked eye judgment; this method can save the grayscale data of each test, which is convenient for subsequent data analysis and problem tracing.
[0072] Among them, the functional implementation of each module in the above-mentioned automobile taillight vibration durability test device corresponds to the various steps in the above-mentioned automobile taillight vibration durability test method embodiment, and its functions and implementation processes are no longer repeated here.
[0073] In a third aspect, an embodiment of the present application provides a vehicle taillight vibration durability test device, which may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.
[0074] Reference Figure 4 , Figure 4 The hardware structure diagram of the automobile taillight vibration durability test equipment involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the automobile taillight vibration durability test equipment may include a processor, a memory, a communication interface, and a communication bus.
[0075] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.
[0076] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the automobile taillight vibration durability test equipment, and the interface used to realize the interconnection of the automobile taillight vibration durability test equipment with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, an optical fiber interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.
[0077] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0078] The processor may be a general-purpose processor, which may call the automobile taillight vibration durability test program stored in the memory and execute the automobile taillight vibration durability test method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the automobile taillight vibration durability test program is called may refer to the various embodiments of the automobile taillight vibration durability test method of the present application, which will not be repeated here.
[0079] Those skilled in the art will understand that Figure 4 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0080] In a fourth aspect, an embodiment of the present application also provides a readable storage medium.
[0081] The readable storage medium of the present application stores a vehicle taillight vibration durability test program, wherein when the vehicle taillight vibration durability test program is executed by a processor, the steps of the vehicle taillight vibration durability test method as described above are implemented.
[0082] Among them, the method implemented when the automobile taillight vibration durability test program is executed can refer to the various embodiments of the automobile taillight vibration durability test method of the present application, and will not be repeated here.
[0083] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0084] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0085] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.
[0086] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0087] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0088] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0089] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A vibration durability test method for automobile taillights, characterized in that: The automobile taillight vibration durability test method comprises: Based on the grayscale average value of the pixels within the outline of the car taillight after the vibration test and the initial grayscale value of the pixels within the outline of the car taillight before the vibration test, the grayscale difference of the car taillight is calculated. If the absolute value of the grayscale difference is greater than a preset threshold, the car taillight is judged to be unqualified.
2. The vehicle taillight vibration durability test method according to claim 1, characterized in that: Before calculating the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points in the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points in the automobile taillight outline before the vibration test, and judging that the automobile taillight is unqualified if the absolute value of the grayscale difference is greater than a preset threshold, the method includes: Obtain a clear image of the vehicle taillights being normally lit before the vibration test, taken by an image acquisition device; Based on the acquired clear image and the actual shape of the car taillight, the outline of the car taillight is marked by using image processing software; Based on the outline of the marked car taillight, the initial grayscale value of the pixel point within the outline of the car taillight before the vibration test is calculated.
3. The vehicle taillight vibration durability test method according to claim 2, characterized in that: Based on the acquired clear image and the actual shape of the automobile taillight, the image processing software marks the outline of the automobile taillight, including: If the car taillight is a point light source, the image processing software selects a circle as the outline type, and draws the circular outline of the car taillight in a clear image based on the center position and radius of the car taillight determined by the image processing algorithm.
4. The vehicle taillight vibration durability test method according to claim 2, characterized in that: The method of marking the outline of the automobile taillight based on the acquired clear image and the actual shape of the automobile taillight comprises: If the car taillight is a strip light, the image processing software selects a square as the outline type, and determines the upper left and lower right corner positions of the brightest area of the strip light based on the image processing algorithm, and draws the square outline of the car taillight in a clear image based on the two position points.
5. The automobile taillight vibration durability test method according to claim 2, characterized in that: The method of marking the outline of the automobile taillight based on the acquired clear image and the actual shape of the automobile taillight comprises: If the car taillight is an irregular light strip, the image processing software selects an irregular polygon as the outline type, and determines the boundary of the brightest area of the car taillight based on the image processing algorithm, identifies multiple key points, and connects these points to form a polygonal outline, drawing the irregular polygonal outline of the car taillight in a clear image.
6. The automobile taillight vibration durability test method according to claim 1, characterized in that: Before calculating the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points in the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points in the automobile taillight outline before the vibration test, and judging that the automobile taillight is unqualified if the absolute value of the grayscale difference is greater than a preset threshold, the method includes: Obtain an image acquisition device to capture an image of the vehicle taillight after the vibration test; The acquired image is converted into a grayscale image, the pixel points within the outline of the car taillight are identified and extracted, and the grayscale average value of the pixel points within the outline of the car taillight is calculated.
7. The automobile taillight vibration durability test method according to claim 6, characterized in that: Before the image acquisition device captures the image of the automobile taillight after the vibration test, the method includes: Set the vibration frequency, amplitude and vibration time parameters of the vibration test equipment.
8. A vehicle taillight vibration durability test device, characterized in that: The automobile taillight vibration durability test device comprises: The automobile taillight fault judgment module is used to calculate the grayscale difference of the automobile taillight based on the grayscale average value of the pixel points within the automobile taillight outline after the vibration test and the grayscale initial value of the pixel points within the automobile taillight outline before the vibration test. If the absolute value of the grayscale difference is greater than a preset threshold, the automobile taillight is judged to be unqualified.
9. A vehicle taillight vibration durability test equipment, characterized in that: The automobile taillight vibration durability test equipment includes a processor, a memory, and an automobile taillight vibration durability test program stored in the memory and executable by the processor, wherein when the automobile taillight vibration durability test program is executed by the processor, the steps of the automobile taillight vibration durability test method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle taillight vibration durability test program, wherein when the vehicle taillight vibration durability test program is executed by a processor, the steps of the vehicle taillight vibration durability test method according to any one of claims 1 to 7 are implemented.