A data processing system for display device detection

By acquiring and recognizing image information, the overall screen contrast is determined, solving the problem that existing technologies can only detect the contrast at the center of the screen, and achieving efficient and accurate screen contrast detection.

CN122243853APending Publication Date: 2026-06-19GUANGDONG JUHUA RES INST OF ADVANCED DISPLAY +2

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG JUHUA RES INST OF ADVANCED DISPLAY
Filing Date
2024-12-10
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Existing screen contrast detection methods can only detect the contrast at the center of the screen, and cannot comprehensively evaluate the overall screen contrast, and are inefficient.

Method used

By acquiring the image information to be processed, recognition processing is performed to determine the target image region information. By combining the target image region information and the image information to be processed, the target detection result information is determined, thereby realizing the overall screen contrast detection.

Benefits of technology

It improves the efficiency and accuracy of screen contrast detection, reduces the need for spectrometers to collect brightness data, and achieves efficient detection of overall screen contrast.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122243853A_ABST
    Figure CN122243853A_ABST
Patent Text Reader

Abstract

This application discloses a data processing system for detecting display devices, which performs recognition processing on the image information to be processed to obtain target image region information; and determines target detection result information based on the target image region information and the image information to be processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically to a data processing system for detecting display devices. Background Technology

[0002] With the rapid development of display technology, people's requirements for display devices are also increasing, and screen contrast ratio has become an important indicator for measuring display devices. Existing screen contrast ratio testing methods typically use a spectrometer to collect the center brightness of pure white and pure black images, and then calculate the screen contrast ratio based on the center brightness. This method can only detect the contrast ratio at the center of the screen. Summary of the Invention

[0003] This application provides a data processing system for detecting display devices.

[0004] In a first aspect, this application provides a method comprising:

[0005] Obtain the image information to be processed;

[0006] The image information to be processed is identified to obtain the target image region information;

[0007] Based on the target image region information and the image information to be processed, the target detection result information is determined.

[0008] Secondly, this application provides a system comprising:

[0009] The information acquisition module is used to acquire information about the image to be processed.

[0010] The information recognition module is used to recognize and process the image information to obtain the target image region information;

[0011] The information determination module is used to determine the target detection result information based on the target image region information and the image to be processed information.

[0012] Thirdly, this application also provides a computer device, which includes:

[0013] One or more processors;

[0014] Memory; and

[0015] One or more applications, wherein the applications are stored in memory and configured to be executed by a processor to implement the methods of any one of the first aspects.

[0016] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps of the method in any of the first aspects. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram of a data processing system provided in an embodiment of the present invention;

[0019] Figure 2 This is a flowchart of one embodiment of the data processing method provided by the present invention;

[0020] Figure 3 This is a flowchart illustrating a specific embodiment of obtaining image information to be processed provided by the present invention.

[0021] Figure 4 This is a schematic diagram of the sixth image information provided in an embodiment of the present invention;

[0022] Figure 5 This is a schematic diagram of the fifth image information provided in an embodiment of the present invention;

[0023] Figure 6 This is a flowchart of a specific embodiment of the recognition and processing of image information provided in this invention;

[0024] Figure 7 This is a schematic diagram of the first image information provided in an embodiment of the present invention;

[0025] Figure 8 This is a schematic diagram of the second image information provided in an embodiment of the present invention;

[0026] Figure 9 This is a schematic diagram of the third image information provided in an embodiment of the present invention;

[0027] Figure 10 This is a schematic diagram of the fourth image information provided in an embodiment of the present invention;

[0028] Figure 11 This is a flowchart illustrating a specific embodiment of determining target detection result information provided in this invention.

[0029] Figure 12 This is a schematic block diagram of the data processing system provided in the embodiments of the present invention;

[0030] Figure 13 This is a schematic diagram of an embodiment of the computer device provided in this invention. Detailed Implementation

[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0032] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Furthermore, the terms "first," "second," and "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, features defined with "first," "second," "third," etc., may explicitly or implicitly include one or more features. In the description of this application, "several" means at least one, unless otherwise explicitly specified.

[0033] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0034] It should be noted that since the method in this application embodiment is executed in a computer device, the processing objects of each computer device exist in the form of data or information, such as time, which is essentially time information. It is understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the computer device can process them. Specific details will not be elaborated here.

[0035] This application provides a data processing method and system for display device detection, which will be described in detail below.

[0036] Please see Figure 1 , Figure 1 This is a schematic diagram of a data processing system provided in an embodiment of this application. The data processing system may include a computer device 100, which integrates the data processing system, such as... Figure 1 Computer equipment in the country.

[0037] In this embodiment, the computer device 100 is mainly used to acquire image information to be processed; to perform recognition processing on the image information to be processed to obtain target image region information; and to determine target detection result information based on the target image region information and the image information to be processed, thereby realizing overall screen contrast detection and improving the efficiency of screen contrast detection.

[0038] In this embodiment, the computer device 100 can be a standalone server, a server network, or a server cluster. For example, the computer device 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0039] It is understood that the computer device 100 used in the embodiments of this application can be a device that includes both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a device may include: cellular or other communication devices having a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. Specifically, the computer device 100 may be a desktop terminal or a mobile terminal, and may also be one of a mobile phone, tablet computer, laptop computer, etc.

[0040] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of computer devices shown is more or less, for example Figure 1 Only one computer device is shown in the diagram. It is understood that the data processing system may also include one or more other services, which are not limited here.

[0041] In addition, such as Figure 1As shown, the data processing system may also include a memory 200 for storing data, such as image information, such as image information to be processed, first image information, etc., and image region information, such as first image region information, second image region information, etc.

[0042] It should be noted that, Figure 1 The schematic diagram of the data processing system shown is merely an example. The data processing system and scenario described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of data processing systems and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0043] like Figure 2 The diagram shown is a flowchart of an embodiment of the data processing method in this application. The data processing method may include the following steps S201 to S203, as detailed below:

[0044] S201. Obtain the image information to be processed.

[0045] In this embodiment of the application, the image information to be processed is image information obtained by a computer device for contrast detection of a target display screen. The image information to be processed can be image information directly obtained by the computer device from other computer devices through means such as network, Bluetooth and infrared. The image information to be processed can also be obtained by the computer device by performing image conversion processing on the fifth image information. The fifth image information is obtained by the imaging module by capturing the sixth image information displayed on the target display screen.

[0046] In one specific embodiment, the image information to be processed is obtained by a computer device performing image conversion processing on the fifth image information, referring to... Figure 3 As shown, obtaining the image information to be processed in step S201 above may include steps S301 to S302, as follows:

[0047] S301, Obtain the fifth image information.

[0048] In this embodiment, the fifth image information is obtained by capturing the sixth image information displayed on the target display screen using an imaging module. This imaging module can be an imaging module configured within the computer device itself, a high-definition camera, or an imaging module from other computer devices; this embodiment does not limit the specific imaging module. For example, when the data processing method of this application is applied to a smartphone, the smartphone can directly capture the sixth image information displayed on the target display screen using its own configured imaging module, thereby obtaining the fifth image information. When the data processing method of this application is applied to a server, the server can acquire the fifth image information through the smartphone's imaging module and obtain the fifth image information from the smartphone via network, Bluetooth, infrared, or other means.

[0049] Furthermore, the target display screen is a display screen that needs to be tested for contrast. The target display screen can be the screen of a smart TV, the target display module can be the screen of a computer (e.g., a tablet computer, a laptop computer), or the screen of a projector. This embodiment does not limit the scope of the target display screen.

[0050] In one specific embodiment, the sixth image information includes a plurality of first target regions and a plurality of second target regions, which are sequentially spaced along a first direction and / or a second direction, and the first and second directions are perpendicular to each other. For example, refer to... Figure 4 As shown, the sixth image information includes white and black squares spaced sequentially along the horizontal and vertical axes.

[0051] When the sixth image information contains a small number of first and second target regions, the target regions used for screen contrast detection are also small, leading to inaccurate screen detection results. Conversely, when the sixth image information contains a large number of first and second target regions, adjacent first and second target regions interfere with each other during screen contrast detection, also resulting in inaccurate screen detection results. To ensure that the generated sixth image information contains an appropriate number of first and second target regions, in a specific embodiment, the sixth image information is obtained through the following steps: obtaining first feature information; performing image information generation processing on the first feature information to obtain the sixth image information. The first feature information is used to characterize the number of first target regions and / or second target regions. For example, continuing to refer to... Figure 4 As shown, the number of black and white squares in the sixth image information is 14*14, and the first feature information is 14. That is, when the first feature information is 14, it can generate... Figure 4 The image shown is a 14x14 checkerboard pattern with black and white alternations.

[0052] It should be noted that since the fifth image information is obtained by capturing the sixth image information displayed on the target screen through the imaging module, the fifth image information also includes several first target areas and several second target areas, which are sequentially spaced along a first direction and / or a second direction. For example, [the text abruptly ends here]. Figure 4 The sixth image information shown is displayed on the target display screen, and by capturing the sixth image information displayed on the target display screen using an imaging module, we can obtain... Figure 5 The fifth image information shown.

[0053] In one specific embodiment, the aforementioned first feature information can be obtained through the following steps: obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information; if the pixel difference between the third pixel value and the fourth pixel value is less than or equal to a pixel threshold, updating the first candidate image information and the second candidate image information, and continuing to execute the steps of obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information until the pixel difference is greater than the pixel threshold; performing feature extraction on the second candidate image information to obtain second feature information; and performing calculation processing on the second feature information to obtain first feature information. This embodiment determines the first feature information based on the pixel difference and the pixel threshold, and generates sixth image information based on the first feature information, which can ensure that the generated sixth image information contains an appropriate number of first target regions and second target regions, improving the accuracy of the detection results.

[0054] In this embodiment of the application, both the first candidate image information and the second candidate image information include a plurality of first target regions and a plurality of second target regions. The number of first target regions and second target regions contained in the first candidate image information is less than the number of first target regions and second target regions contained in the second candidate image information. For example, the number of first target regions and second target regions contained in the first candidate image information is 3*3, and the number of first target regions and second target regions contained in the second candidate image information is 4*4; or, for another example, the number of first target regions and second target regions contained in the first candidate image information is 3*3, and the number of first target regions and second target regions contained in the second candidate image information is 5*5.

[0055] Furthermore, the third pixel value can represent the image brightness corresponding to the first candidate image information. The third pixel value can be the pixel value of the center point of the image corresponding to the first candidate image information, or it can be the average pixel value of the central region of the image corresponding to the first candidate image information, or it can be the average pixel value of all pixels in the first candidate image information. This embodiment does not impose any limitations. The fourth pixel value can represent the image brightness corresponding to the second candidate image information. The fourth pixel value can be the average pixel value of the central region of the image corresponding to the second candidate image information, or it can be the average pixel value of the central region of the image corresponding to the second candidate image information, or it can be the average pixel value of all pixels in the second candidate image information. This embodiment does not impose any limitations.

[0056] In this embodiment, the pixel threshold is a pre-set threshold used to measure whether the second candidate image information shows a significant decrease in brightness compared to the first candidate image information. If the pixel difference is less than or equal to the pixel threshold, it indicates that the second candidate image information does not show a significant decrease in brightness compared to the first candidate image information. At this time, the number of the first target region and the second target region in the first candidate image information and / or the second candidate image information can be increased, and the steps of obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information can continue to be executed. Conversely, if the pixel difference is greater than the pixel threshold, it indicates that the second candidate image information shows a significant decrease in brightness compared to the first candidate image information. Then, feature extraction is performed on the second candidate image information to obtain the second feature information, and the second feature information is calculated and processed to obtain the first feature information.

[0057] In this embodiment, the second feature information represents the number of the first target region and the second target region in the second candidate image information. When calculating the second feature information, the second feature information can be subtracted from the second parameter information to obtain the first feature information. For example, when the second feature information is 17, subtracting 3 from the second feature information yields the first feature information of 14. Based on the first feature information 14, a [database name] can be generated. Figure 4 The image shown is a 14x14 checkerboard pattern with black and white alternations.

[0058] S302. Perform image conversion processing on the fifth image information to obtain the image information to be processed.

[0059] In this embodiment, image conversion processing refers to converting the fifth image information from one color mode to another. In a specific embodiment, image conversion processing of the fifth image information refers to converting the fifth image information to a grayscale color mode. By converting the image corresponding to the fifth image information into a grayscale image, the accuracy of the detection results can be improved.

[0060] S202. Perform recognition processing on the image information to be processed to obtain the target image region information.

[0061] In this embodiment, a region represents a set of pixels in the image information to be processed that have interconnected and consistent attributes. The image information to be processed includes several first target regions and several second target regions. The several first target regions and several second target regions are sequentially spaced along a first direction and / or a second direction, and the first direction and the second direction are perpendicular to each other. The recognition processing refers to the process of locating the first target regions and / or the second target regions in the image information to be processed. The target image region information includes the first image region information corresponding to the first target region and / or the second image region information corresponding to the second target region.

[0062] In a specific implementation, such as Figure 6 As shown, the process of recognizing and processing the image information to be processed in step S202 to obtain the target image region information may include steps S401 to S402, as follows:

[0063] S401. Based on the image information to be processed, determine the first image information and the second image information.

[0064] In this embodiment, the second image information is image information obtained by inverting the grayscale values ​​of the pixels in the first image information. The pixel value of each pixel in the second image information is the opposite of the pixel value in the first image information. For example, refer to... Figure 7 and Figure 8 As shown, Figure 7 Indicates the first image information. Figure 8 This indicates the second image information. Figure 7 Pixels with a value of 0 in the middle Figure 8 The corresponding pixel value is 1. Figure 7 A pixel with a value of 1 in Figure 8 The corresponding pixel value is 0.

[0065] In one specific embodiment, the step of determining the first image information and the second image information based on the image information to be processed specifically includes: performing binarization processing on the image information to be processed to obtain the third image information; performing pixel adjustment processing on the third image information to obtain the fourth image information; performing image enhancement processing on the third image information to obtain the first image information; and performing image enhancement processing on the fourth image information to obtain the second image information.

[0066] In this embodiment, binarization processing means setting the pixel value of a pixel in the image information to be processed to a first target value or a second target value. For example, setting the pixel value of a pixel in the image information to be processed to 0 or 1. In a specific embodiment, binarization processing of the image information to be processed means setting the pixel value of the pixel in the first target region of the image information to the first target value, and setting the pixel values ​​of the pixel in other regions of the image information to the second target value. For example, setting the pixel value of the pixel in the region corresponding to the white square in the image information to 1, and setting the pixel value of the pixel in other regions to 0, yields... Figure 9 The third image information shown.

[0067] Furthermore, pixel adjustment processing of the third image information refers to inverting the grayscale values ​​of pixels in the third image information, that is, setting the pixel values ​​of pixels in the first target region of the third image information to the second target value, and setting the pixel values ​​of pixels in other regions of the third image information to the first target value. For example, ... Figure 9 In the third image information shown, the pixel values ​​of the pixels in the area corresponding to the white square are set to 0, and the pixel values ​​of the pixels in other areas are set to 1. This allows us to obtain... Figure 10 The fourth image information is shown. This embodiment, by performing pixel adjustment processing on the third image information, can separate the first target region and the second target region for localization, improving the accuracy of the obtained target image region information, and thus improving the accuracy of the obtained detection results.

[0068] Considering that the first and second target regions in the third and fourth image information are connected and cannot be distinguished during recognition processing, image enhancement processing is further performed on the third and fourth image information after obtaining it to improve the accuracy of recognition processing. In a specific embodiment, image enhancement processing on the third and fourth image information can be performed by morphological erosion processing. For example, by calling the OpenCV MorphologyEx method to perform morphological erosion processing on the third and fourth image information, when the size of the erosion kernel is set to 30*30, the edge of the first or second target region can be reduced by 15 pixels towards the center of the region, thereby separating the first and second target regions from each other and improving the accuracy of recognition processing.

[0069] S402. Based on the first image information and the second image information, determine the target image region information.

[0070] In one specific embodiment, the step of determining the target image region information based on the first image information and the second image information specifically includes: performing contour detection on the first image information to obtain first contour information; performing contour detection on the second image information to obtain second contour information; and determining the target image region information based on the first contour information and the second contour information. For example, calling the OpenCV FindContours method to... Figure 7 Contour detection is performed on the first image information shown, and the contour of the white area in the first image information can be obtained. The OpenCV FindContours method is then called to... Figure 8 Contour detection is performed on the second image information shown, and the contour of the white area in the second image information can be obtained.

[0071] In one specific embodiment, the target image region information includes first image region information and / or second image region information. The step of determining the target image region information based on the first contour information and the second contour information specifically includes: filtering the first contour information to obtain third contour information; filtering the second contour information to obtain fourth contour information; determining the image region in the image information to be processed corresponding to the third contour information as the first image region information; and determining the image region in the image information to be processed corresponding to the fourth contour information as the second image region information. This embodiment, by filtering the first and second contour information and then determining the target image region information based on the filtered third and fourth contour information, can filter out interference information in the third and fourth contour information, thereby improving the accuracy of the determined target image region information.

[0072] In one specific embodiment, the step of filtering the first contour information to obtain the third contour information specifically includes: fitting the first contour information to obtain several first target point information; each first target point information includes several first target points; filtering the several first target point information based on the first target points in each first target point information to obtain several second target point information; and determining the contour information corresponding to the several second target point information in the first contour information as the third contour information.

[0073] In this embodiment of the application, several first target point information is obtained by fitting first contour information. That is, the first contour information includes the contour information corresponding to each first target point information, and several second target point information are target point information selected from several first target point information. Therefore, the contour information corresponding to the second target point information can be directly obtained from the first contour information.

[0074] Optionally, fitting the first contour information can yield several polygons. The several first target point information consists of the corner point information corresponding to each of the polygons. For example, when the polygon is square, the first target point information consists of the four corner points of the square. The several second target point information consists of target point information among the several first target point information that satisfies a first condition. The first target point satisfies the first condition if the number of first target points is greater than or equal to a first quantity threshold, and / or if the angle between the lines connecting adjacent first target points is within a first angle range. For example, for... Figure 7 For the white squares in the diagram, the first target point satisfies the first condition that the number of first target points is greater than or equal to 4 and the angle between the lines connecting adjacent first target points is within 90°±2°.

[0075] In one specific embodiment, the step of filtering the second contour information to obtain the fourth contour information specifically includes: fitting the second contour information to obtain several third target point information; each third target point information includes several second target points; filtering the several third target point information based on the second target points in each third target point information to obtain several fourth target point information; and determining the contour information corresponding to the several fourth target point information in the second contour information as the fourth contour information.

[0076] In this embodiment of the application, several third target point information is obtained by fitting the second contour information. That is, the second contour information includes the contour information corresponding to each third target point information, and several fourth target point information are target point information selected from several third target point information. Therefore, the contour information corresponding to the fourth target point information can be directly obtained from the second contour information.

[0077] Optionally, fitting the second contour information can yield several polygons. The several third target point information consists of the corner point information corresponding to each of the polygons. For example, when the polygons are square, the third target point information consists of the four corner points of the square. The several fourth target point information consists of the target point information among the several third target point information where the second target point satisfies a second condition. The second target point satisfies the second condition if the number of second target points is greater than or equal to a second quantity threshold, and / or if the angle between the lines connecting adjacent second target points is within a second angle range. For example, for... Figure 8 For the white squares in the diagram, the second target point satisfies the second condition that the number of second target points is greater than or equal to 4 and the angle between the lines connecting adjacent second target points is within 90°±2°.

[0078] S203. Based on the target image region information and the image to be processed information, determine the target detection result information.

[0079] In this embodiment, the target detection result information can characterize the contrast of the target display screen. This embodiment performs recognition processing on the image information to be processed to obtain the target image region information. Based on the target image region information and the image information to be processed, the target detection result information is determined, which can detect the overall contrast of the target display screen.

[0080] Furthermore, existing contrast detection methods use a spectrometer to collect the brightness of the screen center when displaying a pure white image and a pure black image, respectively, and then calculate the contrast ratio of the screen center using a formula. This contrast detection process requires two brightness acquisitions using a spectrometer. The embodiments of this application determine the target detection result information based on the target image region information and the image information to be processed. During screen detection, there is no need to collect screen brightness data using a spectrometer, which can improve the efficiency of screen contrast detection.

[0081] In one specific embodiment, the target image region information includes first image region information, and / or, second image region information, such as... Figure 11 As shown, in step S203 above, determining the target detection result information based on the target image region information and the image to be processed information may include steps S501 to S503, as follows:

[0082] S501. Determine the first pixel information based on the first image region information and the image information to be processed.

[0083] In this embodiment, the first pixel information is a pixel value determined based on the first image region information and the image information to be processed. The first pixel information can be the average pixel value of the pixel points corresponding to the first target region in the image information to be processed, or it can be the pixel value of a certain pixel point in the first target region in the image information to be processed, or it can be the average pixel value of the pixel points corresponding to a certain region in the first target region in the image information to be processed. This embodiment does not limit the specific pixel information.

[0084] In one specific embodiment, the step of determining the first pixel information based on the first image region information and the image information to be processed specifically includes: extracting feature points from the first image region information to obtain several first feature point information; determining several third image region information based on the several first feature point information and first parameter information; and determining the first pixel information based on the several third image region information and the image information to be processed.

[0085] In this embodiment, the first image region information comprises the position information corresponding to several first target regions, and the several first feature point information can be the center point of several first target regions, or other pixels of several first target regions. The several third image region information are circular regions with the feature points corresponding to the several first feature point information as centers and the parameter value corresponding to the first parameter information as radii. For example, if the several first feature point information are the center points of several first target regions, and the first parameter information is 5, then the several third image region information are circular regions with the center points of the several first target regions as centers and a radius of 5. This embodiment combines the several third image region information to determine the first pixel information, and can combine multiple regions of the screen for contrast detection to achieve overall screen contrast detection.

[0086] In one specific embodiment, the step of determining the first pixel information based on several third image region information and the image information to be processed specifically includes: for any third image region information among the several third image region information, determining the third pixel information corresponding to the third image region information from the image information to be processed; the third pixel information includes several first pixel values; performing a fusion processing on the first pixel values ​​in the third pixel information to obtain the second pixel value corresponding to the third image region information; and performing a fusion processing on the second pixel values ​​corresponding to the several third image region information to obtain the first pixel information.

[0087] In this embodiment, when performing fusion processing on the first pixel value in the third pixel information, the first pixel value in the third pixel information can be averaged or weighted summed. This embodiment does not limit the specific processing method.

[0088] Furthermore, when fusing the second pixel values ​​corresponding to several third image region information, the second pixel values ​​corresponding to several third image region information can be averaged, or they can be weighted and summed. This embodiment does not limit the specific processing.

[0089] S502. Determine the second pixel information based on the second image region information and the image information to be processed.

[0090] In this embodiment, the second pixel information is a pixel value determined based on the second image region information and the image information to be processed. The second pixel information can be the average pixel value of the pixel points corresponding to the second target region in the image information to be processed, or it can be the pixel value of a certain pixel point in the second target region in the image information to be processed, or it can be the average pixel value of the pixel points corresponding to a certain region in the second target region in the image information to be processed. This embodiment does not limit the specific pixel information.

[0091] In one specific embodiment, the step of determining the second pixel information based on the second image region information and the image information to be processed specifically includes: extracting feature points from the second image region information to obtain several second feature point information; determining several fourth image region information based on the several second feature point information and the second parameter information; and determining the second pixel information based on the several fourth image region information and the image information to be processed.

[0092] In this embodiment, the second image region information comprises the position information corresponding to several second target regions, and the several second feature point information can be the center point of several second target regions, or other pixels of several second target regions. The several fourth image region information are circular regions with the feature points corresponding to the several second feature point information as centers and the parameter values ​​corresponding to the second parameter information as radii. For example, if the several second feature point information are the center points of several second target regions, and the second parameter information is 5, then the several fourth image region information are circular regions with the center points of the several second target regions as centers and a radius of 5. This embodiment combines the several fourth image region information to determine the second pixel information, and can combine multiple regions of the screen for contrast detection to achieve overall screen contrast detection.

[0093] In one specific embodiment, the step of determining the second pixel information based on several fourth image region information and image information to be processed specifically includes: for any fourth image region information among the several fourth image region information, determining the fourth pixel information corresponding to the fourth image region information from the image information to be processed; the fourth pixel information includes several fifth pixel values; performing a fusion processing on the fifth pixel values ​​in the fourth pixel information to obtain the sixth pixel value corresponding to the fourth image region information; and performing a fusion processing on the sixth pixel values ​​corresponding to the several fourth image region information to obtain the second pixel information.

[0094] In this embodiment, when performing fusion processing on the fifth pixel value in the fourth pixel information, the fifth pixel value in the fourth pixel information can be averaged or weighted summed. This embodiment does not limit the specific processing method.

[0095] Furthermore, when fusing the sixth pixel values ​​corresponding to several fourth image region information, the sixth pixel values ​​corresponding to several fourth image region information can be averaged, or they can be weighted and summed. This embodiment does not limit the specific processing.

[0096] S503. Calculate and process the first pixel information and the second pixel information to obtain the target detection result information.

[0097] In one specific embodiment, the step of calculating and processing the first pixel information and the second pixel information to obtain the target detection result information specifically includes: dividing the first pixel information and the second pixel information to obtain the target detection result information. In this embodiment, since the first pixel information and the second pixel information are determined based on multiple areas of the screen, determining the target detection result information based on the first pixel information and the second pixel information can achieve overall screen contrast detection.

[0098] In one specific embodiment, after determining the target detection result information based on the target image region information and the image information to be processed, the method further includes: comparing the target detection value corresponding to the target detection result information with a detection threshold; if the target detection value is greater than the detection threshold, outputting first target information; and / or, if the target detection value is less than or equal to the detection threshold, outputting second target information.

[0099] In this embodiment, the detection threshold is a pre-set threshold used to measure whether the contrast of the target display screen meets the requirements. The first target information indicates that the contrast of the target display screen meets the requirements, and the second target information indicates that the contrast of the target display screen does not meet the requirements. For example, if the detection value corresponding to the target detection result information is 34.2094, when the detection threshold is 34, the detection value corresponding to the target detection result information is greater than the detection threshold, and the computer device outputs "Fail"; when the detection threshold is 35, the detection value corresponding to the target detection result information is less than the detection threshold, and the computer device outputs "Pass".

[0100] In summary, the data processing method provided in this implementation scheme obtains target image region information by acquiring image information to be processed, performing recognition processing on the image information to be processed, and determining target detection result information based on the target image region information and the image information to be processed. This scheme obtains target image region information by recognizing and processing the image information to be processed, and then determines target detection result information based on the target image region information and the image information to be processed. This not only enables overall screen contrast detection but also improves the efficiency of screen contrast detection. Furthermore, determining first and second image information based on the image information to be processed, and determining target image region information based on the first and second image information, improves the accuracy of contrast detection results. Even further, acquiring first feature information, performing image information generation processing on the first feature information to obtain sixth image information, capturing the sixth image information displayed on the target screen using an imaging module to obtain fifth image information, and performing image conversion processing on the fifth image information to obtain the image information to be processed, ensures that the image information to be processed contains an appropriate number of first and second target regions, further improving the accuracy of contrast detection results.

[0101] To better implement the data processing method in the embodiments of this application, a data processing system is also provided in the embodiments of this application, such as... Figure 12 As shown, the data processing system 600 includes:

[0102] Information acquisition module 610 is used to acquire image information to be processed;

[0103] The information recognition module 620 is used to recognize and process the image information to be processed, and obtain the target image region information;

[0104] The information determination module 630 is used to determine the target detection result information based on the target image region information and the image to be processed information.

[0105] In this embodiment, target image region information is obtained by recognizing and processing the image information to be processed, and then target detection result information is determined based on the target image region information and the image information to be processed. This not only enables the overall contrast detection of the screen, but also improves the efficiency of screen contrast detection.

[0106] In some embodiments of this application, the information recognition module 620 performs recognition processing on the image information to be processed to obtain target image region information, including:

[0107] Based on the image information to be processed, determine the first image information and the second image information;

[0108] Based on the first image information and the second image information, the target image region information is determined.

[0109] In some embodiments of this application, the information recognition module 620 determines first image information and second image information based on the image information to be processed, including:

[0110] The image information to be processed is binarized to obtain the third image information;

[0111] The third image information is processed by pixel adjustment to obtain the fourth image information;

[0112] The third image information is subjected to image enhancement processing to obtain the first image information;

[0113] The fourth image information is subjected to image enhancement processing to obtain the second image information.

[0114] In some embodiments of this application, the information recognition module 620 determines target image region information based on first image information and second image information, including:

[0115] Contour detection is performed on the first image information to obtain the first contour information;

[0116] Contour detection is performed on the second image information to obtain the second contour information;

[0117] Based on the first contour information and the second contour information, the target image region information is determined.

[0118] In some embodiments of this application, the target image region information includes first image region information and / or second image region information. The information recognition module 620 determines the target image region information based on the first contour information and the second contour information, including:

[0119] The first contour information is filtered to obtain the third contour information;

[0120] The second contour information is filtered to obtain the fourth contour information;

[0121] The region corresponding to the third contour information is defined as the first image region information in the image information to be processed.

[0122] The region corresponding to the fourth contour information is defined as the second image region information in the image information to be processed.

[0123] In some embodiments of this application, the information recognition module 620 filters the first contour information to obtain third contour information, including:

[0124] The first contour information is fitted to obtain several first target point information; each first target point information includes several first target points.

[0125] Based on the first target point in each first target point information, several first target point information are filtered to obtain several second target point information;

[0126] The contour information corresponding to several second target point information in the first contour information is determined as the third contour information.

[0127] In some embodiments of this application, the target image region information includes first image region information and / or second image region information. The information determination module 630 determines target detection result information based on the target image region information and the image information to be processed, including:

[0128] Based on the first image region information and the image information to be processed, the first pixel information is determined;

[0129] The second pixel information is determined based on the second image region information and the image information to be processed;

[0130] The first and second pixel information are processed to obtain the target detection result information.

[0131] In some embodiments of this application, the information determination module 630 determines the first pixel information based on the first image region information and the image information to be processed, including:

[0132] Feature points are extracted from the information of the first image region to obtain several first feature point information;

[0133] Based on several first feature point information and first parameter information, several third image region information are determined;

[0134] The first pixel information is determined based on several third image region information and the image information to be processed.

[0135] In some embodiments of this application, the information determination module 630 determines the first pixel information based on several third image region information and the image information to be processed, including:

[0136] For any third image region information among several third image region information, the third pixel information corresponding to that third image region information is determined from the image information to be processed; the third pixel information includes several first pixel values;

[0137] The first pixel value in the third pixel information is fused to obtain the second pixel value corresponding to the third image region information;

[0138] The second pixel values ​​corresponding to several third image region information are fused to obtain the first pixel information.

[0139] In some embodiments of this application, the information acquisition module 610 acquires image information to be processed, including:

[0140] The fifth image information is acquired; the fifth image information is obtained by the imaging module capturing the sixth image information displayed on the target display screen.

[0141] The fifth image information is subjected to image conversion processing to obtain the image information to be processed.

[0142] In some embodiments of this application, the sixth image information is obtained by the information acquisition module 610 through the following steps:

[0143] Obtain the first feature information;

[0144] The first feature information is processed to generate image information, resulting in the sixth image information.

[0145] In some embodiments of this application, the first feature information is obtained by the information acquisition module 610 through the following steps:

[0146] Obtain the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information;

[0147] If the pixel difference between the third pixel value and the fourth pixel value is less than or equal to the pixel threshold, the first candidate image information and the second candidate image information are updated, and the steps of obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information are continued until the pixel difference is greater than the pixel threshold.

[0148] Feature extraction is performed on the second candidate image information to obtain the second feature information;

[0149] The second feature information is processed to obtain the first feature information.

[0150] In some embodiments of this application, after the information determination module 630 determines the target detection result information based on the target image region information and the image to be processed, the information determination module 630 is further configured to:

[0151] Compare the target detection value corresponding to the target detection result information with the detection threshold;

[0152] If the target detection value is greater than the detection threshold, output the first target information; and / or,

[0153] If the target detection value is less than or equal to the detection threshold, output the second target information.

[0154] This application also provides a computer device that integrates any of the data processing systems provided in this application. The computer device includes:

[0155] One or more processors;

[0156] Memory; and

[0157] One or more applications, wherein the applications are stored in memory and configured to be executed by a processor from the steps of the data processing method in any of the embodiments described above.

[0158] This application also provides a computer device that integrates any of the data processing systems provided in this application. For example... Figure 13 As shown, it illustrates a structural schematic diagram of the computer device involved in the embodiments of this application, specifically:

[0159] The computer device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will understand that... Figure 13 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0160] The processor 801 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 802, and by calling data stored in the memory 802, thereby providing overall monitoring of the computer device. Optionally, the processor 801 may include one or more processing cores; optionally, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 801.

[0161] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

[0162] The computer device also includes a power supply 803 that supplies power to the various components. Optionally, the power supply 803 can be logically connected to the processor 801 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 803 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0163] The computer device may also include an input unit 804, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0164] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 801 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802 to realize various functions, as follows:

[0165] Obtain the image information to be processed;

[0166] The image information to be processed is identified to obtain the target image region information;

[0167] Based on the target image region information and the image information to be processed, the target detection result information is determined.

[0168] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0169] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the data processing methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps:

[0170] Obtain the image information to be processed;

[0171] The image information to be processed is identified to obtain the target image region information;

[0172] Based on the target image region information and the image information to be processed, the target detection result information is determined.

[0173] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0174] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0175] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0176] The above provides a detailed description of a data processing method and system for display device detection provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method, characterized in that, include: Obtain the image information to be processed; The image information to be processed is identified to obtain the target image region information; Based on the target image region information and the image information to be processed, the target detection result information is determined.

2. The method according to claim 1, characterized in that, The process of recognizing and processing the image information to obtain target image region information includes: Based on the image information to be processed, determine the first image information and the second image information; Based on the first image information and the second image information, the target image region information is determined.

3. The method according to claim 2, characterized in that, The step of determining the first image information and the second image information based on the image information to be processed includes: The image information to be processed is binarized to obtain the third image information; The third image information is subjected to pixel adjustment processing to obtain the fourth image information; The third image information is subjected to image enhancement processing to obtain the first image information; The fourth image information is subjected to image enhancement processing to obtain the second image information.

4. The method according to claim 2, characterized in that, The step of determining the target image region information based on the first image information and the second image information includes: Contour detection is performed on the first image information to obtain first contour information; Contour detection is performed on the second image information to obtain second contour information; Based on the first contour information and the second contour information, the target image region information is determined.

5. The method according to claim 4, characterized in that, The target image region information includes first image region information and / or second image region information; The step of determining the target image region information based on the first contour information and the second contour information includes: The first contour information is filtered to obtain the third contour information; The second contour information is filtered to obtain the fourth contour information; The region corresponding to the third contour information is defined as the first image region information in the image information to be processed. The region corresponding to the fourth contour information is defined as the image region in the image information to be processed as the second image region information.

6. The method according to claim 5, characterized in that, The step of filtering the first contour information to obtain the third contour information includes: The first contour information is fitted to obtain several first target point information; each first target point information includes several first target points. Based on the first target point in each first target point information, several first target point information are filtered to obtain several second target point information; The contour information corresponding to several second target point information in the first contour information is determined as the third contour information.

7. The method according to claim 1, characterized in that, The target image region information includes first image region information and / or second image region information; The step of determining the target detection result information based on the target image region information and the image to be processed includes: Based on the first image region information and the image information to be processed, the first pixel information is determined; Based on the second image region information and the image information to be processed, the second pixel information is determined; The first pixel information and the second pixel information are processed to obtain the target detection result information.

8. The method according to claim 7, characterized in that, The step of determining the first pixel information based on the first image region information and the image information to be processed includes: Feature points are extracted from the first image region information to obtain several first feature point information; Based on several first feature point information and first parameter information, several third image region information are determined; Based on several third image region information and the image information to be processed, the first pixel information is determined.

9. The method according to claim 8, characterized in that, The step of determining the first pixel information based on several third image region information and the image information to be processed includes: For any one of the plurality of third image region information, the third pixel information corresponding to the third image region information is determined from the image information to be processed; the third pixel information includes a plurality of first pixel values; The first pixel value in the third pixel information is fused to obtain the second pixel value corresponding to the third image region information; The second pixel values ​​corresponding to several third image region information are fused to obtain first pixel information.

10. The method according to claim 1, characterized in that, The acquisition of the image information to be processed includes: The fifth image information is acquired; the fifth image information is obtained by capturing the sixth image information displayed on the target display screen through the imaging module; The fifth image information is subjected to image conversion processing to obtain the image information to be processed.

11. The method according to claim 10, characterized in that, The sixth image information is obtained through the following steps: Obtain the first feature information; The first feature information is processed to generate image information, resulting in the sixth image information.

12. The method according to claim 11, characterized in that, The first feature information is obtained through the following steps: Obtain the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information; If the pixel difference between the third pixel value and the fourth pixel value is less than or equal to the pixel threshold, the first candidate image information and the second candidate image information are updated, and the step of obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information continues to be executed until the pixel difference is greater than the pixel threshold. Feature extraction is performed on the second candidate image information to obtain second feature information; The second feature information is processed to obtain the first feature information.

13. The method according to any one of claims 1 to 12, characterized in that, After determining the target detection result information based on the target image region information and the image to be processed information, the process includes: Compare the target detection value corresponding to the target detection result information with the detection threshold; If the target detection value is greater than the detection threshold, output the first target information; and / or, If the target detection value is less than or equal to the detection threshold, output the second target information.

14. A system, characterized in that, include: The information acquisition module is used to acquire information about the image to be processed. The information recognition module is used to recognize and process the image information to obtain target image region information; The information determination module is used to determine target detection result information based on the target image region information and the image to be processed information; Optionally, the information recognition module performs recognition processing on the image information to be processed to obtain target image region information, including: Based on the image information to be processed, determine the first image information and the second image information; Based on the first image information and the second image information, the target image region information is determined; Optionally, the information recognition module determines first image information and second image information based on the image information to be processed, including: The image information to be processed is binarized to obtain the third image information; The third image information is subjected to pixel adjustment processing to obtain the fourth image information; The third image information is subjected to image enhancement processing to obtain the first image information; The fourth image information is subjected to image enhancement processing to obtain the second image information; Optionally, the information recognition module determines the target image region information based on the first image information and the second image information, including: Contour detection is performed on the first image information to obtain first contour information; Contour detection is performed on the second image information to obtain second contour information; Based on the first contour information and the second contour information, the target image region information is determined; Optionally, the target image region information includes first image region information and / or second image region information. The information recognition module determines the target image region information based on the first contour information and the second contour information, including: The first contour information is filtered to obtain the third contour information; The second contour information is filtered to obtain the fourth contour information; The region corresponding to the third contour information is defined as the first image region information in the image information to be processed. The region corresponding to the fourth contour information is defined as the image region in the image information to be processed as the second image region information; Optionally, the information recognition module filters the first contour information to obtain third contour information, including: The first contour information is fitted to obtain several first target point information; each first target point information includes several first target points. Based on the first target point in each first target point information, several first target point information are filtered to obtain several second target point information; The contour information corresponding to several second target point information in the first contour information is determined as the third contour information; Optionally, the target image region information includes first image region information and / or second image region information. The information determination module determines target detection result information based on the target image region information and the image information to be processed, including: Based on the first image region information and the image information to be processed, the first pixel information is determined; Based on the second image region information and the image information to be processed, the second pixel information is determined; The first pixel information and the second pixel information are processed to obtain the target detection result information; Optionally, the information determining module determines the first pixel information based on the first image region information and the image information to be processed, including: Feature points are extracted from the first image region information to obtain several first feature point information; Based on several first feature point information and first parameter information, several third image region information are determined; Based on several third image region information and the image information to be processed, the first pixel information is determined; Optionally, the information determining module determines the first pixel information based on several third image region information and the image information to be processed, including: For any one of the plurality of third image region information, the third pixel information corresponding to the third image region information is determined from the image information to be processed; the third pixel information includes a plurality of first pixel values; The first pixel value in the third pixel information is fused to obtain the second pixel value corresponding to the third image region information; The second pixel values ​​corresponding to several third image region information are fused to obtain first pixel information; Optionally, the information acquisition module acquires the image information to be processed, including: The fifth image information is acquired; the fifth image information is obtained by capturing the sixth image information displayed on the target display screen through the imaging module; The fifth image information is subjected to image conversion processing to obtain the image information to be processed; Optionally, the sixth image information is obtained by the information acquisition module through the following steps: Obtain the first feature information; The first feature information is processed to generate image information, resulting in the sixth image information. Optionally, the first feature information is obtained by the information acquisition module through the following steps: Obtain the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information; If the pixel difference between the third pixel value and the fourth pixel value is less than or equal to the pixel threshold, the first candidate image information and the second candidate image information are updated, and the step of obtaining the third pixel value corresponding to the first candidate image information and the fourth pixel value corresponding to the second candidate image information continues to be executed until the pixel difference is greater than the pixel threshold. Feature extraction is performed on the second candidate image information to obtain second feature information; The second feature information is processed to obtain the first feature information; Optionally, after the information determining module determines the target detection result information based on the target image region information and the image to be processed information, the information determining module is further configured to: Compare the target detection value corresponding to the target detection result information with the detection threshold; If the target detection value is greater than the detection threshold, output the first target information; and / or, If the target detection value is less than or equal to the detection threshold, output the second target information.

15. A computer device, characterized in that, The computer device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1 to 13.

16. A computer-readable storage medium, characterized in that, It contains a computer program that is loaded by a processor to perform the steps of the method according to any one of claims 1 to 13.