CN111145138B - Detection method, device and equipment for LED lamp panel and storage medium - Google Patents

Detection method, device and equipment for LED lamp panel and storage medium Download PDF

Info

Publication number
CN111145138B
CN111145138B CN201910699808.6A CN201910699808A CN111145138B CN 111145138 B CN111145138 B CN 111145138B CN 201910699808 A CN201910699808 A CN 201910699808A CN 111145138 B CN111145138 B CN 111145138B
Authority
CN
China
Prior art keywords
low
brightness
area
lamp panel
led lamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910699808.6A
Other languages
Chinese (zh)
Other versions
CN111145138A (en
Inventor
吴雪峰
高文周
潘德灼
李业生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL King Electrical Appliances Huizhou Co Ltd
Original Assignee
TCL King Electrical Appliances Huizhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL King Electrical Appliances Huizhou Co Ltd filed Critical TCL King Electrical Appliances Huizhou Co Ltd
Priority to CN201910699808.6A priority Critical patent/CN111145138B/en
Publication of CN111145138A publication Critical patent/CN111145138A/en
Application granted granted Critical
Publication of CN111145138B publication Critical patent/CN111145138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention belongs to the technical field of visual inspection, and discloses a detection method, a detection device, detection equipment and a storage medium for an LED lamp panel. In the method, when an LED lamp panel to be detected in a lighting state is detected, a plurality of equal-divided areas are obtained by acquiring a corresponding target detection image, determining the corresponding lamp panel area, and equally dividing the target detection image, then the low-lighting areas corresponding to the low-lighting parts in the equal-divided areas are calculated, the low-lighting proportion of the lamp panel area corresponding to the equal-divided areas is determined according to the lamp panel area and the low-lighting areas, then a first judgment result is obtained according to the relation between the low-lighting proportion of the lamp panel area and the extremum of a preset threshold value interval of the low-lighting proportion of the lamp panel area, and finally the detection result of the LED lamp panel to be detected is generated according to the first judgment result.

Description

Detection method, device and equipment for LED lamp panel and storage medium
Technical Field
The invention relates to the technical field of visual inspection, in particular to a method, a device, equipment and a storage medium for detecting an LED lamp panel.
Background
With the development of semiconductor technology, light emitting diodes (light emitting diode, LEDs) are widely used in various terminal devices with display screens, such as televisions, mobile phones, tablet computers, and the like.
In order to ensure the quality and performance of various LED display screen products, it is generally required to detect the LED light panel, such as whether the LED light panel displays uniformity.
However, at present, whether the LED lamp panel is uniformly displayed is mainly detected manually, namely, whether the LED lamp panel is uniformly displayed is detected, after the LED lamp panel is lightened, a diffusion plate and a light guide film are required to be added on the LED lamp panel manually, and then whether the LED lamp panel lightened by manual visual inspection has the phenomenon of non-uniform display or not, so that the quality of the LED lamp panel is judged.
Although the manual detection mode can realize the detection of the LED lamp panel, the manual detection needs to cost a great deal of labor, and the accuracy and the efficiency of the detection result cannot be ensured at all.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a detection method, a detection device, detection equipment and a storage medium for an LED lamp panel, and aims to solve the technical problems.
In order to achieve the above purpose, the invention provides a detection method of an LED lamp panel, which comprises the following steps:
acquiring a target detection image corresponding to an LED lamp panel to be detected in a lighting state;
equally dividing and cutting the target detection image to obtain a plurality of equally divided areas;
calculating a low-brightness area corresponding to a low-brightness part in each equal-brightness area, wherein the low-brightness part is a part of the LED lamp with luminous intensity lower than a preset brightness threshold value;
determining the area of the lamp panel corresponding to the target detection image, and determining the low-brightness occupation ratio of the area of the lamp panel corresponding to each equal area according to the area of the lamp panel and the low-brightness area corresponding to each equal area;
traversing the low-brightness ratio of the area of the lamp panel, judging the relation between the traversed low-brightness ratio of the area of the current lamp panel and the extreme value of the threshold value interval of the preset low-brightness ratio of the area of the lamp panel, and obtaining a first judging result;
and after the traversal of the low-brightness duty ratio of the area of the lamp panel is finished, generating a detection result of the LED lamp panel to be detected according to the first judgment result.
Preferably, the step of obtaining the target detection image corresponding to the LED lamp panel to be detected in the on state includes:
Collecting image information of the LED lamp panel to be detected in a lighting state, and taking the image information as an image to be detected;
based on the visual algorithm, calculating a gray extremum corresponding to the image to be detected;
and according to the gray extreme value, image information only comprising the LED lamp is intercepted from the image to be detected, and a target detection image is obtained.
Preferably, the step of capturing image information only including the LED lamp from the image to be detected according to the gray-scale extremum to obtain the target detection image includes:
according to the gray level extreme value, image information only containing the LED lamp is intercepted from the image to be detected, and the intercepted image only containing the LED lamp is used as an initial detection image;
and based on a preset color filling rule, carrying out low-brightness or high-brightness filling on a brightness area corresponding to each LED lamp in the initial detection image to obtain the target detection image.
Preferably, before the step of calculating the gray extremum corresponding to the image to be detected, the method further includes:
carrying out noise reduction treatment on the image to be detected;
correspondingly, the step of calculating the gray extreme value corresponding to the image to be detected comprises the following steps:
and calculating the gray extreme value corresponding to the image to be detected after noise reduction.
Preferably, the step of generating the detection result of the LED lamp panel to be detected according to the first determination result includes:
if the first judging result is that the area low-brightness ratio of all the lamp panels is smaller than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result that the LED lamp panels to be detected display normally;
if the first judging result is that at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result of the LED lamp panel to be detected in abnormal display and marking an abnormal area;
if the first judging result is that the area low-brightness occupancy rate of all the lamp panels is smaller than the upper limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval and at least one lamp panel area low-brightness occupancy rate is larger than the lower limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval, determining the low-brightness area corresponding to each equal-division area and the equal-division area low-brightness occupancy rate of the equal-division area, traversing the equal-division area low-brightness occupancy rate, and judging the relation between the traversed current equal-division area low-brightness occupancy rate and the extreme value of the preset equal-division area low-brightness occupancy rate threshold value interval to obtain a second judging result;
And after the traversing of the low brightness ratio of the equal division area is finished, generating a detection result of the LED lamp panel to be detected according to the second judgment result.
Preferably, the step of generating the detection result of the LED lamp panel to be detected according to the second determination result includes:
if the second judgment result is that the low-brightness occupancy rate of all the equal division areas is smaller than the lower limit value of the preset equal division area low-brightness occupancy rate threshold value interval, generating a detection result that the LED lamp panel to be detected displays normally;
if the second judging result is that at least one equal area low-brightness ratio is larger than the upper limit value of the preset equal area low-brightness ratio threshold value interval, generating an LED lamp panel display abnormality to be detected, and marking a detection result of the abnormal area;
if the second judging result is that the low-brightness ratio of all the equally divided areas is smaller than the upper limit value of the preset equally divided area low-brightness ratio threshold value interval and at least one equally divided area low-brightness ratio is larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval, judging whether the equally divided area low-brightness ratio larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval meets the preset condition or not by adopting an adjacent step difference mode, generating a detection result that the LED lamp panel to be detected displays normally when the preset condition is met, generating a detection result that the LED lamp panel to be detected displays abnormally when the preset condition is not met, and marking the abnormal area.
Preferably, the step of determining whether the low brightness ratio of the equal division area larger than the lower limit value of the preset equal division area low brightness ratio threshold interval meets the preset condition by adopting an adjacent step difference mode includes:
calculating a first difference value of the low brightness ratio of the equal division area, which is larger than the lower limit value of the preset equal division area low brightness ratio threshold value interval, and the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the left side, and a second difference value of the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the right side;
and comparing the first difference value and the second difference value with the preset condition respectively.
In addition, in order to achieve the above purpose, the present invention further provides a detection device for an LED lamp panel, where the device includes:
the acquisition module is used for acquiring a target detection image corresponding to the LED lamp panel to be detected in the lighting state;
the segmentation module is used for equally dividing and cutting the target detection image to obtain a plurality of equally divided areas;
the calculation module is used for calculating the low-brightness area corresponding to the low-brightness part in each equal-division area, wherein the low-brightness part is a part of the LED lamp with the luminous intensity lower than a preset brightness threshold value;
the determining module is used for determining the area of the lamp panel corresponding to the target detection image and determining the low-brightness duty ratio of the area of the lamp panel corresponding to each equal division area according to the area of the lamp panel and the low-brightness area corresponding to each equal division area;
The detection module is used for traversing the area low-brightness duty ratio of the lamp panel, judging the relation between the traversed area low-brightness duty ratio of the current lamp panel and the extreme value of the preset area low-brightness duty ratio threshold interval, and obtaining a first judgment result;
and the generating module is used for generating a detection result of the LED lamp panel to be detected according to the first judgment result after the traversal of the area low-brightness duty ratio of the lamp panel is finished.
In addition, in order to achieve the above object, the present invention further provides a detection device for an LED lamp panel, where the device includes: the LED lamp panel detection device comprises a memory, a processor and an LED lamp panel detection program which is stored in the memory and can run on the processor, wherein the LED lamp panel detection program is configured to realize the steps of the LED lamp panel detection method.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, on which a detection program of an LED lamp panel is stored, the detection program of the LED lamp panel implementing the steps of the detection method of the LED lamp panel as described above when being executed by a processor.
According to the detection scheme of the LED lamp panel, when the LED lamp panel to be detected in the lighted state is detected, the target detection image corresponding to the LED lamp panel to be detected is obtained, the lamp panel area corresponding to the obtained target detection image is determined, the target detection image is equally divided to obtain a plurality of equally divided areas, then the low-brightness area corresponding to the low-brightness part in each equally divided area is calculated, the low-brightness occupied ratio of the lamp panel area corresponding to each equally divided area is determined according to the lamp panel area and each low-brightness area, then a first judgment result is obtained according to the relation between the low-brightness occupied ratio of each lamp panel area and the extreme value of the preset threshold value interval of the low-brightness occupied ratio of the lamp panel area, and finally the detection result of the LED lamp panel to be detected is generated according to the first judgment result.
Drawings
Fig. 1 is a schematic structural diagram of a detection device for an LED lamp panel in a hardware operation environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a method for detecting an LED lamp panel according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for detecting an LED lamp panel according to the present invention;
fig. 4 is a block diagram of a first embodiment of a detection device for an LED lamp panel according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a detection device of an LED lamp panel in a hardware operation environment according to an embodiment of the present invention.
As shown in fig. 1, the detection device of the LED lamp panel may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the detection device of the LED light panel, and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a detection program of the LED lamp panel.
In the detection device of the LED lamp panel shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the detection device of the LED lamp panel can be arranged in the detection device of the LED lamp panel, and the detection device of the LED lamp panel invokes the detection program of the LED lamp panel stored in the memory 1005 through the processor 1001 and executes the detection method of the LED lamp panel provided by the embodiment of the invention.
The embodiment of the invention provides a detection method of an LED lamp panel, and referring to fig. 2, fig. 2 is a flow chart of a first embodiment of the detection method of the LED lamp panel.
In this embodiment, the method for detecting the LED lamp panel includes the following steps:
Step S10, obtaining a target detection image corresponding to the LED lamp panel to be detected in the on state.
Specifically, the detection method of the LED lamp panel provided by the embodiment is mainly used for reducing the dependence on manpower and realizing the automatic test of the LED lamp panel.
Therefore, the execution subject in the present embodiment is actually a terminal device capable of performing data processing, such as a computer device, a tablet computer, or even a smart phone, which is not listed here, and is not limited in any way.
In addition, the above-mentioned lighting state specifically refers to a state in which the power supply of the LED lamp panel to be detected is manually turned on by a tester before the LED lamp panel to be detected is tested, or the power supply of the LED lamp panel to be detected is automatically turned on by a machine device according to an instruction input by the tester, and after the LED lamp on the LED lamp panel to be detected is turned on, the LED lamp panel to be detected is in.
In addition, the above-mentioned target detection image specifically refers to an image including only the LED lamps constituting the LED lamp panel to be detected.
It should be understood that the target detection image may be specifically acquired through a camera unit of the terminal device, or may be acquired in real time through a camera unit communicatively connected to the terminal device, or may be a pre-captured image stored in a designated storage area, and may be acquired from the storage area by the terminal device during detection.
In addition, the obtained target detection image is directly extracted from the image data in the picture format, or may be extracted from the image data in the video format, which is not limited herein.
And S20, performing equal division cutting on the target detection image to obtain a plurality of equal division areas.
Specifically, in this embodiment, the target detection image is to be cut, so that a relatively large area of the LED lamp panel to be detected is divided into a plurality of small areas as much as possible, and whether the brightness of the LED lamp in each area is uniformly detected is detected, so that the detection result of the whole LED lamp panel to be detected is obtained, thereby facilitating detection and guaranteeing the accuracy of the detection result.
In addition, it should be noted that, in the case of performing the dividing operation on the target detection image, the present embodiment specifies that the areas of the plurality of areas obtained by equally dividing the target detection image are the same, so the present embodiment is called equally divided areas.
For example, in an actual detection process, the target detection image may be cut into 6 equal parts laterally.
It should be understood that the foregoing is merely illustrative, and the technical solution of the present invention is not limited in any way, and the bisection cutting operation performed on the target detection image in practical application may be either transverse or longitudinal, or other directions, which is not limited herein.
Also, the number of the aliquoting is not limited, and the shape of the aliquoting region obtained after cutting is not limited, so long as the cutting operation is ensured to be the aliquoting cutting.
Step S30, calculating a low-light area corresponding to the low-light portion in each of the equal division regions.
Specifically, in this embodiment, the low-luminance area corresponding to the low-luminance portion in each of the equally divided regions is calculated based on a visual algorithm.
It should be noted that the above-mentioned visual algorithm, i.e. machine vision which is relatively flowing at present, is a branch of rapid development of artificial intelligence, which mainly relates to image processing, artificial intelligence and pattern recognition. In short, machine vision is to replace the human eye with a machine to make measurements and decisions.
In this embodiment, when calculating the low-brightness area corresponding to the low-brightness portion in each equal-brightness area based on the visual algorithm, specifically, an image processing function involved in the visual algorithm is adopted, that is, any one suitable image area calculation method is selected for calculation.
For ease of understanding, 6 equally divided areas are obtained after equally dividing, and 6 calculated low-luminance areas are indicated by A, B, C, D, E, F below.
In addition, it should be noted that, in the specific implementation, the low-brightness portion is determined according to the current luminous intensity of the LED lamp set on the LED lamp panel to be detected.
Specifically, in this embodiment, the low-brightness portion is a portion where the light-emitting intensity of the LED lamp is lower than a preset brightness threshold.
In addition, the preset brightness threshold value can be specifically determined according to indexes such as the number, specification, luminous color and the like of the LED lamps arranged on the LED lamp panel to be detected.
For example, when the number of the LED lamps in each of the equally divided regions is 90 and the specification of each LED lamp is the same as the luminous color average line after lighting (both white light and warm light), the luminous intensity of each LED lamp is identified and arranged in ascending or descending order, so that the region where the LED lamp with the luminous intensity belonging to the first third is regarded as the highlight part, and the region where the remaining two thirds of LED lamps are regarded as the low-light part; alternatively, the area where the LEDs or the like whose emission intensity ranks to belong to the latter third is set as the low-light portion, and the area where the remaining two-thirds LEDs or the like are set as the high-light portion.
It should be understood that the foregoing is merely illustrative, and the technical solution of the present invention is not limited in any way, and those skilled in the art may set the technical solution according to the needs in practical application, and the present invention is not limited herein.
And S40, determining the area of the lamp panel corresponding to the target detection image, and determining the low-brightness duty ratio of the area of the lamp panel corresponding to each equal division area according to the area of the lamp panel and the low-brightness area corresponding to each equal division area.
For ease of understanding, the 6 equally divided regions obtained after the equally divided cutting are taken as an example, and the distribution of the 6 regions of the equally divided region A, B, C, D, E, F is defined as a ', B', C ', D', E ', F' corresponding to the low-luminance areas.
Meanwhile, the area of the lamp panel corresponding to the target detection image is specified, namely the area of the area occupied by all the luminous LED lamps on the whole LED lamp panel to be detected is S.
And then, the determined low-brightness ratios of the areas of the lamp panels corresponding to the 6 equal-division areas are respectively as follows:
the lamp panel area low-brightness ratio corresponding to the equal division area A is A '/S, the lamp panel area low-brightness ratio corresponding to the equal division area B is B'/S, the lamp panel area low-brightness ratio corresponding to the equal division area C is C '/S, the lamp panel area low-brightness ratio corresponding to the equal division area D is D'/S, the lamp panel area low-brightness ratio corresponding to the equal division area E is E '/S, and the lamp panel area low-brightness ratio corresponding to the equal division area F is F'/S.
It should be understood that the foregoing is merely illustrative, and the technical solution of the present invention is not limited in any way, and those skilled in the art may set the technical solution according to the needs in practical application, and the present invention is not limited herein.
And S50, traversing the area low-brightness duty ratio of the lamp panel, judging the relation between the traversed area low-brightness duty ratio of the current lamp panel and the extreme value of the preset area low-brightness duty ratio threshold interval, and obtaining a first judging result.
Specifically, the first determination result is substantially to reflect the overall detection result of the LED lamp panel to be detected, that is, the relationship between the lamp panel area low-brightness ratio corresponding to each equal division area and the extremum of the preset lamp panel area low-brightness ratio threshold interval is recorded in the first determination result.
For the sake of understanding, taking the example that the number of equally divided areas is 6 after the equally divided cutting, the traversing operation performed in step S50 and the operation of determining the relationship between the traversed current light panel area low-brightness ratio and the extremum of the preset light panel area low-brightness ratio threshold interval are all performed 6 times.
Accordingly, 6 pieces of relationship information should be recorded in the obtained first determination result.
It should be understood that the foregoing is merely illustrative, and the technical solution of the present invention is not limited in any way, and those skilled in the art may set the technical solution according to the needs in practical application, and the present invention is not limited herein.
In addition, in practical application, the preset threshold interval of the low-brightness ratio of the area of the lamp panel can be specifically determined by a tester in the field according to historical test conditions, that is, a maximum range in which the low-brightness ratio of the area of the lamp panel is allowed to float is determined.
Correspondingly, the extremum in the preset light panel area low-brightness duty ratio threshold interval can be a lower limit value (allowed minimum duty ratio) and an upper limit value (allowed maximum duty ratio).
That is, if the area of the light panel is low and the lighting ratio is within the range, it can be basically determined that the LED light panel to be detected is uniformly displayed and can be used out of the field.
And step S60, after the traversal of the area low-brightness duty ratio of the lamp panel is finished, generating a detection result of the LED lamp panel to be detected according to the first judgment result.
Specifically, the preset panel area low-duty ratio threshold interval is a maximum range in which the panel area low-duty ratio is allowed to float. Thus, by determining that there are three possibilities for the luminance duty ratio of the panel area corresponding to each of the equal division regions with respect to the threshold interval of the preset panel area low-luminance duty ratio, the three possibilities are respectively: all the lamp panel area low-brightness ratios are smaller than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval, at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, all the lamp panel area low-brightness ratios are smaller than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, and at least one lamp panel area low-brightness ratio is larger than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval.
In order to facilitate understanding of the above three determination results, the operation of generating the detection result of the LED lamp panel to be detected is specifically described below:
(1) And if the first judging result is that the area low-brightness ratio of all the lamp panels is smaller than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result that the LED lamp panels to be detected display normally.
Specifically, since the lower limit value of the preset panel area low-brightness ratio threshold interval is substantially a value that allows the panel area low-brightness ratio corresponding to each equal division area to be minimum when judging whether the display of the LED panel to be detected is abnormal, that is, when the panel area low-brightness ratio is the same as the lower limit value, the panel area low-brightness ratio is considered to be still normal, and once the panel area low-brightness ratio exceeds the lower limit value, further judgment is needed.
(2) And if the first judging result is that at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result of the LED lamp panel to be detected in abnormal display and marking an abnormal area.
Accordingly, the upper limit value of the preset light panel area low-brightness ratio threshold interval is a value which allows the light panel area low-brightness ratio corresponding to each equal division area to be maximum when judging whether the display of the LED light panel to be detected is abnormal, namely, when one light panel area low-brightness ratio is larger than the upper limit value, the LED light panel to be detected is determined to be non-uniform in display, abnormal and the LED light panel to be detected needs to be returned to factories for improvement.
In addition, when the abnormal detection result is generated, the abnormal area is identified, so that the technician can quickly and accurately locate the abnormal part when the factory is returned for improvement, and the improvement time is shortened.
(3) If the first judging result is that the area low-brightness occupancy rate of all the lamp panels is smaller than the upper limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval and at least one lamp panel area low-brightness occupancy rate is larger than the lower limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval, determining the low-brightness area corresponding to each equal-division area and the equal-division area low-brightness occupancy rate of the equal-division area, traversing the equal-division area low-brightness occupancy rate, and judging the relation between the traversed current equal-division area low-brightness occupancy rate and the extreme value of the preset equal-division area low-brightness occupancy rate threshold value interval to obtain a second judging result; and after the traversing of the low brightness ratio of the equal division area is finished, generating a detection result of the LED lamp panel to be detected according to the second judgment result.
Specifically, if it is determined by the judgment that all the light panel area low-brightness ratios are smaller than the upper limit of the preset light panel area low-brightness ratio threshold value interval, but one or more light panel area low-brightness ratios are larger than the lower limit of the preset light panel area low-brightness ratio threshold value interval, in this case, the LED light panel to be detected may have abnormal conditions of uneven display or may be normal. In order to further ensure the accuracy of the detection result, it is necessary to determine that the value is within the preset light panel area low-brightness ratio threshold interval, that is, greater than the lower limit value and less than or equal to the upper limit value, and then generate the detection result of the LED light panel to be detected according to the obtained second determination result.
Correspondingly, the preset equal-area low-brightness ratio threshold interval is similar to the preset lamp panel area low-brightness ratio threshold interval, and the extreme values of the preset equal-area low-brightness ratio threshold interval comprise a lower limit value and an upper limit value. And, the lower limit value of the preset equal area low-brightness ratio threshold interval is specifically used for indicating that when the equal area low-brightness ratio corresponding to all equal areas is equal to or smaller than the lower limit value, the LED lamp panel to be detected still belongs to normal, and once the LED lamp panel exceeds the lower limit value, further judgment is needed.
Correspondingly, the upper limit value of the preset equal area low-brightness duty ratio threshold value interval indicates that once the equal area low-brightness duty ratio corresponding to the equal area is larger than the upper limit value, the LED lamp panel to be detected is considered to be abnormal.
Correspondingly, if the low-brightness duty ratios of the equal division areas corresponding to all the equal division areas are within the preset equal division area low-brightness duty ratio threshold value interval, the to-be-detected LED lamp panel may be normal, or an abnormality may exist, namely, further detection is needed.
That is, after comparing the bright-down ratio of the equal-divided area corresponding to each equal-divided area with the extreme value of the preset bright-down ratio threshold interval, the obtained judgment result may have three possibilities, namely: the low-brightness ratio of all the equally divided areas is smaller than the lower limit value of the preset equally divided area low-brightness ratio threshold interval, at least one equally divided area low-brightness ratio is larger than the upper limit value of the preset equally divided area low-brightness ratio threshold interval, all the equally divided area low-brightness ratio is smaller than the upper limit value of the preset equally divided area low-brightness ratio threshold interval, and at least one equally divided area low-brightness ratio is larger than the lower limit value of the preset equally divided area low-brightness ratio threshold interval.
In order to facilitate understanding of the above three determination results, the operation of generating the detection result of the LED lamp panel to be detected is specifically described below:
(3-1) if the second judgment result is that the low-brightness duty ratio of all the equal division areas is smaller than the lower limit value of the preset equal division area low-brightness duty ratio threshold value interval, generating a detection result that the LED lamp panel to be detected displays normally;
(3-2) if the second judgment result is that at least one equal division area low-brightness ratio is larger than the upper limit value of the preset equal division area low-brightness ratio threshold value interval, generating an LED lamp panel to be detected to display abnormality, and marking a detection result of the abnormal area;
and (3-3) if the second judgment result is that the low-brightness ratio of all the equal division areas is smaller than the upper limit value of the preset equal division area low-brightness ratio threshold value interval and at least one equal division area low-brightness ratio is larger than the lower limit value of the preset equal division area low-brightness ratio threshold value interval exists, judging whether the equal division area low-brightness ratio larger than the lower limit value of the preset equal division area low-brightness ratio threshold value interval meets a preset condition or not in an adjacent step mode, generating a detection result that the LED lamp panel to be detected displays normally when the preset condition is met, and generating a detection result that the LED lamp panel to be detected displays abnormally when the preset condition is not met and identifying an abnormal area.
Regarding the above-mentioned operation of judging whether the low-brightness ratio of the equal division area larger than the lower limit value of the threshold interval of the low-brightness ratio of the preset equal division area by adopting the adjacent step, specifically, the operation is as follows: calculating a first difference value of the low brightness ratio of the equal division area, which is larger than the lower limit value of the preset equal division area low brightness ratio threshold value interval, and the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the left side, and a second difference value of the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the right side; and then comparing the first difference value and the second difference value with the preset condition respectively.
Correspondingly, if the first difference value and the second difference value are determined to meet the preset condition through comparison, for example, the changes of the two difference values meet a certain rule, or are both greater than a certain threshold value, or are both smaller than a certain threshold value, the low-brightness ratio of the equal area which is greater than the lower limit value of the low-brightness ratio threshold interval of the preset equal area is considered to meet the preset condition, and then a normal detection result of the LED lamp panel to be detected can be generated; otherwise, the LED lamp panel to be detected can be generated to display abnormality, and the detection result of the abnormal area is marked.
It should be understood that the above is only a specific process for generating the detection result of the LED lamp panel to be detected, and the technical solution of the present invention is not limited in any way, and in practical application, those skilled in the art may set the detection result as required, which is not limited herein.
As is apparent from the above description, in the detection method for an LED lamp panel provided in this embodiment, when the LED lamp panel to be detected in the on state is detected, a target detection image corresponding to the LED lamp panel to be detected is obtained, a lamp panel area corresponding to the obtained target detection image is determined, and the target detection image is equally divided to obtain a plurality of equally divided areas, then, based on a visual algorithm, the low-brightness area corresponding to the low-brightness part in each equally divided area is calculated, the low-brightness ratio of the lamp panel area corresponding to the equally divided areas is determined according to the lamp panel area and each low-brightness area, then, a first determination result is obtained according to the relation between the low-brightness ratio of each lamp panel area and the extremum of the threshold interval of the preset lamp panel area low-brightness ratio, and finally, the detection result of the LED lamp panel to be detected is generated according to the first determination result.
Referring to fig. 3, fig. 3 is a flowchart of a second embodiment of a method for detecting an LED lamp panel according to the present invention.
It should be noted that, in practical application, the LED lamp panel to be detected is generally composed of a complete circuit board and a large number of LED lamps arranged in a matrix, so, in order to ensure that the target detection image for detection only includes the image information of the LED lamps, based on the first embodiment, the detection method of the LED lamp panel of the present embodiment provides a specific method for obtaining the target detection image corresponding to the LED lamp panel to be detected in the on state, which is shown in detail in 3 substeps included in step S10 in fig. 3:
and S101, collecting image information of the LED lamp panel to be detected in a lighting state, and taking the image information as an image to be detected.
Specifically, the image to be detected is an image including a circuit board forming the LED lamp panel to be detected and a large number of LED lamps arranged in a matrix.
And step S102, calculating the gray extreme value corresponding to the image to be detected.
Specifically, in practical application, the operation of calculating the gray extremum corresponding to the image to be detected can be realized based on a visual algorithm.
It should be understood that the above-mentioned gray scale extremum specifically includes a highest gray scale value and a lowest gray scale value.
In addition, the operation of calculating the gray-scale extremum of the image to be detected based on the vision algorithm is substantially obtained by performing gray-scale processing on the image to be detected by using a gray-scale processing method in an image processing method related to machine vision.
Regarding the procedure of gray-scale processing on the image to be detected, a person skilled in the art can refer to the related gray-scale processing scheme by himself, and the description thereof is omitted herein.
In addition, it should be noted that in practical application, in order to improve accuracy of a detection result as much as possible, before calculating a gray extremum corresponding to the image to be detected based on the visual algorithm, noise reduction processing may be further performed on the image to be detected, and then based on the visual algorithm, the gray extremum corresponding to the image to be detected after noise reduction is calculated, so as to reduce interference factors in the image to be detected, thereby improving accuracy of a capturing result and guaranteeing a final detection result.
Because the noise reduction processing scheme for the image is quite mature, a person skilled in the art can refer to the related data to realize when the noise reduction processing is performed on the image to be detected, and the description is omitted here.
And step S103, according to the gray level extreme value, image information only comprising the LED lamp is intercepted from the image to be detected, and a target detection image is obtained.
Specifically, in practical application, in order to improve the detection efficiency of the LED lamp panel to be detected as much as possible, it may be provided that the target detection image only shows two kinds of brightness, i.e. low brightness and high brightness, so as to facilitate subsequent detection.
In order to achieve the effect, the capturing submodule captures image information only including the LED lamp from the image to be detected according to the gray level extremum, and the target detection image is obtained by the following steps:
firstly, according to the gray extreme value, intercepting image information only containing an LED lamp from the image to be detected, and taking the intercepted image only containing the LED lamp as an initial detection image;
and then, based on a preset color filling rule, carrying out low-brightness or high-brightness filling on a brightness area corresponding to each LED lamp in the initial detection image to obtain the target detection image.
It should be noted that, in a specific implementation, in order to make the detection result for the LED lamp panel to be detected more accurate, when color filling is performed, different levels of expansion processing are further performed on color filling, so as to achieve the effect of simulating the diffusion plate.
Specifically, the process of performing the expansion processing of different levels on the color filling is approximately as follows:
the color having a relatively small diffusion range is filled in the portion having low luminance, and the color having a relatively large diffusion range is filled in the portion having high luminance.
It should be understood that the foregoing is only a specific implementation manner of obtaining the target detection image, and the technical solution of the present invention is not limited in any way, and in a specific application, those skilled in the art may set the implementation manner as required, and the present invention is not limited in this regard.
Through the above description, it is easy to find that, in the detection method of the LED lamp panel provided by the embodiment, before gray-scale calculation is performed on the image to be detected including both the LED lamp and the circuit board based on the visual algorithm, noise reduction treatment is performed on the image to be detected, so that interference factors in the image to be detected are effectively reduced, the accuracy of the initial detection image of the image which is cut from the image to be detected according to the calculated gray-scale extremum and only includes the LED lamp is ensured, and the accuracy of the final detection result is ensured.
In addition, according to the detection method of the LED lamp panel, the brightness area corresponding to each LED lamp in the initial detection image is subjected to low-brightness or high-brightness filling based on the preset color filling rule, so that the finally obtained target detection image only shows the brightness of low brightness and high brightness, the subsequent detection of the non-uniform display condition of the target detection image is greatly facilitated, and the detection efficiency of the LED lamp panel is further improved.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a detection program of the LED lamp panel, and the detection program of the LED lamp panel realizes the steps of the detection method of the LED lamp panel when being executed by a processor.
Referring to fig. 4, fig. 4 is a block diagram of a first embodiment of a detection device for an LED lamp panel according to the present invention.
As shown in fig. 4, the detection device for an LED lamp panel provided by the embodiment of the present invention includes: an acquisition module 4001, a division module 4002, a calculation module 4003, a determination module 4005, a detection module 4005, and a generation module 4006.
The acquisition module 4001 is configured to acquire a target detection image corresponding to an LED lamp panel to be detected in a lighting state; the segmentation module 4002 is used for equally dividing and cutting the target detection image to obtain a plurality of equally divided areas; a calculating module 4003, configured to calculate a low-light area corresponding to the low-light portion in each of the equally divided regions; a determining module 4005, configured to determine a light panel area corresponding to the target detection image, and determine a light panel area low-brightness duty ratio corresponding to each of the equally-divided areas according to the light panel area and a low-brightness area corresponding to each of the equally-divided areas; the detection module 4005 is configured to traverse the light panel area low-brightness ratio, determine a relationship between the traversed current light panel area low-brightness ratio and an extremum of a preset light panel area low-brightness ratio threshold interval, and obtain a first determination result; and the generating module 4006 is configured to generate a detection result of the LED lamp panel to be detected according to the first determination result after the traversal of the low-brightness duty ratio of the area of the lamp panel is finished.
It should be noted that, in practical application, the low-brightness portion mainly refers to a portion of the LED lamp with a light-emitting intensity lower than a preset brightness threshold.
Accordingly, the above-mentioned preset brightness threshold may be specifically determined by those skilled in the art according to the light emitting intensity interval of the LED lamps set on the LED lamp panel and the number of the LED lamps in practical application, which is not limited herein.
In addition, in order to facilitate understanding of the process of generating the detection result of the LED lamp panel to be detected by the generating module 4006, a specific implementation procedure is provided in this embodiment, which is generally as follows:
specifically, if the first judgment result is that the area low-brightness ratio of all the light panels is smaller than the lower limit value of the preset light panel area low-brightness ratio threshold value interval, generating a detection result that the LED light panels to be detected display normally;
if the first judging result is that at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result of the LED lamp panel to be detected in abnormal display and marking an abnormal area;
if the first judging result is that the area low-brightness occupancy rate of all the lamp panels is smaller than the upper limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval and at least one lamp panel area low-brightness occupancy rate is larger than the lower limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval, determining the low-brightness area corresponding to each equal-division area and the equal-division area low-brightness occupancy rate of the equal-division area, traversing the equal-division area low-brightness occupancy rate, and judging the relation between the traversed current equal-division area low-brightness occupancy rate and the extreme value of the preset equal-division area low-brightness occupancy rate threshold value interval to obtain a second judging result;
And after the traversing of the low brightness ratio of the equal division area is finished, generating a detection result of the LED lamp panel to be detected according to the second judgment result.
Accordingly, there are three situations regarding the manner of generating the detection result of the LED lamp panel to be detected according to the second determination result, which are approximately as follows:
specifically, if the second judgment result is that the low-brightness ratio of all the equal division areas is smaller than the lower limit value of the preset equal division area low-brightness ratio threshold value interval, generating a detection result that the LED lamp panel to be detected displays normally;
if the second judging result is that at least one equal area low-brightness ratio is larger than the upper limit value of the preset equal area low-brightness ratio threshold value interval, generating an LED lamp panel display abnormality to be detected, and marking a detection result of the abnormal area;
if the second judging result is that the low-brightness ratio of all the equally divided areas is smaller than the upper limit value of the preset equally divided area low-brightness ratio threshold value interval and at least one equally divided area low-brightness ratio is larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval, judging whether the equally divided area low-brightness ratio larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval meets the preset condition or not by adopting an adjacent step difference mode, generating a detection result that the LED lamp panel to be detected displays normally when the preset condition is met, generating a detection result that the LED lamp panel to be detected displays abnormally when the preset condition is not met, and marking the abnormal area.
Regarding the above-mentioned operation of judging whether the low-brightness ratio of the equal division area larger than the lower limit value of the preset equal division area low-brightness ratio threshold interval meets the preset condition by adopting the adjacent step difference mode, in practical application, the method can be specifically divided into the following two steps:
firstly, calculating a first difference value of the low brightness ratio of the equal division area, which is larger than the lower limit value of the preset equal division area low brightness ratio threshold value interval, and the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the left side, and a second difference value of the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the right side;
and then comparing the first difference value and the second difference value with the preset condition respectively.
It should be understood that the foregoing is only a specific implementation, and the technical solution of the present invention is not limited in any way, and in specific applications, those skilled in the art may set the implementation as needed, which is not limited by the present invention.
In addition, each module in the embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units which are not very close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but it does not indicate that other units are not present in the present embodiment.
As is apparent from the above description, in the detection device for an LED lamp panel provided in this embodiment, when the LED lamp panel to be detected in the on state is detected, a target detection image corresponding to the LED lamp panel to be detected is obtained, a lamp panel area corresponding to the obtained target detection image is determined, and the target detection image is equally divided to obtain a plurality of equally divided areas, then, the low-lighting area corresponding to the low-lighting part in each equally divided area is calculated based on a visual algorithm, the low-lighting ratio of the lamp panel area corresponding to the equally divided areas is determined according to the lamp panel area and each low-lighting area, then, a first determination result is obtained according to the relation between the low-lighting ratio of each lamp panel area and the extremum of the threshold interval of the preset lamp panel area low-lighting ratio, and finally, the detection result of the LED lamp panel to be detected is generated according to the first determination result.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the embodiment can be referred to the detection method of the LED lamp panel provided in any embodiment of the present invention, which is not described herein.
Based on the first embodiment of the detection device for the LED lamp panel, a second embodiment of the detection device for the LED lamp panel is provided.
It should be noted that, in practical application, the LED lamp panel to be detected is generally composed of a complete circuit board and a large number of LED lamps arranged in a matrix, so in order to ensure that the target detection image for detection only includes the image information of the LED lamps, the acquisition module is thinned in this embodiment.
Specifically, in this embodiment, the acquiring module may be mainly divided into an image acquisition sub-module, a gray-scale calculation sub-module, and a clipping sub-module.
The image acquisition sub-module is used for acquiring image information of the LED lamp panel to be detected in a lighting state and taking the image information as an image to be detected; the gray level calculation sub-module is used for calculating a gray level extremum corresponding to the image to be detected; and the intercepting sub-module is used for intercepting the image information only comprising the LED lamp from the image to be detected according to the gray level extreme value to obtain a target detection image.
It should be understood that the image to be detected includes both a circuit board and an LED lamp.
In addition, it is worth mentioning that, in order to promote the detection efficiency of treating the detection LED lamp plate as far as possible, can set up that the target detection image only shows two kinds of luminance of low bright luminance and high bright luminance, and then be convenient for follow-up detection.
In order to achieve the effect, the capturing submodule captures image information only including the LED lamp from the image to be detected according to the gray extremum, and in the process of obtaining the target detection image, the capturing submodule specifically can be implemented by the following operations:
firstly, according to the gray extreme value, intercepting image information only containing an LED lamp from the image to be detected, and taking the intercepted image only containing the LED lamp as an initial detection image;
and then, based on a preset color filling rule, carrying out low-brightness or high-brightness filling on a brightness area corresponding to each LED lamp in the initial detection image to obtain the target detection image.
In addition, it should be noted that, in a specific implementation, in order to make the detection result for the LED lamp panel to be detected more accurate, when color filling is performed, different levels of expansion processing are further performed on the color filling, so as to achieve the effect of simulating the diffusion plate.
Specifically, the process of performing the expansion processing of different levels on the color filling is approximately as follows:
the color having a relatively small diffusion range is filled in the portion having low luminance, and the color having a relatively large diffusion range is filled in the portion having high luminance.
Further, in order to improve accuracy of the detection result, the gray scale calculation sub-module may further perform noise reduction processing on the image to be detected before calculating the gray scale extremum corresponding to the image to be detected, and then calculate the gray scale extremum corresponding to the image to be detected after noise reduction, so as to reduce interference factors in the image to be detected, thereby improving accuracy of the interception result and ensuring a final detection result.
It should be understood that the foregoing is only a specific implementation, and the technical solution of the present invention is not limited in any way, and in specific applications, those skilled in the art may set the implementation as needed, which is not limited by the present invention.
In addition, each module in the embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units which are not very close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but it does not indicate that other units are not present in the present embodiment.
Through the above description, it is easy to find that, in the detection device for the LED lamp panel provided in this embodiment, before gray level calculation is performed on the image to be detected including both the LED lamp and the circuit board based on the visual algorithm, noise reduction treatment is performed on the image to be detected, so that interference factors in the image to be detected are effectively reduced, and accuracy of an initial detection image of an image which is cut from the image to be detected according to the calculated gray level extremum and only includes the LED lamp is ensured, thereby ensuring accuracy of a final detection result.
In addition, according to the detection device for the LED lamp panel, the brightness area corresponding to each LED lamp in the initial detection image is subjected to low-brightness or high-brightness filling based on the preset color filling rule, so that the finally obtained target detection image only shows the brightness of low brightness and high brightness, the follow-up detection of the uneven display condition of the target detection image is greatly facilitated, and the detection efficiency of the LED lamp panel is further improved.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the embodiment can be referred to the detection method of the LED lamp panel provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. The detection method of the LED lamp panel is characterized by comprising the following steps of:
acquiring a target detection image corresponding to an LED lamp panel to be detected in a lighting state;
equally dividing and cutting the target detection image to obtain a plurality of equally divided areas;
calculating a low-brightness area corresponding to a low-brightness part in each equal-brightness area, wherein the low-brightness part is a part of the LED lamp with luminous intensity lower than a preset brightness threshold value;
determining the area of the lamp panel corresponding to the target detection image, and determining the low-brightness occupation ratio of the area of the lamp panel corresponding to each equal area according to the area of the lamp panel and the low-brightness area corresponding to each equal area;
traversing the low-brightness ratio of the area of the lamp panel, judging the relation between the traversed low-brightness ratio of the area of the current lamp panel and the extreme value of the threshold value interval of the preset low-brightness ratio of the area of the lamp panel, and obtaining a first judging result;
After the traversing of the light panel area with the low lighting ratio is finished, generating a detection result of the LED light panel to be detected according to the first judgment result;
the step of generating the detection result of the LED lamp panel to be detected according to the first judgment result comprises the following steps:
if the first judging result is that the area low-brightness ratio of all the lamp panels is smaller than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result that the LED lamp panels to be detected display normally;
if the first judging result is that at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result of the LED lamp panel to be detected in abnormal display and marking an abnormal area;
if the first judging result is that the area low-brightness occupancy rate of all the lamp panels is smaller than the upper limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval and at least one lamp panel area low-brightness occupancy rate is larger than the lower limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval, determining the low-brightness area corresponding to each equal-division area and the equal-division area low-brightness occupancy rate of the equal-division area, traversing the equal-division area low-brightness occupancy rate, and judging the relation between the traversed current equal-division area low-brightness occupancy rate and the extreme value of the preset equal-division area low-brightness occupancy rate threshold value interval to obtain a second judging result;
After the traversing of the low brightness ratio of the equal division area is finished, generating a detection result of the LED lamp panel to be detected according to the second judgment result;
the step of generating the detection result of the to-be-detected LED lamp panel according to the second judgment result comprises the following steps:
if the second judgment result is that the low-brightness occupancy rate of all the equal division areas is smaller than the lower limit value of the preset equal division area low-brightness occupancy rate threshold value interval, generating a detection result that the LED lamp panel to be detected displays normally;
if the second judging result is that at least one equal area low-brightness ratio is larger than the upper limit value of the preset equal area low-brightness ratio threshold value interval, generating an LED lamp panel display abnormality to be detected, and marking a detection result of the abnormal area;
if the second judging result is that the low-brightness ratio of all the equally divided areas is smaller than the upper limit value of the preset equally divided area low-brightness ratio threshold value interval and at least one equally divided area low-brightness ratio is larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval, judging whether the equally divided area low-brightness ratio larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval meets the preset condition or not by adopting an adjacent step difference mode, generating a detection result that the LED lamp panel to be detected displays normally when the preset condition is met, generating a detection result that the LED lamp panel to be detected displays abnormally when the preset condition is not met, and marking the abnormal area.
2. The method of claim 1, wherein the step of obtaining the target detection image corresponding to the LED lamp panel to be detected in the on state comprises:
collecting image information of the LED lamp panel to be detected in a lighting state, and taking the image information as an image to be detected;
calculating a gray extreme value corresponding to the image to be detected;
and according to the gray extreme value, image information only comprising the LED lamp is intercepted from the image to be detected, and a target detection image is obtained.
3. The method according to claim 2, wherein the step of capturing image information only including LED lamps from the image to be detected according to the gray level extremum to obtain the target detection image includes:
according to the gray level extreme value, image information only containing the LED lamp is intercepted from the image to be detected, and the intercepted image only containing the LED lamp is used as an initial detection image;
and based on a preset color filling rule, carrying out low-brightness or high-brightness filling on a brightness area corresponding to each LED lamp in the initial detection image to obtain the target detection image.
4. The method of claim 2, wherein prior to the step of calculating the corresponding gray extremum for the image to be detected, the method further comprises:
Carrying out noise reduction treatment on the image to be detected;
correspondingly, the step of calculating the gray extreme value corresponding to the image to be detected comprises the following steps:
and calculating the gray extreme value corresponding to the image to be detected after noise reduction.
5. The method as set forth in claim 1, wherein the step of determining whether the equally divided area low light duty ratio greater than the lower limit value of the preset equally divided area low light duty ratio threshold interval satisfies a preset condition by using an adjacent step difference method includes:
calculating a first difference value of the low brightness ratio of the equal division area, which is larger than the lower limit value of the preset equal division area low brightness ratio threshold value interval, and the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the left side, and a second difference value of the low brightness ratio of the equal division area, which corresponds to the adjacent equal division area on the right side;
and comparing the first difference value and the second difference value with the preset condition respectively.
6. A detection device for an LED lamp panel, the device comprising:
the acquisition module is used for acquiring a target detection image corresponding to the LED lamp panel to be detected in the lighting state;
the segmentation module is used for equally dividing and cutting the target detection image to obtain a plurality of equally divided areas;
The calculation module is used for calculating the low-brightness area corresponding to the low-brightness part in each equal-division area, wherein the low-brightness part is a part of the LED lamp with the luminous intensity lower than a preset brightness threshold value;
the determining module is used for determining the area of the lamp panel corresponding to the target detection image and determining the low-brightness duty ratio of the area of the lamp panel corresponding to each equal division area according to the area of the lamp panel and the low-brightness area corresponding to each equal division area;
the detection module is used for traversing the area low-brightness duty ratio of the lamp panel, judging the relation between the traversed area low-brightness duty ratio of the current lamp panel and the extreme value of the preset area low-brightness duty ratio threshold interval, and obtaining a first judgment result;
the generating module is used for generating a detection result of the LED lamp panel to be detected according to the first judgment result after the traversal of the area low-brightness duty ratio of the lamp panel is finished; the step of generating the detection result of the LED lamp panel to be detected according to the first judgment result comprises the following steps: if the first judging result is that the area low-brightness ratio of all the lamp panels is smaller than the lower limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result that the LED lamp panels to be detected display normally; if the first judging result is that at least one lamp panel area low-brightness ratio is larger than the upper limit value of the preset lamp panel area low-brightness ratio threshold value interval, generating a detection result of the LED lamp panel to be detected in abnormal display and marking an abnormal area; if the first judging result is that the area low-brightness occupancy rate of all the lamp panels is smaller than the upper limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval and at least one lamp panel area low-brightness occupancy rate is larger than the lower limit value of the preset lamp panel area low-brightness occupancy rate threshold value interval, determining the low-brightness area corresponding to each equal-division area and the equal-division area low-brightness occupancy rate of the equal-division area, traversing the equal-division area low-brightness occupancy rate, and judging the relation between the traversed current equal-division area low-brightness occupancy rate and the extreme value of the preset equal-division area low-brightness occupancy rate threshold value interval to obtain a second judging result; after the traversing of the low brightness ratio of the equal division area is finished, generating a detection result of the LED lamp panel to be detected according to the second judgment result;
The step of generating the detection result of the to-be-detected LED lamp panel according to the second judgment result comprises the following steps: if the second judgment result is that the low-brightness occupancy rate of all the equal division areas is smaller than the lower limit value of the preset equal division area low-brightness occupancy rate threshold value interval, generating a detection result that the LED lamp panel to be detected displays normally; if the second judging result is that at least one equal area low-brightness ratio is larger than the upper limit value of the preset equal area low-brightness ratio threshold value interval, generating an LED lamp panel display abnormality to be detected, and marking a detection result of the abnormal area; if the second judging result is that the low-brightness ratio of all the equally divided areas is smaller than the upper limit value of the preset equally divided area low-brightness ratio threshold value interval and at least one equally divided area low-brightness ratio is larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval, judging whether the equally divided area low-brightness ratio larger than the lower limit value of the preset equally divided area low-brightness ratio threshold value interval meets the preset condition or not by adopting an adjacent step difference mode, generating a detection result that the LED lamp panel to be detected displays normally when the preset condition is met, generating a detection result that the LED lamp panel to be detected displays abnormally when the preset condition is not met, and marking the abnormal area.
7. A detection device for an LED light panel, the device comprising: a memory, a processor and a detection program of an LED lamp panel stored on the memory and operable on the processor, the detection program of the LED lamp panel being configured to implement the steps of the detection method of an LED lamp panel according to any one of claims 1 to 5.
8. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a detection program of an LED lamp panel, the detection program of the LED lamp panel implementing the steps of the detection method of an LED lamp panel according to any one of claims 1 to 5 when executed by a processor.
CN201910699808.6A 2019-07-30 2019-07-30 Detection method, device and equipment for LED lamp panel and storage medium Active CN111145138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910699808.6A CN111145138B (en) 2019-07-30 2019-07-30 Detection method, device and equipment for LED lamp panel and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910699808.6A CN111145138B (en) 2019-07-30 2019-07-30 Detection method, device and equipment for LED lamp panel and storage medium

Publications (2)

Publication Number Publication Date
CN111145138A CN111145138A (en) 2020-05-12
CN111145138B true CN111145138B (en) 2023-06-23

Family

ID=70516739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910699808.6A Active CN111145138B (en) 2019-07-30 2019-07-30 Detection method, device and equipment for LED lamp panel and storage medium

Country Status (1)

Country Link
CN (1) CN111145138B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113714137B (en) * 2021-08-26 2023-03-03 深圳市中科创激光技术有限公司 Lamp bead selection method, device, equipment and storage medium
CN114279683A (en) * 2021-11-22 2022-04-05 浙江大华技术股份有限公司 Automatic detection platform for display screen, method thereof and LED display screen
CN114501287A (en) * 2022-01-25 2022-05-13 歌尔科技有限公司 Method, device and system for detecting working state of electronic equipment
CN117454096B (en) * 2023-12-25 2024-03-01 西安高商智能科技有限责任公司 Motor production quality detection method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105241638A (en) * 2015-09-09 2016-01-13 重庆平伟光电科技有限公司 Vision-based quick LED module brightness uniformity detection method
CN109788206A (en) * 2019-01-28 2019-05-21 上海与德通讯技术有限公司 Light measuring method, device, capture apparatus and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8773577B2 (en) * 2010-10-27 2014-07-08 Qualcomm Incorporated Region of interest extraction
US20130050653A1 (en) * 2011-08-23 2013-02-28 Stanley Electric Co., Ltd. Led array capable of reducing uneven brightness distribution
DE102013226652A1 (en) * 2013-12-19 2015-06-25 Osram Gmbh Operating a lighting device with multiple light generating devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105241638A (en) * 2015-09-09 2016-01-13 重庆平伟光电科技有限公司 Vision-based quick LED module brightness uniformity detection method
CN109788206A (en) * 2019-01-28 2019-05-21 上海与德通讯技术有限公司 Light measuring method, device, capture apparatus and storage medium

Also Published As

Publication number Publication date
CN111145138A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN111145138B (en) Detection method, device and equipment for LED lamp panel and storage medium
CN108683907B (en) Optical module pixel defect detection method, device and equipment
CN106097361B (en) Defect area detection method and device
CN110009607B (en) Display screen dead pixel detection method and device, computer equipment and storage medium
CN111246204A (en) Relative brightness deviation-based dirt detection method and device
CN110335273B (en) Detection method, detection device, electronic apparatus, and medium
CN108801601B (en) Method and equipment for testing stray light noise of Fresnel lens and storage medium
CN110831276B (en) LED-based lamplight brightness control method and related device
CN111261079A (en) Detection method for abnormal phenomena of bright spots and dark spots
CN109791089A (en) Check device, inspection method and program
CN113191988B (en) Brightness correction method and device, storage medium and electronic device
CN110398344B (en) Method, device and equipment for detecting backlight lamp panel of display equipment and storage medium
CN112070762A (en) Mura defect detection method and device for liquid crystal panel, storage medium and terminal
US10520424B2 (en) Adaptive method for a light source for inspecting an article
CN113554965A (en) Bad point processing method and device of display screen and control equipment of display screen
CN113920057A (en) Method, device and system for identifying color of product indicator light
CN109493830B (en) Adjusting method and adjusting system of display panel and display device
CN109596317B (en) Detection method and device for panel lamp
CN115311167B (en) Color gamut control method, device and equipment based on multicolor light and storage medium
CN115297267B (en) Method and device for calibrating exposure time of image acquisition module
CN113630594B (en) Bad point detection system of display panel
CN115564726A (en) Detection method and device for LED light-emitting device, electronic equipment and storage medium
CN111928944B (en) Laser ray detection method, device and system
CN114359166A (en) Screen color detection method, device, equipment and storage medium
CN107830930B (en) Test method and test equipment for batch white backlight parts

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant