CN106454338B - Method and device for detecting picture display effect of electronic equipment - Google Patents
Method and device for detecting picture display effect of electronic equipment Download PDFInfo
- Publication number
- CN106454338B CN106454338B CN201611055656.9A CN201611055656A CN106454338B CN 106454338 B CN106454338 B CN 106454338B CN 201611055656 A CN201611055656 A CN 201611055656A CN 106454338 B CN106454338 B CN 106454338B
- Authority
- CN
- China
- Prior art keywords
- image
- electronic equipment
- value
- detected
- picture
- 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
Links
- 230000000694 effects Effects 0.000 title claims abstract description 147
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims abstract description 69
- 238000012545 processing Methods 0.000 claims description 8
- 238000011156 evaluation Methods 0.000 abstract description 4
- 238000004519 manufacturing process Methods 0.000 description 15
- 238000012360 testing method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000002311 subsequent effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2628—Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Image Analysis (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a method and a device for detecting the picture display effect of electronic equipment, which are used for zooming acquired images to obtain zoomed images with the same size as a prestored original picture, calculating the color distance between each pixel point in the zoomed images and each corresponding pixel point in the prestored original picture, calculating the color distance mean value of the pixel points according to the color distance corresponding to each pixel point in the zoomed images and the number of the pixel points, namely, calculating the color distance mean value of the pixel points of the zoomed images and the prestored original picture, then obtaining the effect evaluation value of the picture displayed by the electronic equipment to be detected according to the color distance mean value, comparing the effect evaluation value with a preset standard value to obtain the effect detection result of the picture displayed by the electronic equipment to be detected, thus realizing the detection of the display effect of the electronic equipment to be detected without manually grading the display of the electronic equipment to be detected, therefore, the efficiency of detecting the display effect of the electronic equipment to be detected is improved.
Description
Technical Field
The invention relates to the technical field of intelligence, in particular to a method and a device for detecting picture display effect of electronic equipment.
Background
For the to-be-detected electronic equipment with the display function, a user can watch information such as pictures and videos through the display screen of the to-be-detected electronic equipment, and the requirement of the user on the display effect is higher and higher, for example, a television, a display and the to-be-detected electronic equipment with the LED display screen are provided.
At present, a worker remotely controls a television to play a plurality of pictures including a pure color picture, a landscape picture and a figure picture through a remote controller, visually observes how the display effect of the pictures is displayed and scores the display effect, and finally integrates all scores to judge whether the reduction effect of the screen picture of the television is qualified. In the detection process, the time required for detecting one television is long, and the detection process does not accord with production line production beat, so the spot inspection can be carried out only in the link of OQC (outputting Quality Control). However, the requirement of the client on the screen display of the television is higher and higher, the process is inevitably added to a production line subsequently, and each television is guaranteed to perform the test item, so that the detection time is long, and the detection efficiency is low.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for detecting an image display effect of an electronic device, which can improve the detection rate, in order to solve the problem of low display effect detection efficiency.
A method for detecting picture display effect of electronic equipment comprises the following steps:
collecting a picture displayed on a display screen of the electronic equipment to be detected to obtain a collected image;
zooming the acquired image to obtain a zoomed image with the same size as the prestored original image;
calculating color distances between the pixel points in the zoomed image and the corresponding pixel points in the preset original image according to the zoomed image and the prestored original image, and calculating a color distance average value of the pixel points according to the color distances corresponding to the pixel points in the zoomed image and the number of the pixel points;
obtaining the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value;
and comparing the effect score value with a preset standard value to obtain an effect detection result of the picture displayed by the electronic equipment to be detected.
The invention also provides a picture display effect detection device of the electronic equipment, which comprises an image acquisition device and a processor, wherein the image acquisition device is connected with the processor;
the image acquisition device is right the picture that waits to examine the display screen display of electronic equipment gathers, obtains the collection image and transmits extremely the treater, the treater is right the collection image is zoomed and is handled, obtains with prestoring the same zoom image of original picture size, calculates in the zoom image each pixel respectively with predetermine the color distance between the each pixel that corresponds in the original picture, and according to in the zoom image each pixel corresponds color distance and the number of pixel, calculate the color distance mean value of pixel, according to color distance mean value, acquire the effect score value of waiting to examine the picture that electronic equipment shows, will effect score value compares with preset standard value, obtains right the effect testing result of waiting to examine the picture that electronic equipment shows.
The method and the device for detecting the picture display effect of the electronic equipment acquire an image acquired by a picture displayed on a display screen of the electronic equipment to be detected, zoom the acquired image to acquire a zoomed image with the same size as a pre-stored original picture, calculate the color distance between each pixel point in the zoomed image and each corresponding pixel point in the pre-stored original picture according to the zoomed image and the pre-stored original picture, calculate the color distance mean value of the pixel points according to the color distance corresponding to each pixel point in the zoomed image and the number of the pixel points, namely, calculate the color distance mean value of the pixel points of the zoomed image and the pre-stored original picture, then acquire the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value, and compare the effect score value with a pre-stored standard value, the method has the advantages that the effect detection result of the picture displayed by the electronic equipment to be detected is obtained, the display effect of the electronic equipment to be detected can be detected, the electronic equipment to be detected does not need to be manually displayed and scored, and therefore the efficiency of detecting the display effect of the electronic equipment to be detected is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for detecting a picture display effect of an electronic device according to an embodiment;
FIG. 2 is a flowchart illustrating a method for detecting a picture display effect of an electronic device according to another embodiment;
FIG. 3 is a schematic structural diagram of an apparatus for detecting a picture display effect of an electronic device according to an embodiment;
fig. 4 is a schematic structural diagram of an image display effect detection apparatus of an electronic device according to another embodiment.
Detailed Description
Referring to fig. 1, an embodiment of a method for detecting a picture display effect of an electronic device is provided, which includes the following steps:
s110: and acquiring the picture displayed on the display screen of the electronic equipment to be detected so as to obtain an acquired image.
In an actual production line of electronic devices, in order to ensure an electronic device command, various indexes of the electronic devices need to be detected, and for the electronic devices with a display function, detection of a display effect is one of the indexes. In this embodiment, when the display effect is detected, the picture displayed on the display screen of the electronic device to be detected is collected to obtain the collected image, and specifically, the picture displayed on the display screen of the electronic device to be detected is photographed by the industrial camera to obtain the collected image. The processor can then acquire the captured image taken by the industrial camera.
S120: and carrying out zooming processing on the acquired image to obtain a zoomed image with the same size as the pre-stored original image.
The pre-stored original picture is the same as the original picture to be displayed acquired from the electronic device to be detected, and the electronic device to be detected may generate changes such as color difference after the original picture is displayed on the display screen, i.e. the picture displayed on the display screen of the electronic device to be detected may be different from the original picture to be displayed by the electronic device to be detected, so that the display effect of the electronic device to be detected needs to be detected. In order to ensure accurate subsequent calculation, after an image acquired by a picture displayed on a display screen of the electronic device to be detected is acquired, the acquired image may have a size different from that of a pre-stored original picture, so that the image needs to be zoomed, and a zoomed image having the same size as the pre-stored original picture is acquired. In particular, the captured image may be scaled by an interpolation algorithm.
S130: according to the zoomed image and the pre-stored original image, calculating the color distance between each pixel point in the zoomed image and each corresponding pixel point in the pre-stored original image, and according to the color distance corresponding to each pixel point in the zoomed image and the number of the pixel points, calculating the color distance mean value of the pixel points.
Because the zoomed image and the pre-stored original picture may have color difference, namely, pixel difference exists between each pixel point corresponding to the zoomed image and the pre-stored original picture, the color distance between each pixel point in the zoomed image and each pixel point corresponding to the pre-stored original picture can be calculated, the color distance between each pixel point reflects the difference of the pixel values between each pixel point corresponding to the zoomed image and the pre-stored original picture, and then the average value of the color distances of the pixel points is calculated according to the color distance corresponding to each pixel point in the zoomed image and the number of the pixel points, thereby providing data basis for subsequent effect display detection.
S140: and obtaining the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value.
The color distance average value reflects an average value of differences of pixel values of all the pixel points, that is, reflects a pixel difference between the zoomed image and the pre-stored original image as a whole. Therefore, the effect score value of the picture displayed by the electronic equipment to be detected can be obtained according to the color distance mean value so as to reflect the effect of restoring the picture displayed by the electronic equipment to be detected. In this embodiment, specifically, the effect score of the picture displayed by the electronic device to be detected may be obtained according to the color distance mean and the preset relationship table corresponding to the color distance mean and the score, or the effect score of the picture displayed by the electronic device to be detected may be obtained by multiplying the color distance mean by a preset coefficient.
S150: and comparing the effect score value with a preset standard value to obtain an effect detection result of the picture displayed by the electronic equipment to be detected.
The preset standard value is stored in the processor in advance, the effect score value is compared with the preset standard value, the effect detection result of the picture displayed by the electronic equipment to be detected is obtained, and the detection of the display effect of the electronic equipment to be detected is also completed. The electronic equipment to be detected can be processed in the next step according to the effect detection result.
The method for detecting the picture display effect of the electronic equipment comprises the steps of acquiring an image acquired by a picture displayed on a display screen of the electronic equipment to be detected, zooming the acquired image to obtain a zoomed image with the same size as a pre-stored original picture, calculating the color distance between each pixel point in the zoomed image and each corresponding pixel point in the pre-stored original picture according to the zoomed image and the pre-stored original picture, calculating the color distance mean value of the pixel points according to the color distance corresponding to each pixel point in the zoomed image and the number of the pixel points, namely acquiring the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value, and comparing the effect score value with a pre-stored standard value, the method has the advantages that the effect detection result of the picture displayed by the electronic equipment to be detected is obtained, the display effect of the electronic equipment to be detected can be detected, the electronic equipment to be detected does not need to be manually displayed and scored, and therefore the efficiency of detecting the display effect of the electronic equipment to be detected is improved. In addition, the display effect detection performed by the method for detecting the picture display effect of the electronic equipment does not depend on the subjectivity of manual judgment, the effect score value is compared with a preset standard value to obtain an effect detection result, so that the display effect monitoring is realized, the error judgment is not easy to occur, and the detection accuracy is improved.
Referring to fig. 2, in one embodiment, the step of comparing the effect score value with a preset standard value to obtain an effect detection result of the picture displayed by the electronic device to be detected includes:
s251: and detecting whether the effect score value is greater than or equal to a preset standard value.
When the effect score value is greater than or equal to the preset criterion value, S252 is performed: and obtaining the qualified result of the effect detection of the picture displayed by the electronic equipment to be detected.
When the effect score value is less than the preset criterion value, performing S253: and obtaining an unqualified effect detection result of the picture displayed by the electronic equipment to be detected.
That is to say, the effect score value is compared with a preset standard value to obtain an effect detection result, the effect detection result comprises an effect detection qualified result and an effect detection unqualified result, and when the effect score value is greater than or equal to the preset standard value, the effect detection qualified result of the picture displayed by the electronic equipment to be detected is obtained. When the detection is qualified, namely a qualified detection result is obtained, the electronic equipment to be detected can enter the next detection link. When the effect score value is smaller than a preset standard value, an unqualified effect detection result of the picture displayed by the electronic equipment to be detected is obtained, at the moment, the electronic equipment to be detected is discharged, a detector can carry the unqualified label out after attaching the unqualified label to the electronic equipment to be detected, and the unqualified label can also be marked by a marking device.
In one embodiment, the color distance between each pixel point in the scaled image and each corresponding pixel point in the preset original image is calculated by the following formula:
wherein i is an integer from 1 to m, m is the number of pixel points, DiFor zooming the color distance, R, corresponding to the ith pixel point of the image and the preset original pictureiTo scale the pixel value, G, of the R channel of the ith pixel point of the imageiTo scale the pixel value of the G channel of the ith pixel point of the image, BiTo scale the pixel value, r, of the B channel of the ith pixel point of the imageiPresetting the pixel value of R channel of ith pixel point of original picture, giFor presetting the pixel value of the G channel of the ith pixel point of the original picture, biThe pixel value of the B channel of the ith pixel point of the original picture is preset.
Calculating the color distance average value of the pixel points by adopting the following formula:
wherein,is the color distance mean.
In one embodiment, when the effect score value is smaller than a preset standard value, after the step of obtaining the unqualified effect detection result of the picture displayed by the electronic device to be detected, the method further comprises the following steps:
and controlling an alarm device to give an alarm.
That is to say, after the effect of the electronic equipment to be inspected is detected, and the effect detection result is an unqualified effect detection result, at this moment, alarm processing can be performed to prompt the inspector that the electronic equipment to be inspected is unqualified.
In one embodiment, before the step of scaling the captured image to obtain a scaled image with the same size as the pre-stored original image, the method further includes the steps of:
and acquiring the position coordinates of four vertexes of a display screen of the electronic equipment to be detected.
And selecting a rectangular area image surrounded by the coordinates of the four vertex positions in the acquired image, and updating the acquired image into the rectangular area image.
When the picture displayed on the display screen of the electronic device to be detected is acquired, some interference may exist at the boundary of the acquired picture, that is, the content displayed by the electronic device to be detected is not the interference, so that the electronic device to be detected needs to be cut. In this embodiment, first, four vertex position coordinates of a display screen of the electronic device to be detected are obtained, and a rectangular area image enclosed by the four vertex position coordinates is a picture actually displayed by the electronic device to be detected, so that the rectangular area image enclosed by the four vertex position coordinates in the acquired image is selected, the acquired image is updated to be the rectangular area image, that is, the acquired image is updated, and then, the updated acquired image can be subjected to scaling processing and the like. In this embodiment, the pure color picture can be displayed on the electronic device to be tested, four corner coordinates on the edge of the display picture on the display screen of the electronic device to be tested are calculated by performing a classical corner algorithm on the pure color picture, namely four vertex position coordinates of the display screen of the electronic device to be tested, the four fixed point position coordinates can position the picture displayed by the electronic device to be tested, and the four fixed point position coordinates are recorded and can be used when each picture is tested later.
In one embodiment, before the step of acquiring the image acquired from the picture displayed on the display screen of the electronic device to be tested, the method further includes the steps of:
and when the electronic equipment is detected to reach a preset detection position, sending an infrared instruction to an infrared emission device, and controlling the infrared emission sending device to remotely control the electronic equipment to be detected to display pictures.
That is to say, when the processor detects that the electronic equipment to be detected reaches the screen picture reduction effect detection station, the infrared emission device can be controlled to remotely control the electronic equipment to be detected to enter a Media (Media) channel and display and switch pictures, the processor controls the industrial camera to photograph the electronic equipment to be detected, and the industrial camera photographs acquired images and then transmits the acquired images back to the processor for processing. That is to say, the infrared emitting device can be controlled by the processor to send a remote control instruction to the electronic device to be detected so as to control the electronic device to be detected to display a picture, and similarly, the processor can also control the industrial camera to photograph the picture displayed by the electronic device to be detected.
The method for detecting the picture display effect of the electronic device is described in detail below with reference to an implementation.
An example of a practical use: automatic production line for television
Scene: on the automatic production line of the television, the assembly and the test of the television are 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 continue after waiting for the completion of a 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, the picture effect displayed by the display screen of the television needs to be detected (the detection time is long, the detection time is not consistent with the production rhythm of a production line, and only the detection item can be put into an OQC sampling inspection link), the system automatically detects the screen picture reduction effect of the television, after the screen picture reduction effect is detected, the television enters the next detection link and finally enters a boxing station, and the television is warehoused after being boxed. If the screen picture restoration effect is not detected, 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.
In addition, a darkroom, namely a shading shell, is set up at the screen picture reduction effect detection station on a production line (the darkroom can detect more than one test item), an infrared transmitting device is adopted to transmit an infrared instruction to the television, and an industrial camera is adopted to replace naked eye observation, so that the full-automatic test of the screen picture reduction effect detection station of the television is realized.
Referring to fig. 3, the present invention further provides an embodiment of an apparatus for detecting a picture display effect of an electronic device, including an image capturing device 310 and a processor 320, where the image capturing device 310 is connected to the processor 320.
The image capturing device 310 captures a picture displayed on a display screen of the electronic device 330 to be tested, obtains a captured image, and transmits the captured image to the processor 320. The processor 320 performs zooming processing on the acquired image to obtain a zoomed image with the same size as the pre-stored original image, calculates color distances between each pixel point in the zoomed image and each corresponding pixel point in the pre-stored original image, calculates a color distance mean value of the pixel points according to the color distances corresponding to the pixel points in the zoomed image and the number of the pixel points, obtains an effect score value of the image displayed by the electronic device 330 to be detected according to the color distance mean value, and compares the effect score value with a preset standard value to obtain an effect detection result of the image displayed by the electronic device 330 to be detected.
The device for detecting the picture display effect of the electronic equipment acquires an image acquired by a picture displayed on a display screen of the electronic equipment 330 to be detected, zooms the acquired image to acquire a zoomed image with the same size as that of a pre-stored original picture, calculates the color distance between each pixel point in the zoomed image and each corresponding pixel point in the pre-stored original picture according to the zoomed image and the pre-stored original picture, calculates the color distance mean value of the pixel points according to the color distance corresponding to each pixel point in the zoomed image and the number of the pixel points, namely, calculates the color distance mean value of the pixel points of the zoomed image and the pre-stored original picture, acquires the effect evaluation value of the picture displayed by the electronic equipment 330 to be detected according to the color distance mean value, compares the effect evaluation value with the pre-stored standard value to acquire the effect detection result of the picture displayed by the electronic equipment 330 to be detected, the detection of the display effect of the electronic device 330 to be detected can be realized, and the electronic device 330 to be detected does not need to be manually displayed and scored, so that the detection efficiency of the display effect of the electronic device 330 to be detected is improved. In addition, the display effect detection performed by the electronic equipment picture display effect detection device does not depend on the subjectivity of manual judgment, the effect score value is compared with a preset standard value to obtain an effect detection result, so that the display effect monitoring is realized, the error judgment is not easy to occur, and the detection accuracy is improved.
Specifically, the image capturing device 310 may be an industrial camera, and captures a displayed picture through the industrial camera, so that the speed is high and the effect is good. In addition, to ensure the accuracy of image acquisition, the image capturing device 310 is aligned with the electronic device under test.
In one embodiment, the processor 320 calculates the color distance between each pixel point in the scaled image and each corresponding pixel point in the preset original image by using the following formula:
wherein i is an integer from 1 to m, m is the number of pixel points, DiFor zooming the color distance, R, corresponding to the ith pixel point of the image and the preset original pictureiTo scale the pixel value, G, of the R channel of the ith pixel point of the imageiTo scale the pixel value of the G channel of the ith pixel point of the image, BiTo scale the pixel value, r, of the B channel of the ith pixel point of the imageiPresetting the pixel value of R channel of ith pixel point of original picture, giFor presetting the pixel value of the G channel of the ith pixel point of the original picture, biThe pixel value of the B channel of the ith pixel point of the original picture is preset.
Processor 320 calculates the color distance mean of the pixel points using the following formula:
wherein,is the color distance mean.
In one embodiment, the processor 320 is further configured to compare the effect score value with a preset standard value, obtain an acceptable result of the effect detection of the picture displayed by the electronic device 330 to be detected when the effect score value is greater than or equal to the preset standard value, and obtain an unacceptable result of the effect detection of the picture displayed by the electronic device 330 to be detected when the effect score value is less than the preset standard value.
In one embodiment, the above-mentioned electronic device picture display effect detection apparatus further includes an alarm apparatus 340 connected to the processor 320. Specifically, the alarm device 340 may be an alarm indicator lamp.
When the processor 320 obtains the unqualified effect detection result of the picture displayed by the electronic device 330 to be detected, the alarm device 340 is controlled to alarm.
In one embodiment, before performing scaling processing on the captured image to obtain a scaled image with the same size as the pre-stored original image, the processor 320 further obtains four vertex position coordinates of the display screen of the electronic device 330 to be detected, selects a rectangular region image surrounded by the four vertex position coordinates in the captured image, and updates the captured image into the rectangular region image.
In one embodiment, the apparatus for detecting the picture display effect of the electronic device further includes a light shielding shell 360, and the electronic device to be detected 330, the image capturing device 310 and the processor 320 are disposed in the light shielding shell 360. In addition, an alarm device 340 is also disposed within the light shielding case 360. It is understood that the alarm device 340 may also be disposed outside the light shielding shell 360.
In one embodiment, the above-mentioned device for detecting picture display effect of electronic equipment further includes an infrared emitting device 350 respectively connected to the processor 320 and the electronic equipment to be detected 330. Infrared emitting device 350 may be disposed within light-shielding housing 360, it being understood that infrared emitting device 350 may also be disposed outside light-shielding housing 360.
When detecting that the electronic device reaches the preset detection position, the processor 320 sends a control instruction to the infrared emission device 350, and controls the infrared emission sending device to remotely control the electronic device to be detected 330 to display a picture.
The device for detecting the picture display effect of the electronic equipment is a device for realizing the method for detecting the picture display effect of the electronic equipment, and the technical characteristics are in one-to-one correspondence, which is not repeated herein.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present 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 (8)
1. A method for detecting the picture display effect of electronic equipment is characterized by comprising the following steps:
collecting a picture displayed on a display screen of the electronic equipment to be detected to obtain a collected image;
zooming the acquired image to obtain a zoomed image with the same size as the prestored original image;
calculating color distances between pixel points in the zoomed image and corresponding pixel points in the prestored original image according to the zoomed image and the prestored original image, and calculating a color distance mean value of the pixel points according to the color distances corresponding to the pixel points in the zoomed image and the number of the pixel points;
obtaining the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value;
comparing the effect score value with a preset standard value to obtain an effect detection result of the picture displayed by the electronic equipment to be detected;
the step of obtaining the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value comprises the following steps of:
acquiring an effect score value of a picture displayed by the electronic equipment to be detected according to the color distance mean value and a preset relation table corresponding to the color distance mean value and the score value; or
Multiplying the color distance average value by a preset coefficient to obtain an effect score value of a picture displayed by the electronic equipment to be detected;
before the step of scaling the collected image to obtain a scaled image with the same size as the pre-stored original image, the method further comprises the following steps:
acquiring four vertex position coordinates of a display screen of the electronic equipment to be detected;
and selecting a rectangular area image surrounded by the four vertex position coordinates in the collected image, and updating the collected image into the rectangular area image.
2. The method for detecting the picture display effect of the electronic device according to claim 1, wherein the color distance between each pixel point in the scaled image and each corresponding pixel point in the pre-stored original picture is calculated by using the following formula:
wherein i is an integer from 1 to m, m is the number of pixel points, and DiIs the scaled image and theThe color distance corresponding to the ith pixel point of the prestored original picture, RiThe pixel value of R channel of the ith pixel point of the scaled image, GiThe pixel value of the G channel of the ith pixel point of the zoom image is BiThe pixel value of the B channel of the ith pixel point of the scaled image, riThe pixel value of the R channel of the ith pixel point of the prestored original picture is giThe pixel value of the G channel of the ith pixel point of the pre-stored original picture, biThe pixel value of the B channel of the ith pixel point of the prestored original picture is obtained;
calculating the color distance average value of the pixel points by adopting the following formula:
wherein, theIs the color distance mean.
3. The method for detecting the picture display effect of the electronic device according to claim 1, wherein the step of comparing the effect score value with a preset standard value to obtain the effect detection result of the picture displayed by the electronic device to be detected comprises:
comparing the effect score value with a preset standard value;
when the effect score value is larger than or equal to the preset standard value, obtaining an effect detection qualified result of the picture displayed by the electronic equipment to be detected;
and when the effect score value is smaller than the preset standard value, obtaining an unqualified effect detection result of the picture displayed by the electronic equipment to be detected.
4. The method for detecting the picture display effect of the electronic device according to claim 1, wherein before the step of acquiring the image collected from the picture displayed on the display screen of the electronic device to be detected, the method further comprises the steps of:
and when the electronic equipment is detected to reach a preset detection position, sending an infrared instruction to an infrared emission device, and controlling the infrared emission sending device to remotely control the electronic equipment to be detected to display pictures.
5. The picture display effect detection device of the electronic equipment is characterized by comprising an image acquisition device and a processor, wherein the image acquisition device is connected with the processor;
the image acquisition device acquires a picture displayed on a display screen of the electronic equipment to be detected, acquires an acquired image and transmits the acquired image to the processor, the processor performs zooming processing on the acquired image to acquire a zoomed image with the same size as a prestored original picture, calculates color distances between pixel points in the zoomed image and pixel points corresponding to the prestored original picture respectively, calculates a color distance mean value of the pixel points according to the color distances corresponding to the pixel points in the zoomed image and the number of the pixel points, acquires an effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value, and compares the effect score value with a preset standard value to acquire an effect detection result of the picture displayed by the electronic equipment to be detected;
the processor obtains the effect score value of the picture displayed by the electronic equipment to be detected according to the color distance mean value, and the effect score value comprises the following steps: acquiring an effect score value of a picture displayed by the electronic equipment to be detected according to the color distance mean value and a preset relation table corresponding to the color distance mean value and the score value; or multiplying the color distance average value by a preset coefficient to obtain an effect score value of the picture displayed by the electronic equipment to be detected;
the processor is used for carrying out zooming processing on the collected image, obtaining four vertex position coordinates of a display screen of the electronic equipment to be detected before obtaining a zoomed image with the same size as a pre-stored original image, selecting a rectangular area image enclosed by the four vertex position coordinates in the collected image, and updating the collected image into the rectangular area image.
6. The apparatus according to claim 5, wherein the processor calculates the color distance between each pixel point in the scaled image and each corresponding pixel point in the pre-stored original image by using the following formula:
wherein i is an integer from 1 to m, m is the number of pixel points, and DiThe color distance corresponding to the ith pixel point of the zoom image and the prestored original picture is RiThe pixel value of R channel of the ith pixel point of the scaled image, GiThe pixel value of the G channel of the ith pixel point of the zoom image is BiThe pixel value of the B channel of the ith pixel point of the scaled image, riThe pixel value of the R channel of the ith pixel point of the prestored original picture is giThe pixel value of the G channel of the ith pixel point of the pre-stored original picture, biThe pixel value of the B channel of the ith pixel point of the prestored original picture is obtained;
the processor calculates the color distance average value of the pixel points by adopting the following formula:
wherein, theIs the color distance mean.
7. The device for detecting the display effect of the picture on the electronic equipment according to claim 5, wherein the processor is further configured to compare the effect score value with a preset standard value, obtain a qualified result of the effect detection of the picture displayed on the electronic equipment to be detected when the effect score value is greater than or equal to the preset standard value, and obtain a unqualified result of the effect detection of the picture displayed on the electronic equipment to be detected when the effect score value is less than the preset standard value.
8. The picture display effect detection device of an electronic device according to claim 5, further comprising an infrared emission device respectively connected to the processor and the electronic device to be tested;
and the processor sends an infrared instruction to the infrared emission device when detecting that the electronic equipment reaches a preset detection position, and controls the infrared emission sending device to remotely control the electronic equipment to be detected to display pictures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611055656.9A CN106454338B (en) | 2016-11-25 | 2016-11-25 | Method and device for detecting picture display effect of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611055656.9A CN106454338B (en) | 2016-11-25 | 2016-11-25 | Method and device for detecting picture display effect of electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454338A CN106454338A (en) | 2017-02-22 |
CN106454338B true CN106454338B (en) | 2018-09-25 |
Family
ID=58218639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611055656.9A Active CN106454338B (en) | 2016-11-25 | 2016-11-25 | Method and device for detecting picture display effect of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454338B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566830B (en) * | 2017-09-21 | 2019-09-03 | 威创集团股份有限公司 | A kind of method, system and the relevant apparatus of the detection of splicing device signal fault |
CN110634116B (en) * | 2018-05-30 | 2022-04-05 | 杭州海康威视数字技术股份有限公司 | Facial image scoring method and camera |
CN108921843B (en) * | 2018-07-05 | 2022-08-12 | 深圳市路畅科技股份有限公司 | System and method for detecting performance of vehicle-mounted navigator |
CN109345100A (en) * | 2018-09-21 | 2019-02-15 | 意力(广州)电子科技有限公司 | A kind of product inspection method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067736A (en) * | 2012-12-20 | 2013-04-24 | 广州视源电子科技股份有限公司 | Automatic test system based on character recognition |
CN103338380A (en) * | 2013-06-06 | 2013-10-02 | 宁波大学 | Adaptive image quality objective evaluation method |
CN105744261A (en) * | 2014-12-10 | 2016-07-06 | 上海仪电数字技术有限公司 | System and method for testing set top box front panels |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7810127B2 (en) * | 2005-08-31 | 2010-10-05 | Time Warner Cable, Inc. | System and method for evaluating the operational status of a STB in a cable network |
-
2016
- 2016-11-25 CN CN201611055656.9A patent/CN106454338B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067736A (en) * | 2012-12-20 | 2013-04-24 | 广州视源电子科技股份有限公司 | Automatic test system based on character recognition |
CN103338380A (en) * | 2013-06-06 | 2013-10-02 | 宁波大学 | Adaptive image quality objective evaluation method |
CN105744261A (en) * | 2014-12-10 | 2016-07-06 | 上海仪电数字技术有限公司 | System and method for testing set top box front panels |
Also Published As
Publication number | Publication date |
---|---|
CN106454338A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110212451B (en) | Electric power AR intelligence inspection device | |
CN106454338B (en) | Method and device for detecting picture display effect of electronic equipment | |
CN106780521B (en) | Screen light leakage detection method, system and device | |
CN111613009B (en) | Indoor dangerous heat source prediction alarm method and device based on infrared thermal imaging | |
US11092507B2 (en) | Method of indicating gas movement in a scene | |
CN111798407B (en) | Electrified equipment fault diagnosis method based on neural network model | |
US20090021580A1 (en) | Camera calibration device and camera calibration method | |
US10235574B2 (en) | Image-capturing device, recording device, and video output control device | |
JP7005930B2 (en) | Sheet inspection equipment and inspection system | |
CN109752722B (en) | Multi-modal acoustic imaging tool | |
KR101998639B1 (en) | Intelligent system for ignition point surveillance using composite image of thermal camera and color camera | |
CN111604888B (en) | Inspection robot control method, inspection system, storage medium and electronic device | |
CN111047568A (en) | Steam leakage defect detection and identification method and system | |
KR102336030B1 (en) | Electric vehicle charger fire detection and charger condition prediction system | |
KR101503213B1 (en) | Visual range measurement device and method using a geographical information and perspective of a visual image | |
WO2017057780A1 (en) | Data collection device, method, and program for display panel or control panel | |
CN110620887B (en) | Image generation device and image generation method | |
CN117348014A (en) | Portable acoustic imaging tool with scanning and analysis capabilities | |
CN113840137B (en) | Verification method and system for mobile detection sensitivity of network camera | |
WO2015096824A1 (en) | Analysis device and analysis method | |
KR20230036557A (en) | A system for monitoring solar panel failures on a large scale using drones | |
JP5243486B2 (en) | Cable position detection device, cable position detection method, and cable position detection program | |
CN114923583A (en) | Thermal image selection device and thermal image selection method | |
CN106686374A (en) | Method, system and device for detecting screen color saturation | |
CN109975312A (en) | A kind of cigarette bobbin paper quality detection device and method based on machine vision technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |