LED panel defect detection method, device and electronic equipment

By displaying multiple color comparison decks and automatically analyzing the detection images of the LED panel, the problem of inaccurate color detection caused by manual visual inspection in the prior art is solved, and more efficient and accurate color defect detection is achieved.

CN118348016BActive Publication Date: 2025-05-06ALTRON OPTOELECTRONICS (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410755065.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2025-05-06
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

In the prior art, the color defect detection of LED panels relies on manual visual inspection, and there are problems such as strong subjectivity, low efficiency, and easy fatigue, resulting in low accuracy of the detection results.

Method used

By acquiring multiple color decks, displaying them on the LED panel, and using the camera to collect and detect images, automatically extract and analyze color values, and calculate color differences to judge color display deviations.

Benefits of technology

It improves the accuracy and efficiency of LED panel defect detection, and provides a quantitative evaluation method, making the judgment of color deviation more objective and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118348016B_ABST
    Figure CN118348016B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and electronic device for detecting defects in LED panels, and relates to the field of detection technology. In the method, a plurality of comparison color card groups are obtained; the plurality of comparison color card groups are sequentially displayed on the LED panel, and a plurality of detection images captured by the camera are obtained during the display process; the first shooting color value of the first shooting color card and the second shooting color value of the second shooting color card contained in each detection image are obtained; based on the initial color difference between the first initial color value and the second initial color value, and the shooting color difference between the first shooting color value and the second shooting color value, a color difference value is calculated; if it is determined that the color difference value meets a preset condition, the first difference between the first initial color value and the first shooting color value is calculated; if it is determined that the first difference is greater than a preset threshold, it is determined that the LED panel has a color display deviation defect. Implementing the technical solution provided by the present application is convenient for improving the accuracy of LED panel defect detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of detection technology, and specifically to a method, device and electronic equipment for detecting defects in an LED panel. Background Art

[0002] In the current field of industrial automation and quality control, color defect detection of LED panels is a crucial link. LED panels are widely used in display devices, lighting systems and various electronic devices. The consistency and accuracy of their colors directly affect the overall performance and user experience of the product.

[0003] At present, it is particularly important to perform efficient and accurate color defect detection on LED panels. Existing color defect detection technology often relies on manual visual inspection by manufacturers. Although manual visual inspection is intuitive, it has problems such as strong subjectivity, low efficiency, and easy fatigue, resulting in low accuracy of detection results.

[0004] Therefore, there is an urgent need for a method, device and electronic equipment for detecting defects in an LED panel. Summary of the invention

[0005] The present application provides a method, device and electronic equipment for detecting defects in an LED panel, which are convenient for improving the accuracy of detecting defects in an LED panel.

[0006] In a first aspect of the present application, a method for detecting defects in an LED panel is provided, the method comprising: obtaining a plurality of comparison color card groups, wherein a first initial color value of a first color card included in any one of the comparison color card groups is different from a second initial color value of a second color card, and any two of the first initial color values ​​are different, and any two of the second initial color values ​​are different; displaying the plurality of comparison color card groups on an LED panel in sequence, and obtaining a plurality of detection images captured by a camera during the display process, wherein each time the LED panel displays a comparison color card group, the camera captures a detection image; obtaining a first shooting color value of a first shooting color card and a second shooting color value of a second shooting color card contained in each detection image, wherein the first shooting color card The color card is the area corresponding to the first color card in the detection image, and the second shot color card is the area corresponding to the second color card in the detection image; based on the initial color difference between the first initial color value and the second initial color value, and the shot color difference between the first shot color value and the second shot color value, a color difference value is calculated; if it is determined that the color difference value meets the preset condition, a first difference between the first initial color value and the first shot color value is calculated, or a second difference between the second initial color value and the second shot color value is calculated; if it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold, it is determined that the LED panel has a color display deviation defect.

[0007] By adopting the above technical solution, through the display and comparison of multiple comparison color card groups, a wider color range can be covered, making the detection results more comprehensive and accurate. The difference calculation between the initial color value and the captured color value provides a quantitative evaluation method, making the judgment of color deviation more objective and reliable. The camera automatically collects the detection image and automatically extracts and analyzes the color value, which greatly improves the detection efficiency. Once it is determined that the color difference value meets the preset conditions, it is guaranteed that the subsequent detection is not affected by the camera. The system can quickly calculate the difference between the initial color value and the captured color value, so as to quickly identify the color display deviation. The number and color range of the comparison color card groups can be adjusted to meet the color detection requirements of different LED panels. The required equipment is relatively simple, mainly including LED panels, cameras and image processing software, which is easy to implement on the actual production line. Each detection image and color value obtained during the detection process can be saved for subsequent analysis and traceability. Accurate color detection can ensure that the color display of the LED panel meets the design requirements and improve the overall quality and user experience of the product.

[0008] Optionally, if it is determined that the color difference value meets a preset condition, then calculating a first difference between the first initial color value and the first captured color value, or calculating a second difference between the second initial color value and the second captured color value, specifically includes: determining a target color difference value from the multiple color difference values, the target color difference value being a color difference value whose corresponding values ​​of the multiple color difference values ​​are each less than a preset difference value; counting a proportion of a number corresponding to the target color difference value in a total number corresponding to the multiple color difference values; if it is determined that the proportion is greater than a preset proportion, determining that the color difference value meets the preset condition.

[0009] By adopting the above technical solution, by first screening out the color difference value (i.e., the target color difference value) that is less than the preset difference value, it can be ensured that only those situations where color deviation may actually exist are analyzed in depth, rather than treating all detected color difference values ​​equally. This can reduce misjudgment and improve the accuracy of detection. By performing quantitative statistics and proportion analysis on the target color difference value, the color performance of the LED panel can be more comprehensively evaluated. This statistical method increases the robustness of detection. The preset difference value and the preset proportion can be adjusted according to actual needs to meet the needs of different LED panels or different detection requirements. This flexibility enables the detection method to be applicable to a wider range of scenarios. The proportion of the target color difference value obtained by statistics can be used as an important quality indicator for analyzing the color performance of the LED panel. Before determining that the color difference value meets the preset conditions, screening and statistical analysis are performed first, which can reduce unnecessary calculations and improve detection efficiency. The difference between the initial color value and the captured color value is calculated only when it is really necessary, avoiding unnecessary waste of resources.

[0010] Optionally, if it is determined that the color difference value satisfies a preset condition, then calculating a first difference between the first initial color value and the first captured color value, or calculating a second difference between the second initial color value and the second captured color value, specifically includes: calculating a variance based on a plurality of the color difference values; judging a size relationship between the variance and a preset variance; and if it is determined that the variance is less than a preset variance threshold, determining that the color difference value satisfies the preset condition.

[0011] By adopting the above technical solution, by calculating the variance of multiple color difference values, the consistency of color performance of the LED panel when displaying different comparison color card groups can be quantitatively evaluated. The smaller the variance, the more stable the LED panel is when displaying different colors, and the smaller the color difference is. Compared with directly comparing whether the color difference value is less than the preset difference value, using the variance as the judgment criterion can more comprehensively consider the distribution of all color difference values. Even if there are individual large difference values, as long as the overall variance is small, the color performance of the LED panel can still be considered stable. This method improves the accuracy of detection. The preset variance threshold can be adjusted according to different LED panel types, manufacturing processes or detection requirements. This makes the detection method highly adaptable and can be applied to color detection in different scenarios. By calculating the variance and comparing it with the preset variance threshold, it can be quickly determined whether further color difference calculation is required. This simplifies the decision-making process and improves detection efficiency.

[0012] Optionally, displaying a plurality of the comparison color card groups on the LED panel in sequence and obtaining a plurality of detection images captured by a camera during the display process specifically includes: receiving a plurality of original images captured by the camera; preprocessing the plurality of the original images to obtain a plurality of the detection images, one original image corresponding to one detection image, and the preprocessing includes denoising, filtering and normalization.

[0013] By adopting the above technical solution, through denoising, the noise introduced by factors such as camera sensors and transmission media in the original image can be eliminated, thereby improving the image quality. Filtering can further smooth the image, remove high-frequency noise and details, retain the main information, and make the image clearer. Due to the differences in devices such as cameras and LED panels, as well as the influence of external factors such as ambient lighting, the original image may have inconsistencies such as brightness and contrast. Through normalization processing, these differences can be eliminated or reduced, making the subsequent color difference calculation more accurate and the algorithm more robust to external factors. The preprocessed image usually has a smaller data volume and a simpler structure, which helps to reduce the amount of calculation for subsequent image processing and analysis and improve detection efficiency. High-quality detection images not only help to identify color defects more accurately, but also provide users with more intuitive and clear detection results and improve user experience. Through preprocessing, the interference factors in the original image can be effectively eliminated or reduced, the situation of false detection and missed detection can be reduced, and the reliability and accuracy of the system can be improved.

[0014] Optionally, the obtaining of the first shooting color value of the first shooting color card and the second shooting color value of the second shooting color card contained in each detection image specifically includes: obtaining a pixel block area corresponding to the first shooting color card; performing color extraction on the pixel block area corresponding to the first shooting color card to obtain the first shooting color value; obtaining a pixel block area corresponding to the second shooting color card; and performing color extraction on the pixel block area corresponding to the second shooting color card to obtain the second shooting color value.

[0015] By adopting the above technical solution, by accurately locating the pixel block areas corresponding to the first shot color card and the second shot color card, it can be ensured that only color values ​​are extracted from these areas, avoiding interference from color information in other areas, thereby improving the accuracy of color value extraction. This process can be automatically completed by the image processing algorithm without manual intervention, greatly improving the degree of automation of detection and reducing human errors. Since it is based on the color extraction of the pixel block area, it can adapt to color cards of different sizes, shapes and positions. As long as the position of the color card in the image is relatively fixed, the color value can be automatically located and extracted by the algorithm. The color extraction algorithm usually has a faster running speed and can complete the color value extraction of a large number of images in a short time, thereby improving the detection efficiency. The color extraction algorithm can be expanded and optimized according to actual needs, such as adding functions such as color correction and color space conversion to adapt to more complex detection scenarios. Accurately extracted color values ​​are the basis for subsequent color difference calculation and defect recognition. Only when accurate color values ​​are obtained can effective analysis and judgment be carried out.

[0016] Optionally, if it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold, it is determined that the LED panel has a color display deviation defect, and the method also includes: generating an alarm signal, wherein the alarm signal is used to indicate that the LED panel has a color display deviation defect; sending the alarm signal to a user device so as to display the alarm signal to a user corresponding to the user device through the user device.

[0017] By adopting the above technical solution, when the system detects that the LED panel has a color display deviation defect, it can immediately generate an alarm signal and send it to the user through the user device to ensure that the user can know this information at the first time. Timely notification of the problem of the LED panel to the user can avoid unnecessary troubles or misunderstandings encountered by subsequent users during use, and improve user satisfaction with the product. Manufacturers can avoid potential losses such as production interruptions and product quality problems caused by product failures by discovering and solving color display problems of LED panels at an early stage.

[0018] Optionally, the method further includes: if it is determined that the first difference is less than or equal to the preset threshold, and the second difference is less than or equal to the preset threshold, determining that the LED panel does not have a color display deviation defect.

[0019] By adopting the above technical solution and setting clear thresholds, the system can accurately determine whether the color display of the LED panel meets the requirements. Only when the two key color difference values ​​are less than or equal to the preset thresholds, the LED panel is determined to be free of defects. This dual judgment mechanism enhances the accuracy of detection. In some cases, due to various factors (such as ambient light, camera performance, etc.), some slight color differences may occur. If the system is too sensitive to these slight differences, it may cause false alarms. By setting reasonable thresholds, the system can ignore these slight differences and reduce the false alarm rate. When the system determines that the LED panel does not have color display deviation defects, users can use the product without worrying about the troubles caused by color problems. This helps to enhance user experience and improve user satisfaction with the product. For manufacturers, through this judgment process, qualified LED panel products can be screened out to avoid products with color display problems from entering the market. This helps to optimize the production process and improve product quality and reliability.

[0020] In a second aspect of the present application, an LED panel defect detection device is provided, the LED panel defect detection device comprising an acquisition module and a processing module, wherein the acquisition module is used to acquire a plurality of comparison color card groups, wherein a first initial color value of a first color card included in any one of the comparison color card groups is different from a second initial color value of a second color card, and any two of the first initial color values ​​are different, and any two of the second initial color values ​​are different; the processing module is used to sequentially display a plurality of the comparison color card groups on an LED panel, and to acquire a plurality of detection images captured by a camera during the display process, wherein each time the LED panel displays a comparison color card group, the camera captures a detection image; the acquisition module is also used to acquire a first shooting color value of a first shooting color card and a second shooting color value of a second shooting color card contained in each detection image. The first photographed color card is an area corresponding to the first color card in the detection image, and the second photographed color card is an area corresponding to the second color card in the detection image; the processing module is further used to calculate the color difference value based on the initial color difference between the first initial color value and the second initial color value, and the photographed color difference between the first photographed color value and the second photographed color value; the processing module is further used to calculate the first difference between the first initial color value and the first photographed color value, or calculate the second difference between the second initial color value and the second photographed color value if it is determined that the color difference value meets a preset condition; the processing module is further used to determine that the LED panel has a color display deviation defect if it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold.

[0021] In the third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs the method described above.

[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the method described above is executed.

[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0024] Through the display and comparison of multiple color comparison card groups, a wider range of colors can be covered, making the test results more comprehensive and accurate. The difference calculation between the initial color value and the captured color value provides a quantitative evaluation method, making the judgment of color deviation more objective and reliable. The camera automatically collects the test image and automatically extracts and analyzes the color value, which greatly improves the detection efficiency. Once it is determined that the color difference value meets the preset conditions, it is guaranteed that the subsequent detection is not affected by the camera. The system can quickly calculate the difference between the initial color value and the captured color value, so as to quickly identify the color display deviation. The number and color range of the color comparison card groups can be adjusted to meet the color detection requirements of different LED panels. The required equipment is relatively simple, mainly including LED panels, cameras and image processing software, which is easy to implement on the actual production line. Each test image and color value obtained during the detection process can be saved for subsequent analysis and traceability. Accurate color detection can ensure that the color display of the LED panel meets the design requirements and improve the overall quality and user experience of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic flow chart of a method for detecting defects in an LED panel provided in an embodiment of the present application.

[0026] Figure 2 Another schematic diagram of a flow chart of a LED panel defect detection method provided in an embodiment of the present application.

[0027] Figure 3 A module schematic diagram of an LED panel defect detection device provided in an embodiment of the present application.

[0028] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0029] Explanation of the reference numerals: 31, acquisition module; 32, processing module; 41, processor; 42, communication bus; 43, user interface; 44, network interface; 45, memory. DETAILED DESCRIPTION

[0030] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0031] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "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 "for example" or "for example" is intended to present related concepts in a specific way.

[0032] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0033] In today's industrial automation and quality control field, color defect detection of LED panels is a critical task. Given the wide application of LED panels in display devices, lighting systems, and various electronic devices, the consistency and accuracy of their colors are directly related to the overall performance of the product and the user experience.

[0034] Therefore, it is particularly important to achieve efficient and accurate color defect detection of LED panels. However, most of the current color defect detection technologies still rely mainly on manual visual inspection by manufacturers. Although manual visual inspection is intuitive, it has limitations that cannot be ignored, such as strong subjectivity, low efficiency, and easy fatigue, all of which may greatly reduce the accuracy of the detection results.

[0035] In order to solve the above technical problems, the present application provides a method for detecting defects in an LED panel. Figure 1 , Figure 1 A flowchart of a method for detecting defects in an LED panel provided in an embodiment of the present application is provided. The defect detection method is applied to a server and includes steps S110 to S160, which are as follows:

[0036] S110, obtaining a plurality of comparison color card groups, wherein a first initial color value of a first color card included in any comparison color card group is different from a second initial color value of a second color card, and any two first initial color values ​​are different and any two second initial color values ​​are different.

[0037] Specifically, multiple groups of color comparison card data are obtained on the server, and each group of data contains two color cards, namely the first color card and the second color card. Each color card has an initial color value associated with it, which is based on the representation method in the RGB color space. This color card is generated by the server and is used to be displayed on the LED panel. In the same color comparison card group, the first initial color value of the first color card is different from the second initial color value of the second color card. This means that there are two different colors in the same group. The first initial color values ​​in any two color comparison card groups are different, which ensures that each color comparison card group has its uniqueness in color. Similarly, the second initial color values ​​in any two color comparison card groups are also different, which further enhances the uniqueness of each group. In an embodiment of the present application, the positions occupied by the two color cards are all the same as the LED panel, and are evenly divided vertically. Among them, the server is a single server or server cluster used to perform calculations.

[0038] S120, displaying a plurality of comparison color card groups on the LED panel in sequence, and acquiring a plurality of detection images captured by the camera during the display process, wherein the camera captures a detection image once each time a comparison color card group is displayed on the LED panel.

[0039] Specifically, the server will send the comparison color card groups to the LED panel for display one by one in a preset order. Each comparison color card group contains two color cards of different colors, which are used to test the accuracy of the LED panel in displaying these colors. While the LED panel displays each comparison color card group, the camera is used to capture the display images of these color cards on the LED panel. These images will be used as the basis for subsequent analysis to determine whether the color display of the LED panel is accurate. This process is a synchronous process, that is, whenever the LED panel switches to a new comparison color card group, the camera will immediately capture the display image of the color card group on the LED panel. This ensures that each comparison color card group is captured individually and accurately, which is convenient for subsequent analysis and comparison. Among them, the difference between the color values ​​corresponding to the two color cards in each comparison color card group is the same.

[0040] For example, the server first sends an instruction to the LED panel, instructing it to display the first comparison color card group, for example, a color card containing red and a color card containing green. After receiving the instruction, the LED panel begins to display the first comparison color card group, namely the red color card and the green color card. While the LED panel displays the comparison color card group, the camera immediately captures the display image of the two color cards on the LED panel. This image contains the actual display effect of the red color card and the green color card on the LED panel. The server continues to send instructions to the LED panel, instructing it to display the next comparison color card group, for example, a blue color card and a yellow color card, and the color value difference between the two is the same as the previous group. This process will be repeated until all comparison color card groups are displayed by the LED panel and the camera captures the detection images of all color card groups.

[0041] In a possible implementation, a plurality of comparison color card groups are sequentially displayed on an LED panel, and a plurality of detection images captured by a camera are obtained during the display process, specifically including: receiving a plurality of original images captured by the camera; preprocessing the plurality of original images to obtain a plurality of detection images, wherein one original image corresponds to one detection image, and the preprocessing includes denoising, filtering, and normalization processing.

[0042] Specifically, when the LED panel displays multiple color comparison card sets in sequence, the camera will continuously capture multiple images, each of which is a snapshot of the color comparison card set currently displayed on the LED panel. These images are called raw images because they directly reflect the scene information captured by the camera, but may contain some unnecessary noise or distortion. In order to improve the quality and consistency of the image for more accurate color analysis, a series of preprocessing operations are required for the raw images, including denoising, filtering, and normalization. Due to other factors of the camera sensor, the raw image may contain some noise, such as random brightness changes at the pixel level. The denoising operation aims to reduce or eliminate these noises to make the image clearer and smoother. The filtering operation can further smooth the image, remove high-frequency noise or details, while retaining the main features of the image. The choice of filter depends on the specific application requirements, for example, Gaussian filters, median filters, etc. can be used. Normalization is a process of converting image data to a uniform range (such as 0-1 or -1 to 1). Since parameters such as brightness and contrast may differ between different images, normalization can eliminate these differences so that all images can be compared and analyzed on the same scale. The preprocessing operation is performed on the original images one by one, that is, each original image will go through the same preprocessing process to obtain the corresponding detection image. In this way, the original image set is converted into the detection image set, which will be used for subsequent color analysis or comparison.

[0043] For example, suppose that during the test, the LED panel displays the red, green, and blue comparison color cards in turn. When the LED panel displays the red color card, the camera captures an original image containing the red color card; when it switches to the green color card, it captures another original image of the green color card; similarly, it also captures the original image of the blue color card. For the original image of the red color card, the system first performs a denoising operation to eliminate random noise in the image; then uses a Gaussian filter for smoothing; and finally performs normalization to adjust the image's brightness, contrast, and other parameters to a uniform range. After these processes, the corresponding red color card detection image is obtained. For the original images of the green and blue color cards, the same preprocessing process is performed to obtain green and blue detection images, respectively.

[0044] S130, obtaining a first shooting color value of a first shooting color card and a second shooting color value of a second shooting color card included in each detection image, wherein the first shooting color card is an area corresponding to the first color card in the detection image, and the second shooting color card is an area corresponding to the second color card in the detection image.

[0045] Specifically, in the detection image, the server focuses on two specific color card areas, namely the areas corresponding to the first color card and the second color card. These color card areas are preset and represent the two standard colors that should be displayed on the LED panel. The server needs to analyze and extract the color values ​​corresponding to these two color card areas from the detection image. The color value is expressed in the RGB color space and represents the color information of a specific area in the image. In order to obtain the color values ​​of the first shot color card and the second shot color card, the server first needs to locate the specific positions of the two color cards in the detection image, which can be achieved through image processing techniques (such as template matching, edge detection, etc.). Once the location of the color card is determined, the server can extract the color value from this area. This involves calculating the average color value of all pixels in the area, or using an algorithm to select a representative color value.

[0046] In a possible implementation, obtaining a first shooting color value of a first shooting color card and a second shooting color value of a second shooting color card included in each detection image specifically includes: obtaining a pixel block area corresponding to the first shooting color card; performing color extraction on the pixel block area corresponding to the first shooting color card to obtain the first shooting color value; obtaining a pixel block area corresponding to the second shooting color card; and performing color extraction on the pixel block area corresponding to the second shooting color card to obtain the second shooting color value.

[0047] Specifically, in the detection image, the server first needs to determine the pixel block area where the first color card is located, which is achieved through edge detection. Once the boundary of the color card is found, a pixel block area containing the color card can be determined. After determining the pixel block area corresponding to the first color card, the server will extract the color value from this area. The extraction method includes calculating the average color value of all pixels in the area, or selecting a representative color value according to an algorithm (such as median, mode, etc.). This color value represents the actual display color of the first color card in the detection image. Similar to the first color card, the server also needs to determine the pixel block area corresponding to the second color card (such as the green color card) in the detection image. This process also relies on image processing technology. After determining the pixel block area corresponding to the second color card, the server will extract the color value using the same method as the first color card. This color value represents the actual display color of the second color card in the detection image.

[0048] For example, the server first runs an image processing algorithm to locate the positions of the red and green color cards in the detection image. This can be achieved through a color segmentation algorithm, which divides the image into different regions based on color and brightness information and finds the regions that match the red and green color cards. Once the location of the color card is found, the server can determine a pixel block area that contains the color card. This area should contain all the pixels of the color card, but also avoid including other irrelevant pixels. For the pixel block areas corresponding to the red and green color cards, the server calculates the average RGB value of all pixels in these areas respectively. For example, the average RGB value of the red color card area may be (250, 5, 5), while the average RGB value of the green color card area may be (5, 245, 5). These values ​​represent the actual display color of the color card in the detection image. With these color values, the server can compare them with the preset standard color values ​​to determine whether the LED panel has deviations when displaying these two colors.

[0049] S140 , calculating a color difference value based on an initial color difference between the first initial color value and the second initial color value and a captured color difference between the first captured color value and the second captured color value.

[0050] Specifically, the initial color value refers to the preset color value expected to be displayed by the LED panel. The first initial color value and the second initial color value represent the expected standard color values ​​of red and green (or other colors), respectively. The captured color value is the color value actually displayed by the LED panel extracted from the detection image. Similarly, the first captured color value and the second captured color value represent the average color values ​​of the red and green color card areas in the detection image, respectively. The color difference is used to measure the difference between two color values. In this scenario, the initial color difference and the captured color difference are calculated using a color distance measurement method, such as Euclidean distance, color difference formula, etc. The color difference value is calculated based on the initial color difference and the captured color difference.

[0051] For example, assume that the LED panel should display two color cards: red (RGB value is (255, 0, 0)) and green (RGB value is (0, 255, 0)). The first initial color value (red): (255, 0, 0), the second initial color value (green): (0, 255, 0), the first captured color value (red): (250, 5, 5) and the second captured color value (green): (10, 245, 10). Next, calculate the square root of the sum of the squares of the differences of each RGB component, that is, the Euclidean distance, to obtain the initial color difference. Similarly, calculate the difference between the two captured color values. Finally, it is necessary to compare the difference between the initial color difference and the captured color difference, and subtract the initial color difference from the captured color difference to obtain the color difference value.

[0052] S150: If it is determined that the color difference value meets the preset condition, a first difference between the first initial color value and the first captured color value is calculated, or a second difference between the second initial color value and the second captured color value is calculated.

[0053] Specifically, when the overall color difference value meets the preset conditions, the server further calculates the difference between the initial color value and the photographed color value of each color card. For the red color card, the difference between the first initial color value and the first photographed color value is calculated to obtain the first difference. For the green color card, the difference between the second initial color value and the second photographed color value is calculated to obtain the second difference. These differences are calculated to more accurately evaluate whether the color display of each color card is accurate. Although the overall color difference value may be within an acceptable range, the actual display color of a certain color card may deviate greatly from the expected color. By calculating the difference of a single color card, the size of this deviation can be understood more specifically, and further adjustments or repairs can be made accordingly.

[0054] In a possible implementation, if it is determined that the color difference value satisfies a preset condition, a first difference between the first initial color value and the first captured color value is calculated, or a second difference between the second initial color value and the second captured color value is calculated, specifically including: determining a target color difference value from multiple color difference values, the target color difference value being a color difference value whose corresponding values ​​of each of the multiple color difference values ​​are less than a preset difference value; counting the proportion of the number corresponding to the target color difference value in the total number corresponding to the multiple color difference values; if it is determined that the proportion is greater than the preset proportion, determining that the color difference value satisfies the preset condition.

[0055] Specifically, in actual detection, calculations are not performed only for two color cards (such as red and green), but for multiple color cards or color points. Therefore, there will be multiple color difference values, each of which represents the difference between an expected color value and the actual captured color value. Among the multiple color difference values, it is necessary to find those color difference values ​​whose values ​​are less than the preset difference value. These values ​​are called "target color difference values" because they represent color cards or color points whose colors are displayed within an acceptable error range. Next, it is necessary to count the proportion of the number of target color difference values ​​in the total number of multiple color difference values. This proportion reflects the accuracy of the color display of the LED panel, that is, what proportion of the color cards or color points are displayed accurately. If the proportion of the target color difference values ​​is greater than the preset proportion threshold (for example, 90%), then it is considered that the color display of the LED panel meets the preset conditions, that is, the display of most color cards or color points is accurate.

[0056] In a possible implementation, if it is determined that the color difference value satisfies a preset condition, a first difference between the first initial color value and the first captured color value is calculated, or a second difference between the second initial color value and the second captured color value is calculated, specifically including: calculating a variance based on multiple color difference values; determining a size relationship between the variance and a preset variance; if it is determined that the variance is less than a preset variance threshold, determining that the color difference value satisfies the preset condition.

[0057] Specifically, the variance of all color difference values ​​is calculated to evaluate the distribution of these difference values. If the variance is small, it means that most of the difference values ​​are concentrated in a small range, that is, the overall fluctuation of the color display is small. The preset variance threshold is a threshold set according to actual needs. The calculated variance is compared with this preset variance threshold to determine whether the stability of the color display meets the requirements. If the calculated variance is less than the preset variance threshold, it is considered that the color difference value meets the preset conditions, that is, the color display of the LED panel is stable, and the display of most color cards or color points is within an acceptable range. Otherwise, the preset conditions are not met, and the color display of the LED panel is affected by the camera factor.

[0058] For example, assuming that the preset variance threshold is 2, if the calculated variance is less than 2 (e.g., 1.2), it is determined that the color difference value meets the preset condition, that is, the color display of the LED panel is stable. Finally, one of the color cards (e.g., the red color card) can be selected to calculate the difference between its initial color value and the captured color value to further evaluate the display accuracy of the color card.

[0059] S160: If it is determined that the first difference is greater than the preset threshold, or the second difference is greater than the preset threshold, it is determined that the LED panel has a color display deviation defect.

[0060] Specifically, the preset threshold is a value set according to actual needs, which is used to determine whether the color difference is within an acceptable range. This threshold is usually set according to the specifications of the LED panel, the manufacturing process and the expectations of the customer. After the color difference of a color card is calculated, it needs to be compared with the preset threshold. If the color difference is greater than the preset threshold, it means that there is a large deviation between the actual displayed color of the color card and the expected color. If the color difference of any color card is greater than the preset threshold, it can be determined that the LED panel has a color display deviation defect, which means that the LED panel has an obvious error when displaying the color card and needs to be adjusted or repaired.

[0061] Therefore, through the display and comparison of multiple color comparison card groups, a wider range of colors can be covered, making the test results more comprehensive and accurate. The difference calculation between the initial color value and the captured color value provides a quantitative evaluation method, making the judgment of color deviation more objective and reliable. The camera automatically collects the test image and automatically extracts and analyzes the color value, which greatly improves the detection efficiency. Once it is determined that the color difference value meets the preset conditions, it is guaranteed that the subsequent detection is not affected by the camera. The system can quickly calculate the difference between the initial color value and the captured color value, so as to quickly identify the color display deviation. The number and color range of the color comparison card groups can be adjusted to meet the color detection requirements of different LED panels. The required equipment is relatively simple, mainly including LED panels, cameras and image processing software, which is easy to implement on the actual production line. Each test image and color value obtained during the detection process can be saved for subsequent analysis and traceability. Accurate color detection can ensure that the color display of the LED panel meets the design requirements and improve the overall quality and user experience of the product.

[0062] In a possible implementation, if it is determined that the first difference is less than or equal to a preset threshold, and the second difference is less than or equal to the preset threshold, it is determined that the LED panel does not have a color display deviation defect.

[0063] Specifically, after the color difference of a color card is calculated, it needs to be compared with the preset threshold. If the color difference is less than or equal to the preset threshold, it means that the deviation between the actual displayed color of the color card and the expected color is within an acceptable range. If the color difference of all the detected color cards is less than or equal to the preset threshold, then it can be determined that the LED panel does not have a color display deviation defect, which means that the LED panel has achieved the expected effect when displaying these color cards, and no additional adjustment or repair is required.

[0064] In one possible implementation, refer to Figure 2 , Figure 2 Another flowchart of a method for detecting defects in an LED panel provided by an embodiment of the present application. If it is determined that the first difference is greater than a preset threshold, or the second difference is greater than a preset threshold, it is determined that the LED panel has a color display deviation defect, and further includes steps S210 to 220, the steps being as follows: S210, generating an alarm signal, the alarm signal being used to indicate that the LED panel has a color display deviation defect; S220, sending an alarm signal to a user device, so as to display the alarm signal to a user corresponding to the user device through the user device.

[0065] Specifically, when the server detects that the color difference of a color card (such as red or green) of the LED panel exceeds a preset threshold, it generates an alarm signal. This alarm signal is a way for the system to notify the user that the LED panel has a color display deviation defect. The main purpose of the alarm signal is to clearly indicate that the LED panel has a color display deviation defect. Through the alarm signal, the user can quickly understand the current status of the LED panel and take corresponding measures, such as adjusting, repairing or replacing the LED panel. After the server generates the alarm signal, it will send the signal to the user device associated with the user. These user devices may be mobile phones, tablets, computers, or any other devices that can receive and display alarm signals. The method of sending the alarm signal can be remote communication through a network (such as Wi-Fi, Ethernet, or mobile data network). Once the user device receives the alarm signal, it will display the signal to the user in a preset manner. This may include popping up a dialog box, sending a notification message, changing the display status of the LED panel (such as flashing a specific color), etc. The user can understand the current status of the LED panel by viewing the alarm signal on the user device. Among them, the user is the staff of the LED panel manufacturer who performs the detection task.

[0066] The present application also provides a LED panel defect detection device, referring to Figure 3 , Figure 3A schematic diagram of a module of an LED panel defect detection device provided in an embodiment of the present application. The defect detection device is a server, and the server includes an acquisition module 31 and a processing module 32, wherein the acquisition module 31 acquires a plurality of comparison color card groups, and the first initial color value of the first color card included in any comparison color card group is different from the second initial color value of the second color card, and any two first initial color values ​​are different, and any two second initial color values ​​are different; the processing module 32 sequentially displays the plurality of comparison color card groups on the LED panel, and acquires a plurality of detection images captured by the camera during the display process, wherein each time the LED panel displays a comparison color card group, the camera acquires a detection image; the acquisition module 31 acquires the first shooting color value of the first shooting color card and the second shooting color card contained in each detection image. Two shot color values, the first shot color card is the area corresponding to the first color card in the detection image, and the second shot color card is the area corresponding to the second color card in the detection image; the processing module 32 calculates the color difference value based on the initial color difference between the first initial color value and the second initial color value, and the shot color difference between the first shot color value and the second shot color value; if the processing module 32 determines that the color difference value meets the preset condition, then calculate the first difference between the first initial color value and the first shot color value, or calculate the second difference between the second initial color value and the second shot color value; if the processing module 32 determines that the first difference is greater than the preset threshold, or the second difference is greater than the preset threshold, then determine that the LED panel has a color display deviation defect.

[0067] In a possible implementation, if the processing module 32 determines that the color difference value satisfies a preset condition, then the first difference between the first initial color value and the first captured color value is calculated, or the second difference between the second initial color value and the second captured color value is calculated, specifically including: the processing module 32 determines a target color difference value from multiple color difference values, the target color difference value being a color difference value whose corresponding values ​​of each of the multiple color difference values ​​are less than a preset difference value; the processing module 32 counts the proportion of the number corresponding to the target color difference value in the total number corresponding to the multiple color difference values; if the processing module 32 determines that the proportion is greater than the preset proportion, then it is determined that the color difference value satisfies the preset condition.

[0068] In a possible implementation, if the processing module 32 determines that the color difference value meets the preset condition, then the first difference between the first initial color value and the first captured color value is calculated, or the second difference between the second initial color value and the second captured color value is calculated, specifically including: the processing module 32 calculates the variance based on multiple color difference values; the processing module 32 determines the size relationship between the variance and the preset variance; if the processing module 32 determines that the variance is less than the preset variance threshold, then it is determined that the color difference value meets the preset condition.

[0069] In a possible implementation, the processing module 32 sequentially displays multiple comparison color card groups on the LED panel, and acquires multiple detection images captured by the camera during the display process, specifically including: the acquisition module 31 receives multiple original images captured by the camera; the processing module 32 preprocesses the multiple original images to obtain multiple detection images, one original image corresponds to one detection image, and the preprocessing includes denoising, filtering and normalization.

[0070] In a possible implementation, the acquisition module 31 acquires the first shooting color value of the first shooting color card and the second shooting color value of the second shooting color card contained in each detection image, specifically including: the acquisition module 31 acquires the pixel block area corresponding to the first shooting color card; the processing module 32 performs color extraction on the pixel block area corresponding to the first shooting color card to obtain the first shooting color value; the acquisition module 31 acquires the pixel block area corresponding to the second shooting color card; the processing module 32 performs color extraction on the pixel block area corresponding to the second shooting color card to obtain the second shooting color value.

[0071] In a possible implementation, if the processing module 32 determines that the first difference is greater than a preset threshold, or the second difference is greater than a preset threshold, then it is determined that the LED panel has a color display deviation defect, and the processing module 32 also includes: the processing module 32 generates an alarm signal, and the alarm signal is used to indicate that the LED panel has a color display deviation defect; the processing module 32 sends an alarm signal to the user device, so as to display the alarm signal to the user corresponding to the user device through the user device.

[0072] In a possible implementation, if the processing module 32 determines that the first difference is less than or equal to the preset threshold and the second difference is less than or equal to the preset threshold, it determines that the LED panel does not have a color display deviation defect.

[0073] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0074] The present application also provides an electronic device, referring to Figure 4 , Figure 4 The electronic device may include: at least one processor 41 , at least one network interface 44 , a user interface 43 , a memory 45 , and at least one communication bus 42 .

[0075] The communication bus 42 is used to realize the connection and communication between these components.

[0076] The user interface 43 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 43 may also include a standard wired interface and a wireless interface.

[0077] The network interface 44 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0078] Among them, the processor 41 may include one or more processing cores. The processor 41 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 45, and calling data stored in the memory 45. Optionally, the processor 41 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 41 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 41, and it can be implemented separately through a chip.

[0079] Among them, the memory 45 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 45 includes a non-transitory computer-readable storage medium. The memory 45 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 45 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 45 may also be optionally at least one storage device located away from the aforementioned processor 41. As Figure 4 As shown, the memory 45 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of a LED panel defect detection method.

[0080] exist Figure 4 In the electronic device shown, the user interface 43 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 41 can be used to call an application program for an LED panel defect detection method stored in the memory 45. When executed by one or more processors, the electronic device executes one or more methods such as those in the above-mentioned embodiments.

[0081] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0082] The present application also provides a computer-readable storage medium, which stores instructions. When executed by one or more processors, the electronic device executes one or more of the methods described in the above embodiments.

[0083] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0088] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for detecting defects in an LED panel, characterized in that: The method comprises: Acquire multiple comparison color card groups, wherein a first initial color value of a first color card included in any comparison color card group is different from a second initial color value of a second color card, and any two of the first initial color values ​​are different, and any two of the second initial color values ​​are different; Displaying a plurality of the comparison color card groups on the LED panel in sequence, and acquiring a plurality of detection images captured by the camera during the display process, wherein each time the LED panel displays a comparison color card group, the camera captures a detection image; Acquire a first captured color value of a first captured color card and a second captured color value of a second captured color card included in each detection image, wherein the first captured color card is an area corresponding to the first color card in the detection image, and the second captured color card is an area corresponding to the second color card in the detection image; Calculating a color difference value based on an initial color difference between the first initial color value and the second initial color value and a captured color difference between the first captured color value and the second captured color value; If it is determined that the color difference value satisfies a preset condition, calculating a first difference between the first initial color value and the first captured color value, or calculating a second difference between the second initial color value and the second captured color value, specifically includes: Calculating a variance according to the plurality of color difference values; Determining the magnitude relationship between the variance and a preset variance threshold; If it is determined that the variance is less than the preset variance threshold, then determining that the color difference value meets a preset condition; If it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold, it is determined that the LED panel has a color display deviation defect.

2. The LED panel defect detection method according to claim 1, characterized in that: The method of sequentially displaying a plurality of the comparison color card groups on the LED panel and acquiring a plurality of detection images captured by the camera during the display process specifically includes: Receiving a plurality of original images captured by the camera; Preprocessing is performed on the multiple original images to obtain the multiple detection images, where one original image corresponds to one detection image, and the preprocessing includes denoising, filtering and normalization processing.

3. The LED panel defect detection method according to claim 1, characterized in that: The obtaining of the first captured color value of the first captured color card and the second captured color value of the second captured color card contained in each detection image specifically includes: Obtaining a pixel block area corresponding to the first shooting color card; Performing color extraction on a pixel block area corresponding to the first shooting color card to obtain the first shooting color value; Obtaining a pixel block area corresponding to the second shooting color card; Color extraction is performed on a pixel block area corresponding to the second shooting color card to obtain the second shooting color value.

4. The LED panel defect detection method according to claim 1, characterized in that: If it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold, it is determined that the LED panel has a color display deviation defect, and the method further includes: Generate an alarm signal, wherein the alarm signal is used to indicate that the LED panel has a color display deviation defect; The alarm signal is sent to a user device so as to display the alarm signal to a user corresponding to the user device through the user device.

5. The LED panel defect detection method according to claim 1, characterized in that: The method further comprises: If it is determined that the first difference is less than or equal to the preset threshold, and the second difference is less than or equal to the preset threshold, it is determined that the LED panel does not have a color display deviation defect.

6. A LED panel defect detection device, characterized in that: The LED panel defect detection device comprises an acquisition module (31) and a processing module (32), wherein: The acquisition module (31) is used to acquire a plurality of comparison color card groups, wherein a first initial color value of a first color card included in any one of the comparison color card groups is different from a second initial color value of a second color card, and any two of the first initial color values ​​are different, and any two of the second initial color values ​​are different; The processing module (32) is used to sequentially display the plurality of comparison color card groups on the LED panel, and obtain a plurality of detection images captured by the camera during the display process, wherein each time the LED panel displays a comparison color card group, the camera captures a detection image; The acquisition module (31) is further used to acquire a first captured color value of a first captured color card and a second captured color value of a second captured color card contained in each detection image, wherein the first captured color card is an area corresponding to the first color card in the detection image, and the second captured color card is an area corresponding to the second color card in the detection image; The processing module (32) is further configured to calculate a color difference value based on an initial color difference between the first initial color value and the second initial color value and a captured color difference between the first captured color value and the second captured color value; The processing module (32) is further configured to calculate a first difference between the first initial color value and the first captured color value, or calculate a second difference between the second initial color value and the second captured color value, if it is determined that the color difference value satisfies a preset condition, specifically comprising: calculating a variance based on a plurality of the color difference values; determining a magnitude relationship between the variance and a preset variance threshold; and determining that the color difference value satisfies the preset condition if it is determined that the variance is less than the preset variance threshold; The processing module (32) is further configured to determine that the LED panel has a color display deviation defect if it is determined that the first difference is greater than a preset threshold, or the second difference is greater than the preset threshold.

7. An electronic device, characterized in that: The electronic device comprises a processor (41), a memory (45), a user interface (43) and a network interface (44), wherein the memory (45) is used to store instructions, the user interface (43) and the network interface (44) are both used to communicate with other devices, and the processor (41) is used to execute the instructions stored in the memory (45) so that the electronic device executes the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 5 is performed.

Citation Information

Patent Citations

  • Method for measuring luminescent picture brightness uniformity

    CN101101237A

  • Defect detection device, defect repair device, defect detection method

    CN102279189A