CN106780521B - Screen light leakage detection method, system and device - Google Patents

Screen light leakage detection method, system and device Download PDF

Info

Publication number
CN106780521B
CN106780521B CN201611124086.4A CN201611124086A CN106780521B CN 106780521 B CN106780521 B CN 106780521B CN 201611124086 A CN201611124086 A CN 201611124086A CN 106780521 B CN106780521 B CN 106780521B
Authority
CN
China
Prior art keywords
screen
value
preset
image
color gray
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
CN201611124086.4A
Other languages
Chinese (zh)
Other versions
CN106780521A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201611124086.4A priority Critical patent/CN106780521B/en
Publication of CN106780521A publication Critical patent/CN106780521A/en
Application granted granted Critical
Publication of CN106780521B publication Critical patent/CN106780521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N2017/008Diagnosis, testing or measuring for television systems or their details for television teletext

Abstract

The invention relates to a detection method, a system and a device for a screen light leakage detection system, which are used for acquiring a screen image of a black picture displayed on a screen of electronic equipment, determining an edge area in the screen image, acquiring a color gray value of each pixel point in the edge area, calculating the number of target pixel points of which the color gray values are greater than a preset color gray value allowable value, and judging whether the screen has light leakage or not according to the number of the target pixel points and the preset number. The process can be controlled and completed through a computer, automatic detection is achieved, detection efficiency is high, the standard of screen light leakage is judged objectively and consistently at every time, manual judgment is not needed, and accuracy and stability of screen light leakage detection can be improved.

Description

Screen light leakage detection method, system and device
Technical Field
The invention relates to the technical field of electronic equipment detection, in particular to a method, a system and a device for detecting screen light leakage.
Background
For an electronic device with a display screen, before the electronic device is used, various indexes need to be detected on a screen picture, including detection of screen light leakage. Taking a tv as an example, the tv needs to detect the screen light leakage before using the tv.
In the conventional technology, the screen light leakage detection usually displays a black picture on a screen of an electronic device, and a detector observes the display effect of the edge of the screen of the electronic device through naked eyes to determine whether the screen leaks light according to the observation result, so that the accuracy is low. Taking the detection of the light leakage of the television screen as an example, after a black picture is displayed on the television screen, a detector observes whether a facula phenomenon exists at the edge of the television screen, and if so, determines the light leakage of the television screen. By adopting the method to detect the screen light leakage, the observation results at different moments are possibly different, so that the technical indexes for judging whether the screen leaks light are not completely consistent, and the accuracy of the screen light leakage detection is influenced.
Disclosure of Invention
Therefore, it is necessary to provide a method, a system and a device for detecting screen leakage, which aim at the problem that the conventional screen leakage detection method has low accuracy.
A method for detecting screen light leakage comprises the following steps:
acquiring a screen image for displaying a black picture on a screen of the electronic equipment;
determining an edge area in the screen image, wherein the edge area is a screen image area with a distance less than or equal to a preset distance from the boundary of the screen image;
acquiring the color gray value of each pixel point in the edge area, and calculating the number of target pixel points with the color gray value larger than a preset color gray allowable value;
and if the number of the target pixel points is larger than the preset number, judging that the screen leaks light.
A system for detecting screen light leakage, comprising:
an image acquisition unit configured to acquire a screen image on which a black picture is displayed on a screen of an electronic device;
the edge determining unit is used for determining an edge area in the screen image, wherein the edge area is a screen image area with a distance smaller than or equal to a preset distance from the boundary of the screen image;
the gray level obtaining unit is used for obtaining the color gray level value of each pixel point in the edge area;
the pixel point calculating unit is used for calculating the number of target pixel points with the color gray values larger than the preset color gray value allowable value;
and the judging unit is used for judging screen light leakage when the number of the target pixel points is greater than the preset number.
A screen light leakage detection device comprises an upper computer, a shooting device and a remote control transmitting device;
the remote control transmitting device is used for remotely controlling the electronic equipment, and the shooting device is used for shooting a screen display picture of the electronic equipment; the electronic equipment comprises a remote control receiving device;
the upper computer drives the remote control transmitting device to send a remote control signal to the electronic equipment, and the electronic equipment displays a black picture on a screen after receiving the remote control signal;
the upper computer acquires a screen image of a black picture displayed on a screen of the electronic equipment through the shooting device;
the upper computer determines an edge area in the screen image, wherein the edge area is a screen image area with a distance smaller than or equal to a preset distance from the boundary of the screen image;
the upper computer obtains the color gray value of each pixel point in the edge area, and calculates the number of target pixel points with the color gray value larger than a preset color gray value allowable value; and if the number of the target pixel points is larger than the preset number, judging that the screen leaks light.
According to the detection method, the detection system and the detection device for the screen light leakage, a screen image of a black picture displayed on a screen of the electronic equipment is obtained, an edge area in the screen image is determined, the color gray value of each pixel point in the edge area is obtained, the number of target pixel points with the color gray values larger than a preset color gray allowed value is calculated, and whether the screen is light leaked or not is judged according to the number of the target pixel points and the preset number. The process can be controlled and completed through a computer, automatic detection is achieved, detection efficiency is high, the standard of screen light leakage is judged objectively and consistently at every time, manual judgment is not needed, and accuracy and stability of screen light leakage detection can be improved.
Drawings
FIG. 1 is a flow chart of a method for detecting screen leakage in one embodiment;
FIG. 2 is a schematic diagram of a system for detecting screen leakage in one embodiment;
FIG. 3 is a schematic diagram of a system for detecting screen leakage in one embodiment;
FIG. 4 is a schematic diagram of a system for detecting screen leakage in one embodiment;
FIG. 5 is a schematic diagram of a structure of a device for detecting screen leakage light in one embodiment;
FIG. 6 is a schematic diagram of a structure of a device for detecting screen leakage light in one embodiment;
FIG. 7 is a schematic diagram of a structure of a device for detecting screen leakage light in one embodiment;
FIG. 8 is a schematic diagram of a structure of a device for detecting screen leakage light in one embodiment;
FIG. 9 is a schematic diagram illustrating the connection of the apparatus for detecting the leakage of light from the TV screen according to one embodiment;
FIG. 10 is a diagram of an actual apparatus for detecting the leakage of light from the screen of a TV set according to one embodiment;
FIG. 11 is a flowchart illustrating a method for detecting screen leakage in a television set according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, a flow chart of the method for detecting screen light leakage of the present invention is shown. The method for detecting screen leakage light in the embodiment includes the following steps:
step S101: acquiring a screen image for displaying a black picture on a screen of the electronic equipment;
in this step, in order to better judge whether the screen leaks light, a black picture can be displayed on the screen as a reverse contrast;
step S102: determining an edge area in the screen image, wherein the edge area is a screen image area with a distance less than or equal to a preset distance from the boundary of the screen image;
in this step, since the light leakage area of the screen is mainly concentrated on the edge of the screen, the edge area of the screen image can be detected, and the preset distance can be adjusted according to actual needs;
step S103: acquiring the color gray value of each pixel point in the edge area, and calculating the number of target pixel points with the color gray value larger than a preset color gray allowable value;
step S104: and if the number of the target pixel points is larger than the preset number, judging that the screen leaks light.
In this step, the gray value of the color of the pixel points in the area where the light leaks from the screen is higher than the gray value of the color of the pixel points in the area where the light does not leak, the number of target pixel points whose gray value of the color is greater than the preset gray value of the color can be used to determine whether the screen leaks light, and when the number of the target pixel points is greater than the preset number, it indicates that the number of the pixel points leaking light is large enough to determine the screen leaks light. The preset number can be adjusted according to actual needs.
In this embodiment, a screen image displaying a black image on a screen of an electronic device is obtained, an edge region in the screen image is determined, a color gray value of each pixel point in the edge region is obtained, the number of target pixel points whose color gray values are greater than a preset color gray allowed value is calculated, and whether the screen leaks light is determined according to the number of the target pixel points and the preset number. The process can be controlled and completed through a computer, automatic detection is achieved, detection efficiency is high, the standard of screen light leakage is judged objectively and consistently at every time, manual judgment is not needed, and accuracy and stability of screen light leakage detection can be improved.
Optionally, before the screen image of the black picture displayed on the screen of the electronic device is acquired, the electronic device may be controlled by the remote control device to display the black picture, so that the electronic device only displays the black picture before the screen image is acquired, thereby saving energy consumption;
optionally, the screen display of the electronic device may be adjusted by an infrared emission device, which belongs to a remote control device, and may not be connected to the electronic device, thereby simplifying the preparation steps before detection. The remote control device can also be a wireless remote control device such as a Bluetooth remote control device, a WIFI remote control device and the like.
In one embodiment, the method for detecting screen leakage further includes the steps of:
if the number of the target pixel points is less than or equal to the preset number, respectively calculating the difference value between the color gray value and the color gray allowable value of each target pixel point, and calculating a first average value of each difference value according to each difference value;
and if the first average value is larger than a first preset value, judging that the screen leaks light.
In this embodiment, when the number of the target pixel points is less than or equal to the preset number, if the average value of the difference between the color gray value and the color gray tolerance of each target pixel point is greater than the first preset value, it indicates that although the number of the target pixel points does not reach the preset number for determining the screen light leakage, the color gray value of some pixel points is already far greater than the color gray tolerance, the screen light leakage can also be determined at this time, and thus, a situation that a few pixel points are far greater than the color gray tolerance is covered during detection, so that the detection of the screen light leakage is more accurate. The first preset value can be adjusted according to actual needs.
In one embodiment, the method for detecting screen leakage further includes the steps of:
if the number of the target pixel points is less than or equal to the preset number, calculating a second average value of the color gray value of each target pixel point;
and if the second average value is larger than a second preset value, judging that the screen leaks light.
In this embodiment, when the number of the target pixel points is less than or equal to the preset number, if the average value of the color gray values of each target pixel point is greater than the second preset value, it indicates that although the number of the target pixel points does not reach the preset number for determining the screen light leakage, the color gray values of some of the target pixel points are already far greater than the color gray allowable value, and the average value of the color gray values of each target pixel point already exceeds the second preset value, that is, the average allowable value, at this moment, the screen light leakage can also be determined, so that a situation that the average value of the color gray values of each target pixel point already exceeds the average allowable value due to that a few pixel points are far greater than the color gray allowable value is covered during detection. The second preset value can be adjusted according to actual needs.
In one embodiment, the method for detecting screen leakage further includes the steps of:
if the first average value is smaller than or equal to a first preset value, acquiring the color gray values of all pixel points of the screen image, and calculating a third average value of the color gray values of all the pixel points;
and if the third average value is less than or equal to a third preset value, judging that the black picture displayed on the screen is normal.
In this embodiment, the first average value is less than or equal to the first preset value, which indicates that the average value of the color gray values of the target pixel points does not exceed the average value allowable value, at this time, the color gray values of the whole screen image, that is, the third average value of the color gray values of all the pixel points of the screen image, need to be considered, and when the third average value is less than or equal to the third preset value, it may be determined that the black image displayed on the screen is normal. Under the condition that the screen does not leak light, whether the screen is normal when displaying the black picture can be judged by comparing the third average value with the third preset value, and the display effect of displaying the black picture by the screen can be judged more comprehensively. The third preset value can be adjusted according to actual needs.
Optionally, when the third average value is greater than the third preset value, it is determined that the screen displays the black picture abnormally. Although insufficient to determine screen light leakage, it can be determined that the screen display black image is not normal, which indicates that improvement of the screen display of the electronic device is still required.
In one embodiment, the step of acquiring a screen image displaying a black picture on a screen of the electronic device comprises the steps of:
shooting an electronic equipment screen displaying a black picture to obtain a first shot image, positioning an area where the black picture is located in the first shot image, and capturing the image of the area as a screen image.
In the embodiment, the screen image is acquired by adopting a shooting mode, so that the connection operation with the electronic equipment can be avoided, and the detection step is simplified; since the black frame may not occupy the entire first captured image during capturing, and the image area in the first captured image other than the black frame has no meaning for detecting the screen light leakage, the area where the black frame is located needs to be located in the first captured image.
In one embodiment, the step of acquiring the screen image of the black picture displayed on the screen of the electronic device further comprises the following steps before:
shooting an electronic equipment screen displaying a white picture to obtain a second shot image, and recording boundary coordinates of the white picture in the second shot image;
the step of shooting the screen of the electronic equipment displaying the black picture comprises the following steps:
shooting the electronic equipment screen displaying a black picture at the same shooting position when shooting the electronic equipment screen displaying a white picture; wherein, the electronic equipment is positioned in the shading device;
the step of locating the area where the black picture is located in the first captured image includes the steps of:
and positioning the area where the black picture is located in the first shot image according to the boundary coordinates.
In this embodiment, since the screen of the electronic device is self-luminous, the external light source may have a certain influence on the display of the screen and may also have a certain influence on the acquisition of the screen image, so that the electronic device may be placed in the light shielding device, and then the screen image acquisition may be performed on the electronic device in the light shielding device, thereby eliminating the influence of the external light source and improving the accuracy of the screen light leakage detection. Because the background in the shading device is black, the specific position of the black picture in the first shot image cannot be determined after the black picture displayed on the screen is shot, the electronic equipment screen displaying the white picture can be shot at the same shooting position before the screen image displaying the black picture on the screen of the electronic equipment is obtained, the second shot image is obtained, the white picture is compared with the black background of the shading device, the boundary coordinate of the white picture in the second shot image can be recorded, the boundary coordinate of the black picture in the first shot image can be determined, and therefore the area where the black picture is located in the first shot image can be located.
Optionally, the electronic device may store pictures corresponding to the black picture and the white picture, or may read the pictures by moving the storage device, for example, inserting a usb disk into the electronic device, reading the pictures in the usb disk, and displaying the black picture or the white picture on the screen.
According to the method for detecting screen light leakage, the invention also provides a system for detecting screen light leakage, and embodiments of the system for detecting screen light leakage are explained in detail below.
Fig. 2 is a schematic structural diagram of a system for detecting screen light leakage according to the present invention. The detection system of screen leakage light in this embodiment includes the following units:
an image acquisition unit 210 for acquiring a screen image on which a black picture is displayed on a screen of the electronic apparatus;
an edge determining unit 220, configured to determine an edge region in the screen image, where the edge region is a screen image region whose distance from a boundary of the screen image is less than or equal to a preset distance;
a gray level obtaining unit 230, configured to obtain a color gray level value of each pixel point in the edge region;
a pixel point calculating unit 240, configured to calculate the number of target pixel points with a color gray value greater than a preset color gray allowed value;
and a determining unit 250, configured to determine screen light leakage when the number of target pixel points is greater than a preset number.
In one embodiment, as shown in fig. 3, the system for detecting screen leakage further includes an average value calculating unit 260;
the average value calculating unit 260 is configured to calculate difference values between the color gray value and the color gray allowable value of each target pixel point respectively when the number of the target pixel points is less than or equal to the preset number, and calculate a first average value of each difference value according to each difference value;
the determining unit 250 is configured to determine screen light leakage when the first average value is greater than a first preset value.
In one embodiment, the average value calculating unit 260 is configured to calculate a second average value of the color gray values of the target pixels when the number of the target pixels is less than or equal to the preset number;
the determining unit 250 is configured to determine screen light leakage when the second average value is greater than a second preset value.
In one embodiment, as shown in fig. 4, the gray level obtaining unit 230 is configured to obtain the gray level values of all the pixels of the screen image when the first average value is less than or equal to the first preset value;
the average value calculating unit 260 is configured to calculate a third average value of the color gray values of all the pixel points;
the determining unit 250 is configured to determine that the black image displayed on the screen is normal when the third average value is less than or equal to a third preset value.
In one embodiment, the image obtaining unit 210 is configured to capture a screen of the electronic device, obtain a first captured image, locate an area where the black frame is located in the first captured image, and capture an image of the area as a screen image.
In one embodiment, the image obtaining unit 210 is further configured to shoot a screen of the electronic device displaying a white picture, obtain a second shot image, and record boundary coordinates of the white picture in the second shot image;
the image acquisition unit 210 captures an electronic device screen displaying a black picture at the same capture position when capturing the electronic device screen displaying a white picture; wherein, the electronic equipment is positioned in the shading device;
the image acquisition unit 210 positions the area where the black screen is located in the first captured image according to the boundary coordinates.
The screen light leakage detection system and the screen light leakage detection method are in one-to-one correspondence, and the technical characteristics and the beneficial effects described in the embodiment of the screen light leakage detection method are all suitable for the embodiment of the screen light leakage detection system.
According to the method for detecting screen light leakage, the invention also provides a device for detecting screen light leakage, and embodiments of the device for detecting screen light leakage are explained in detail below.
Fig. 5 is a schematic structural diagram of the device for detecting screen light leakage according to the present invention. The detection device for screen light leakage in the embodiment comprises an upper computer 310, a shooting device 320 and a remote control transmitting device 330;
the remote control transmitting device 330 is used for remotely controlling the electronic equipment, and the shooting device 320 is used for shooting a screen display picture of the electronic equipment; the electronic equipment comprises a remote control receiving device;
the upper computer 310 drives the remote control transmitting device 330 to send a remote control signal to the electronic equipment, and the electronic equipment displays a black picture on a screen after receiving the remote control signal;
the upper computer 310 acquires a screen image of a black picture displayed on a screen of the electronic equipment through the shooting device 320;
the upper computer 310 determines an edge area in the screen image, wherein the edge area is a screen image area with a distance from the boundary of the screen image being smaller than or equal to a preset distance;
the upper computer 310 obtains the color gray value of each pixel point in the edge area, and calculates the number of target pixel points with the color gray value larger than a preset color gray allowable value; and if the number of the target pixel points is larger than the preset number, judging that the screen leaks light.
In this embodiment, the apparatus for detecting screen light leakage includes an upper computer 310, a camera 320 and a remote control transmitter 330; the host computer 310 is connected with the shooting device 320, the host computer 310 is also connected with the remote control transmitting device 330, the host computer 310 is a computer capable of directly sending commands, and the working principle of the detection equipment for screen light leakage is as follows: the upper computer 310 sends a first control signal to the remote control transmitting device 330, and the remote control transmitting device 330 sends a remote control signal to the electronic equipment after receiving the first control signal; the electronic equipment displays a black picture on a screen of the electronic equipment after receiving the remote control signal, the upper computer 310 sends a second control signal to the shooting device 320, and the shooting device 320 shoots a screen image of the black picture displayed on the screen of the electronic equipment after receiving the second control signal and sends the screen image to the upper computer 310; the upper computer 310 detects the screen image after receiving the screen image, and judges whether the screen of the electronic device leaks light. When the check out test set of screen light leak is being used, acquire electronic equipment's screen image through shooting device 320, can remove the operation process of being connected with electronic equipment from, simplify the detection step, utilize host computer 310 to carry out the analysis to the screen image who acquires, realize automated inspection, judge whether the automated inspection process of screen light leak is consuming time weak, can improve the detection efficiency to electronic equipment screen light leak, and judge the standard objective unanimity of screen light leak at every turn, need not to rely on artifical judgement, can improve the accuracy and the stability that screen light leak detected.
In one embodiment, as shown in fig. 6, the device for detecting screen light leakage further includes an alarm device 340 connected to the upper computer 310;
when the upper computer 310 determines that the screen is in light leakage, the alarm device 340 is used for receiving the alarm signal output by the upper computer 310 and giving an alarm prompt.
In this embodiment, when the upper computer 310 detects the screen light leakage of the electronic device, the upper computer 310 may send an alarm signal to the alarm device 340, and the alarm device 340 performs an alarm prompt after receiving the alarm signal, so as to prompt a detector to timely process the electronic device with the screen light leakage.
In one embodiment, as shown in fig. 7, the device for detecting screen light leakage further includes a light shielding device 350, and the camera 320, the upper computer 310 and the remote control transmitting device 330 are disposed in the light shielding device 340.
In this embodiment, since the screen of the electronic device is self-luminous, the external light source will have a certain influence on the display of the screen, and also will have a certain influence on the image captured by the camera 320, so that the camera 320 can be placed in the light shielding device 350, and the electronic device is also located in the light shielding device during the detection, and the screen light leakage detection is performed on the electronic device in the light shielding device, thereby eliminating the influence of the external light source and improving the accuracy of the screen light leakage detection. The upper computer 310 and the remote control transmitting device are also arranged in the shading device, so that unified management is facilitated.
In one embodiment, as shown in fig. 8, the apparatus for detecting screen light leakage further includes a light shielding plate 360, and the light shielding plate 360 is used for shielding an indicator light of the electronic device.
In this embodiment, various indicator lights are generally arranged on the electronic device, and when a screen of the electronic device displays a picture, the indicator lights emit light, and the light brightness of the indicator lights is small, but the screen light leakage detection is still affected, so that a light shielding plate can be arranged to shield the indicator lights of the electronic device, and the influence of the indicator lights on the screen light leakage detection is eliminated. The light shielding plate only shields the indicator light and does not shield the screen of the electronic equipment.
The method, the system and the device for detecting screen light leakage can be applied to electronic equipment such as televisions, computers and the like.
Taking a television as an example, a television production line needs to be tested after the television is assembled, wherein the test includes the judgment and detection of whether a screen leaks light.
As shown in fig. 9, when a tv to be tested enters a screen light leakage detection station, the following devices are sequentially operated: computer (built-in AOI program), infrared emission device, industrial camera, warning indicator lamp.
AOI (Automatic optical Inspection) is a necessary step in an industrial manufacturing process, and detects abnormalities or surface defects by obtaining a surface state of a product optically and performing image processing.
The real view of the shading device is shown in figure 10:
the alarm indicator lamp is arranged outside the shading device and used for displaying the test result of the television.
The infrared emitting device can be selectively placed outside or inside the shading device according to the time for reading the U disk picture by the television, and when the infrared emitting device sends an infrared instruction to the television, the television still continuously flows on a production line, so that the operation efficiency is improved; if the time for reading the U disk picture by the television is short, the infrared emission device is placed in the shading device; otherwise, the infrared emitting device can be placed at a corresponding position on the production line of the shading device.
When the television reaches the screen light leakage detection station, the screen just displays the pictures read from the U disk, and all other equipment can be placed in the shading device because the television is in a static state in the test process.
A defective product discharge device is arranged beside the shading device.
Connection mode of each component: A. the computer is connected with the industrial camera through a network cable and is used for controlling and transmitting photo data, and the computer and the industrial camera are in two-way communication; B. the computer is connected with the infrared transmitting device through a serial port, and a specific serial port protocol is adopted to control the infrared transmitting device to transmit corresponding infrared waveforms, so that the computer and the infrared transmitting device are in two-way communication; C. the computer is connected with the alarm indicator lamp through a serial port, and controls the alarm indicator lamp through a specific serial port protocol, so that the computer and the alarm indicator lamp are in two-way communication; D. the infrared transmitting device transmits infrared waveform to remotely control the television, and the television and the infrared transmitting device are in one-way communication; E. the camera takes pictures of the television by photographing.
The flow of the method is shown in fig. 11, the detection work of the screen light leakage detection station is fully automatic, and the judgment of workers is not needed.
Step 1, preparation before detection
The method changes the original mode of manual operation by a manual remote controller and subjective judgment by naked eyes into the mode of sending an instruction by the remote controller and acquiring a television image by a camera and automatically detecting the television image. Since the TV image is self-luminous, the external light source will affect the image (for example, light), so the whole testing process is performed in the shading device. Placing A, a computer at the corresponding position (inside or outside) of the shading device: the infrared emission device is used for controlling the infrared emission device, controlling the industrial camera and operating the AOI program; B. an infrared emission device: for remotely controlling the television to switch to a Media channel (Media channel) and reading the U disk picture; C. an industrial camera: the system is used for collecting television pictures; D. alarm indicator lamp: used for informing workers to process when detecting defective products.
In this detection item of screen light leakage, because when the television starts, the power indicator will give out light (flash or constantly light), and the brightness of this light is very small, but for the screen light leakage detection, it is possible to influence the result of judgment, so need block the power indicator, concrete method: when the screen light leakage is detected, the baffle is arranged at the position corresponding to the power indicator lamp of the television, so that the luminous power indicator lamp can be shielded and the screen of the television can not be shielded.
Step 2, displaying pure white picture positioning television screen
The detection can be started after preparation before detection is done, when a television reaches a screen light leakage detection station, a computer (with an built-in AOI program) remotely controls the television through an infrared transmitting device, the television is switched to a Media channel and reads a picture of a U disk, the picture is a pure white picture, the computer controls an industrial camera to take a picture of the television, the picture is transmitted back to the computer AOI program for processing after the industrial camera takes the picture, the AOI program calculates four corner point coordinates (namely four coordinates for identifying the television picture) on the side of the television picture by performing a classical corner point algorithm on the pure white picture, and records the coordinates.
Step 3, displaying black pictures, and judging whether the edge of the television screen leaks light
The computer controls the infrared emission device to remotely control the television to switch to a black picture, at the moment, the television screen displays a black picture, the AOI program determines the black picture of the television through the coordinate positioned by the picture, and the AOI program judges whether the edge of the television screen leaks light or not.
The light leakage judging method comprises the following steps: let the coordinates of the 4 corner points of the TV screen be A (X) from left to right and from top to bottom respectivelyA、YA)、B(XB、YB)、C(XC、YC)、D(XD、YD) Taking XAB、XCD、YAC、YBDThese four line segments.
With XAB、XCD、YAC、YBDThe four line segments are used as the boundary of the screen image, the edge area of the screen image is determined, the edge area is the screen image with the distance from the boundary being less than or equal to a certain distance (such as the distance of 100 pixel points), and the color gray value W of each pixel point in the edge area is calculatediRespectively converting the color gray value W of each pixel pointiComparing with the preset allowable value W' of the gray scale of the color, the smaller the gray scale value is, the darker the color is, if W isi>W', recording the poor gray scale value WTPlus (W)i-W'), the number of bad points N plus 1, WTAnd N is 0, i represents a certain pixel point in the edge area.
Comparing the finally calculated N with a preset maximum allowable value N' of the bad point: if N > N', judging that the edge of the screen leaks light; if N < ═ N', then carrying out the next judgment;
calculating the difference between the color gray value of the edge region and the preset color gray allowable valueValue avgWT=WTN, and the maximum allowable value W 'of the preset difference value mean value'TBy comparison, if avgWT>W’TJudging the light leakage at the edge of the screen, if avgWT<=W’TThen carrying out the next judgment;
the comparison between the mean value of the difference values and the preset maximum allowable value of the mean value of the difference values may also be performed in the following manner: directly calculating the average value of the color gray values of the edge area, and comparing the average value with the maximum allowable value of the preset color gray value average value, wherein the maximum allowable value of the preset color gray value average value is the maximum allowable value W ' of the preset color gray value allowable value W ' and the preset difference value average value 'TThe two comparison methods are equivalent in function.
Step 4, judging whether the display effect of the whole black picture of the television reaches the standard or not
For the judgment of whether the display effect of the whole television under the black picture reaches the standard or not, firstly, the average value W of the color gray values of all the pixel points is calculated to be sigma WjDiv m, wherein WjTaking the color gray value of each pixel point, wherein m is the number of all pixel points, j is an integer from 1 to m, and comparing the color gray value with a preset full-screen color gray value allowable value W' (the smaller the W value, the darker the displayed color is represented):
if W < ═ W', judging that the display effect of the television screen on a black picture is normal;
if W > W', the display effect of the television screen on the black picture is judged to be abnormal.
Step 5, detecting abnormal/normal in the detection process
The television with abnormal detection items appears in the detection process, the computer controls the alarm indicator lamp to alarm and informs a PLC (programmable logic controller) of a production line, the production line discharges the television in a defective product discharge device, a worker attaches a label of a defective product on the television and removes the television from the defective product discharge device; if the light leakage detection of the television screen is normal, the computer informs the production line PLC of the test state, and the production line controls the television to transfer to the next station to detect other detection items.
On an automatic production line of televisions, the assembly and the test of the televisions are all carried out on one production line, each procedure on the production line is required to be completed within a certain time, otherwise, a worker is required to press a stop button, and the whole production line can be continued after waiting for completion of certain operation. The production line requires high overall layout and automation program, manual operation is reduced as much as possible, and possible unstable factors are avoided.
After the television is assembled from the assembling station, whether the screen of the television is light-leaking needs to be detected, the system automatically detects whether the screen of the television is light-leaking, after the screen light-leaking detection is passed, the television enters the next detection link and finally enters the boxing station, and the television is put in storage after the boxing is finished. If the screen light leakage detection is not passed, an alarm of the station on the production line sounds, the production line discharges the television in the discharging device, and a worker carries away the television after attaching a defective product label on the television.
The traditional technical scheme adopts a manual operation method, and a worker holds a remote controller by hand to remotely control the television to display black pictures on the television, so that the operation repetition is large and the efficiency is low; the worker makes subjective judgment through visual observation, the mode needs the worker to judge whether the television screen leaks light or not through own experience, the subjectivity is high, the conditions of missed confirmation or error confirmation are possible, the stability of the whole batch of tested products on the test item cannot be guaranteed, the worker can only check whether the television screen leaks light, and the subjective judgment is difficult for the display effect of the television screen under a black picture.
In the invention, the method for automatically sending the code value of the remote controller is adopted, the operation efficiency is high, the machine cannot feel tired like a human, the automatic operation can be realized, the harm to workers caused by repeated labor is reduced, the detection efficiency is improved, the objective and quick judgment can be carried out, and the stability of the product on the test item is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A method for detecting screen light leakage is characterized by comprising the following steps:
acquiring a screen image for displaying a black picture on a screen of the electronic equipment;
determining an edge area in the screen image, wherein the edge area is a screen image area with a distance smaller than or equal to a preset distance from the boundary of the screen image;
acquiring the color gray value of each pixel point in the edge area, and calculating the number of target pixel points with the color gray values larger than a preset color gray allowable value;
if the number of the target pixel points is larger than the preset number, judging that the screen leaks light;
if the number of the target pixel points is less than or equal to the preset number, respectively calculating the difference value between the color gray value of each target pixel point and the color gray allowable value, and calculating a first average value of each difference value according to each difference value; if the first average value is larger than a first preset value, judging that the screen leaks light;
alternatively, the first and second electrodes may be,
if the number of the target pixel points is less than or equal to the preset number, calculating a second average value of the color gray value of each target pixel point; if the second average value is larger than a second preset value, light leakage of the screen is judged;
the step of acquiring the screen image of the black picture displayed on the screen of the electronic equipment comprises the steps of shooting the screen of the electronic equipment displaying the black picture to obtain a first shot image, positioning an area where the black picture is located in the first shot image, and capturing the image of the area as the screen image.
2. The method of claim 1, further comprising the steps of:
if the first average value is smaller than or equal to the first preset value, acquiring color gray values of all pixel points of the screen image, and calculating a third average value of the color gray values of all the pixel points;
and if the third average value is less than or equal to a third preset value, judging that the black picture displayed on the screen is normal.
3. The method of claim 1, wherein the step of obtaining a screen image of a black frame displayed on a screen of the electronic device further comprises the following steps:
shooting an electronic equipment screen displaying a white picture to obtain a second shot image, and recording boundary coordinates of the white picture in the second shot image;
the step of shooting the screen of the electronic equipment displaying the black picture comprises the following steps:
shooting the electronic equipment screen displaying a black picture at the same shooting position when shooting the electronic equipment screen displaying a white picture; wherein the electronic equipment is positioned in the shading device;
the step of positioning the area where the black picture is located in the first shot image comprises the following steps:
and positioning the area where the black picture is located in the first shot image according to the boundary coordinates.
4. A system for detecting screen light leakage, comprising:
an image acquisition unit configured to acquire a screen image on which a black picture is displayed on a screen of an electronic device;
an edge determining unit, configured to determine an edge region in the screen image, where the edge region is a screen image region where a distance from a boundary of the screen image is less than or equal to a preset distance;
the gray level obtaining unit is used for obtaining the color gray level value of each pixel point in the edge area;
the pixel point calculating unit is used for calculating the number of target pixel points with the color gray values larger than the preset color gray value allowable value;
the average value calculating unit is used for respectively calculating the difference value between the color gray value and the color gray allowable value of each target pixel point when the number of the target pixel points is less than or equal to the preset number, and calculating a first average value of each difference value according to each difference value; or, when the number of the target pixel points is less than or equal to the preset number, calculating a second average value of the color gray values of the target pixel points;
the judging unit is used for judging screen light leakage when the number of the target pixel points is larger than a preset number; when the first average value is larger than a first preset value, judging that the screen leaks light; when the second average value is larger than a second preset value, light leakage of the screen is judged;
the image acquisition unit is further used for shooting a screen of the electronic equipment to obtain a first shot image, positioning an area where the black picture is located in the first shot image, and capturing the image of the area as a screen image.
5. A screen light leakage detection device is characterized by comprising an upper computer, a shooting device and a remote control transmitting device;
the remote control transmitting device is used for remotely controlling the electronic equipment, and the shooting device is used for shooting a screen display picture of the electronic equipment; wherein the electronic equipment comprises a remote control receiving device;
the upper computer drives the remote control transmitting device to send a remote control signal to the electronic equipment, and the electronic equipment displays a black picture on a screen after receiving the remote control signal;
the upper computer acquires a screen image of a black picture displayed on a screen of the electronic equipment through a shooting device;
the upper computer determines an edge area in the screen image, wherein the edge area is a screen image area with a distance smaller than or equal to a preset distance from the boundary of the screen image;
the upper computer obtains the color gray value of each pixel point in the edge area, and calculates the number of target pixel points with the color gray values larger than a preset color gray value allowable value; if the number of the target pixel points is larger than the preset number, judging that the screen leaks light; if the number of the target pixel points is less than or equal to the preset number, respectively calculating the difference value between the color gray value of each target pixel point and the color gray allowable value, and calculating a first average value of each difference value according to each difference value; if the first average value is larger than a first preset value, judging that the screen leaks light; or if the number of the target pixel points is less than or equal to the preset number, calculating a second average value of the color gray value of each target pixel point; and if the second average value is larger than a second preset value, judging that the screen leaks light.
6. The device for detecting screen light leakage according to claim 5, further comprising an alarm device connected to the upper computer;
when the upper computer judges that the screen leaks light, the alarm device is used for receiving the alarm signal output by the upper computer and giving an alarm prompt.
7. The device for detecting screen light leakage according to claim 5, further comprising a light shielding device, wherein the photographing device, the upper computer and the remote control emitting device are disposed in the light shielding device.
CN201611124086.4A 2016-12-08 2016-12-08 Screen light leakage detection method, system and device Active CN106780521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611124086.4A CN106780521B (en) 2016-12-08 2016-12-08 Screen light leakage detection method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611124086.4A CN106780521B (en) 2016-12-08 2016-12-08 Screen light leakage detection method, system and device

Publications (2)

Publication Number Publication Date
CN106780521A CN106780521A (en) 2017-05-31
CN106780521B true CN106780521B (en) 2020-01-07

Family

ID=58877381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611124086.4A Active CN106780521B (en) 2016-12-08 2016-12-08 Screen light leakage detection method, system and device

Country Status (1)

Country Link
CN (1) CN106780521B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506031B (en) * 2017-08-16 2020-03-31 歌尔科技有限公司 VR application program identification method and electronic equipment
CN107576663A (en) * 2017-08-30 2018-01-12 无锡达蒙科技有限公司 A kind of display screen defect automatic checkout system and method
CN107765463B (en) * 2017-10-13 2020-08-25 上海友衷科技有限公司 Detection method for liquid crystal screen of instrument panel
CN109801322A (en) * 2017-11-16 2019-05-24 合肥欣奕华智能机器有限公司 A kind of light leak test method and device
CN108281120B (en) * 2018-01-27 2020-04-10 深圳市华星光电半导体显示技术有限公司 Mura repairing method of display panel
CN108474718B (en) * 2018-03-29 2020-07-28 深圳市汇顶科技股份有限公司 Screen detection device and method
CN108871735A (en) * 2018-04-27 2018-11-23 上海与德科技有限公司 Display screen shows the test fixture and its test method, host computer of quality
CN110084801A (en) * 2019-04-28 2019-08-02 深圳回收宝科技有限公司 A kind of detection method of terminal screen, device, portable terminal and storage medium
CN112190227A (en) * 2020-10-14 2021-01-08 上海鹰瞳医疗科技有限公司 Fundus camera and method for detecting use state thereof
CN112599088A (en) * 2020-12-02 2021-04-02 深圳市汇顶科技股份有限公司 Screen light leakage and ambient light detection method, chip, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971624A (en) * 2013-01-28 2014-08-06 富泰华工业(深圳)有限公司 Light-leaking detection system and method
CN105301810A (en) * 2015-11-24 2016-02-03 上海斐讯数据通信技术有限公司 Screen defect detecting method and screen defect detecting device
CN105607319A (en) * 2016-03-02 2016-05-25 北京小米移动软件有限公司 Method and device for improving light leak of screen automatically
CN106157286A (en) * 2015-04-03 2016-11-23 研祥智能科技股份有限公司 Image processing method and screen light leak test method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971624A (en) * 2013-01-28 2014-08-06 富泰华工业(深圳)有限公司 Light-leaking detection system and method
CN106157286A (en) * 2015-04-03 2016-11-23 研祥智能科技股份有限公司 Image processing method and screen light leak test method
CN105301810A (en) * 2015-11-24 2016-02-03 上海斐讯数据通信技术有限公司 Screen defect detecting method and screen defect detecting device
CN105607319A (en) * 2016-03-02 2016-05-25 北京小米移动软件有限公司 Method and device for improving light leak of screen automatically

Also Published As

Publication number Publication date
CN106780521A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106780521B (en) Screen light leakage detection method, system and device
CN201489795U (en) Display flaw automatic detecting device
CN105424710A (en) Method and device for detecting screen of electronic equipment
CN106713903B (en) The detection method and system of the screen intensity uniformity
CN107272234B (en) Detection method and system based on liquid crystal display test picture
CN104568301B (en) Method and device for detecting equipment vacuum degree
TWI467500B (en) The detection method of the led of using the digital image
CN107065247A (en) A kind of display panel testing method, apparatus and system
CN105974616A (en) Method and system for detecting defect of LCD screen
KR101054522B1 (en) Apparatus and method for measurement of corona discharge of power facilities by uv sensor with optic lens
CN106341682A (en) Aging function detection method, system and device
CN104777172A (en) Quick and intelligent defective optical lens detection device and method
CN100562134C (en) A kind of test macro of digital display device and method of testing thereof
CN106454338B (en) Electronic equipment image display effect detection method and device
CN206790647U (en) The detection device of the screen intensity uniformity
CN109819245B (en) On-line measuring method and device for chroma and brightness data based on AOI platform
CN105744261B (en) The test system and method for testing of set top box front panel
CN104217698A (en) Display board detection device, system and method
CN104345481A (en) Liquid crystal display quality inspection method, device and equipment
CN105628195A (en) Light source brightness detecting system and method
CN106017870B (en) Welding mask detection device and detection method thereof
CN101452122B (en) LCD displaying effect detection device and method
KR101993654B1 (en) Inspecting apparatus mura of display panel and method thereof
CN109932160B (en) AOI and gray scale meter detection system and method
CN105486698A (en) AOI automatic detection device and detection method

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