Picture quality detection method, device, equipment and storage medium
By generating a comparison between the reference image and the target image, the problem of low accuracy of picture quality detection in the existing technology is solved, automatic picture quality detection is realized, and detection accuracy is improved.
Patent Information
- Application Number
- CN202210010451.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-06
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-01-06
AI Technical Summary
In the existing technology, picture quality detection relies too much on manual evaluation, resulting in low accuracy.
By obtaining the running instruction information, the reference application and the target application are run respectively, the reference image and the target image are generated, and the target image is compared with the reference image to obtain the picture quality detection result to improve detection accuracy.
Accurate detection of target application picture quality is achieved, detection accuracy is improved, and an automated picture quality detection method is provided.
Smart Images

Figure CN114418972B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, equipment and storage medium for detecting image quality. Background Art
[0002] With the development of computer technology, various applications have gradually emerged, such as game applications, social applications, video applications, etc. In order to ensure that the application has good display performance, it is necessary to test the picture quality of the application.
[0003] In the related art, the tester evaluates the image quality of the application by viewing the image displayed by the application, thereby manually completing the image quality detection. However, this method relies too much on human subjective feelings, resulting in low accuracy of image quality detection. Summary of the invention
[0004] The embodiments of the present application provide a method, device, equipment and storage medium for detecting picture quality, which can improve the accuracy of picture quality detection. The technical solution is as follows:
[0005] In one aspect, a method for detecting picture quality is provided, the method comprising:
[0006] Obtaining operation instruction information;
[0007] According to the running instruction information, respectively running the reference application and the target application to obtain a reference image and a target image, wherein the reference image is generated during the running of the reference application, the target image is generated during the running of the target application, and the reference application and the target application are different versions of the same application;
[0008] The target image is compared with the reference image to obtain a picture quality detection result of the target image, and the picture quality detection result is used to represent the picture quality of the target application.
[0009] Optionally, the picture quality detection result includes multiple quality levels and scores corresponding to each quality level, and the scores corresponding to the quality levels indicate the possibility that the picture quality of the target image belongs to the quality level. After comparing the target image with the reference image to obtain the picture quality detection result of the target image, the method further includes:
[0010] The quality level corresponding to the highest score in the picture quality detection result is determined as the quality level to which the picture quality of the target image belongs.
[0011] On the other hand, a picture quality detection device is provided, the device comprising:
[0012] An information acquisition module, used to acquire operation instruction information;
[0013] an image generation module, configured to respectively run the reference application and the target application according to the running instruction information to obtain a reference image and a target image, wherein the reference image is generated during the running of the reference application, the target image is generated during the running of the target application, and the reference application and the target application are different versions of the same application;
[0014] The picture quality detection module is used to compare the target image with the reference image to obtain a picture quality detection result of the target image, wherein the picture quality detection result is used to represent the picture quality of the target application.
[0015] Optionally, the operation instruction information includes an operation identifier, and the image generation module includes:
[0016] A first generating unit, configured to execute the operation indicated by the operation identifier in the reference application, take a screenshot of the obtained screen, and obtain the reference image;
[0017] The second generating unit is used to execute the operation indicated by the operation identifier in the target application, take a screenshot of the obtained screen, and obtain the target image.
[0018] Optionally, the reference application and the target application include a virtual scene, the operation identifier is used to indicate an operation performed by a virtual object in the virtual scene, and the first generating unit is used to control the virtual object in the virtual scene to perform the operation indicated by the operation identifier in the reference application, and take a screenshot of the obtained screen to obtain the reference image;
[0019] The second generating unit is used to control the virtual object in the virtual scene to perform the operation indicated by the operation identifier in the target application, and take a screenshot of the obtained screen to obtain the target image.
[0020] Optionally, the operation instruction information includes multiple operation time points and an operation identifier corresponding to at least one operation time point;
[0021] The first generating unit is configured to, in the reference application, perform the operation indicated by the operation identifier corresponding to the operation time point each time the operation time point is reached, take a screenshot of the obtained screen, and obtain a reference image corresponding to the operation time point;
[0022] The second generating unit is used to execute the operation indicated by the operation identifier corresponding to the operation time point each time the operation time point is reached in the target application, take a screenshot of the obtained screen, and obtain the target image corresponding to the operation time point.
[0023] Optionally, the device further comprises:
[0024] The information generation module is used to respond to the operation instruction in the reference application, execute the operation corresponding to the operation instruction in the reference application, and generate the operation instruction information, wherein the operation instruction information includes the operation identifier corresponding to the operation.
[0025] Optionally, the reference application and the target application include a virtual scene, the operation instruction information includes a position of a virtual object in the virtual scene, and the image generation module includes:
[0026] A first generating unit is used for controlling the virtual object in the virtual scene to be displayed at the position in the reference application, and taking a screenshot of the obtained picture to obtain the reference image;
[0027] The second generating unit is used to control the virtual object in the virtual scene to be displayed at the position in the target application, and to take a screenshot of the obtained picture to obtain the target image.
[0028] Optionally, the operation indication information includes multiple display time points and a position corresponding to each display time point;
[0029] The first generating unit is used for controlling the virtual object to be displayed at a position corresponding to the display time point each time the display time point is reached in the reference application, taking a screenshot of the obtained picture, and obtaining a reference image corresponding to the display time point;
[0030] The second generating unit is used to control the virtual object to be displayed at a position corresponding to the display time point each time the display time point is reached in the target application, and to take a screenshot of the obtained image to obtain a target image corresponding to the display time point.
[0031] Optionally, the operation instruction information further includes a target operation identifier, and the target operation identifier is used to indicate an operation performed by the virtual object at the position;
[0032] The first generating unit is used to control the virtual object to be displayed at the position in the reference application, and to control the virtual object to perform the operation indicated by the target operation identifier at the position, and to take a screenshot of the obtained screen to obtain the reference image;
[0033] The second generating unit is used to control the virtual object to be displayed at the position in the target application, and to control the virtual object to perform the operation indicated by the target operation identifier at the position, and to take a screenshot of the obtained screen to obtain the target image.
[0034] Optionally, the device further comprises:
[0035] An information generating module, configured to respond to an operation instruction in the reference application, and control the virtual object in the virtual scene to perform an operation corresponding to the operation instruction in the reference application;
[0036] The information generating module is further used to obtain the position of the virtual object in the virtual scene and generate the operation instruction information, wherein the operation instruction information includes the position.
[0037] Optionally, the image generation module includes:
[0038] an image pair generating unit, configured to respectively run the reference application and the target application according to the running instruction information, and obtain image pairs corresponding to a plurality of time points, the image pairs comprising a candidate reference image and a candidate target image, the candidate reference image being generated by the reference application at the time point, and the candidate target image being generated by the target application at the time point;
[0039] a similarity determination unit, configured to determine the similarity between the candidate reference image and the candidate target image in each of the image pairs;
[0040] An image pair screening unit, used to screen out corresponding image pairs whose similarities meet target conditions from the plurality of image pairs;
[0041] An image acquisition unit is used to acquire the reference image and the target image from the screened image pair.
[0042] Optionally, the similarity determination unit is used to:
[0043] Dividing the candidate reference image into a plurality of reference image blocks, and dividing the candidate target image into a plurality of target image blocks, wherein the reference image blocks correspond to the target image blocks one by one;
[0044] Determining the similarity between each of the reference image blocks and the corresponding target image block;
[0045] The minimum similarity among the multiple similarities is determined as the similarity between the candidate reference image and the candidate target image.
[0046] Optionally, the picture quality detection module includes:
[0047] An image dividing unit, configured to divide the reference image into a plurality of reference image blocks and divide the target image into a plurality of target image blocks, wherein the target image blocks correspond to the reference image blocks in a one-to-one manner;
[0048] An image block comparison unit, used for comparing the plurality of target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the plurality of target image blocks;
[0049] The fusion unit is used to fuse the picture quality detection results of the multiple target image blocks to obtain the picture quality detection result of the target image.
[0050] Optionally, the picture quality detection module includes:
[0051] The model calling unit is used to call the picture quality detection model, compare the target image with the reference image, and obtain the picture quality detection result.
[0052] Optionally, the picture quality detection model includes a feature extraction network, a feature fusion network and a feature detection network, and the model calling unit is used to:
[0053] Calling the feature extraction network to perform feature extraction on the reference image and the target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image;
[0054] calling the feature fusion network to fuse the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain a fused feature;
[0055] The feature detection network is called to detect the fusion feature to obtain the picture quality detection result.
[0056] Optionally, the feature extraction network includes a first extraction layer and a second extraction layer, and the model calling unit is used to:
[0057] Calling the first extraction layer to perform feature extraction on the reference image to obtain the first picture quality feature;
[0058] The second extraction layer is called to perform feature extraction on the target image to obtain the second picture quality feature.
[0059] Optionally, the device further comprises a model training module, which is used to:
[0060] Acquire a sample reference image, a sample target image, and a sample picture quality detection result of the sample target image;
[0061] Calling the picture quality detection model, comparing the sample target image with the sample reference image, and obtaining a picture quality detection result of the sample target image;
[0062] The picture quality detection model is trained based on the picture quality detection result of the sample target image and the sample picture quality detection result.
[0063] Optionally, the picture quality detection result includes multiple quality levels and scores corresponding to each quality level, and the scores corresponding to the quality levels indicate the possibility that the picture quality of the target image belongs to the quality level. The device further includes:
[0064] The quality level determination module is used to determine the quality level corresponding to the highest score in the picture quality detection result as the quality level to which the picture quality of the target image belongs.
[0065] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the picture quality detection method as described in the above aspects.
[0066] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the picture quality detection method described in the above aspects.
[0067] On the other hand, a computer program product is provided, including a computer program, wherein the computer program is loaded and executed by a processor to implement the operations performed by the picture quality detection method as described in the above aspects.
[0068] The method, apparatus, device and storage medium provided in the embodiments of the present application introduce a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0070] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0071] Figure 2 is a flow chart of a picture quality detection method provided by an embodiment of the present application;
[0072] Figure 3 is a flow chart of another picture quality detection method provided by an embodiment of the present application;
[0073] Figure 4 is a schematic diagram of a reference image provided in an embodiment of the present application;
[0074] Figure 5 is a schematic diagram of another reference image provided in an embodiment of the present application;
[0075] Figure 6 is a flow chart of another picture quality detection method provided in an embodiment of the present application;
[0076] Figure 7 is a flow chart of another picture quality detection method provided in an embodiment of the present application;
[0077] Figure 8 is a schematic diagram of a reference image and a target image provided in an embodiment of the present application;
[0078] Fig. 9 is a flow chart of another picture quality detection method provided in an embodiment of the present application;
[0079] Fig.10 is a structural schematic diagram of a picture quality detection model provided in an embodiment of the present application;
[0080] Fig.11 is a flow chart of another picture quality detection method provided in an embodiment of the present application;
[0081] Fig.12 It is a flow chart of a method for training a picture quality detection model provided in an embodiment of the present application;
[0082] Fig.13 is a flow chart of another picture quality detection method provided in an embodiment of the present application;
[0083] Fig.14is a structural schematic diagram of a picture quality detection device provided in an embodiment of the present application;
[0084] Fig.15 is a structural schematic diagram of another image quality detection device provided in an embodiment of the present application;
[0085] Fig.16 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0086] Fig.17 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0087] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0088] It is understood that the terms "first", "second", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of this application, a first picture quality feature can be referred to as a second picture quality feature, and similarly, a second picture quality feature can be referred to as a first picture quality feature.
[0089] Here, at least one means one or more than one, for example, at least one time point can be one time point, two time points, three time points, or any other integer greater than or equal to one. Multiple means two or more than two, for example, multiple time points can be two time points, three time points, or any other integer greater than or equal to two. Each means each of at least one, for example, each time point means each time point of multiple time points. If the multiple time points are 3 time points, each time point means each time point of the 3 time points.
[0090] It is understandable that in the implementation methods of the present application, related data such as user information or operation instruction information are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0091] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0092] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operating / interactive systems, mechatronics and other technologies. Artificial intelligence software technologies mainly include computer vision technology, speech processing technology, natural language processing technology, as well as machine learning / deep learning, autonomous driving, smart transportation and other major directions.
[0093] Machine Learning (ML) is a multi-disciplinary interdisciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning.
[0094] Computer Vision (CV) is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision such as using cameras and computers to replace human eyes to identify and measure targets, and further perform graphic processing to make computer processing into images that are more suitable for human eye observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multi-dimensional data. Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR (Optical Character Recognition), video processing, video semantic understanding, video content / behavior recognition, three-dimensional object reconstruction, 3D (3-Dimension) technology, virtual reality, augmented reality, simultaneous positioning and mapping, autonomous driving, smart transportation and other technologies, as well as common biometric recognition technologies such as face recognition and fingerprint recognition.
[0095] The following will describe the quality inspection method provided in the embodiment of the present application based on artificial intelligence technology and computer vision technology.
[0096] The picture quality detection method provided in the embodiment of the present application is performed by a computer device. A reference application or a target application can be installed on the computer device, and the reference application and the target application are different versions of the same application. The computer device is used to run the reference application and the target application respectively according to the operation instruction information, obtain a reference image and a target image, compare the target image with the reference image, and obtain a picture quality detection result of the target image. Since the target image is an image generated by the target application, the picture quality detection result can represent the picture quality of the target application.
[0097] In a possible implementation, the computer device is a terminal, for example, the terminal is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch or a car terminal, etc. Alternatively, the computer device is a server, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0098] In a possible implementation, the reference application and the target application are game applications, video applications, content sharing applications, or other types of applications, and the reference application and the target application can provide game functions, video playback functions, review functions, shopping functions, or navigation functions, etc. Optionally, the reference application and the target application are applications in the operating system of the computer device, or are applications provided by a third party.
[0099] In one possible implementation, Figure 1 As shown, the computer device includes a first device 101 and a second device 102. The first device 101 and the second device 102 may be directly or indirectly connected via wired or wireless communication, for example, the first device 101 is a terminal, the second device 102 is a server, or the first device 101 and the second device 102 are both terminals, which is not limited in the embodiments of the present application.
[0100] The first device 101 can be installed with a reference application and a target application. The first device 101 is used to respectively run the reference application and the target application according to the running instruction information, obtain a reference image and a target image, and send the reference image and the target image to the second device 102. The second device 102 is used to compare the received target image with the reference image to obtain a picture quality detection result of the target image.
[0101] The picture quality detection method provided in the embodiment of the present application can be applied to the scenario of detecting the picture quality of any application.
[0102] For example, it is applied to the scenario of detecting the picture quality of a game application. The same game application includes multiple different versions, wherein the reference game application is a qualified version that has passed the picture quality test, and the target game application is a newly developed version to be tested that has not yet undergone picture quality test. In order to perform picture quality test on the target game application, game instruction information is obtained, and according to the game instruction information, a game match is performed in the reference game application and the target game application respectively to obtain a reference game image and a target game image including the game screen, and then the target game image is compared with the reference game image to obtain a picture quality test result of the target game image. Since the target game image is an image generated by the target game application, the picture quality test result can represent the picture quality of the target game application, thereby realizing picture quality test on the target game application.
[0103] For another example, it is applied to the scenario of detecting the picture quality of a video application. The same video application includes multiple different versions, wherein the reference video application is a qualified version that has passed the picture quality test, and the target video application is a newly developed version to be tested that has not yet undergone picture quality test. In order to perform picture quality test on the target video application, playback instruction information is obtained, and according to the playback instruction information, the same video is played in the reference video application and the target video application respectively to obtain a reference video image and a target video image including the video screen, and then the target video image is compared with the reference video image to obtain a picture quality test result of the target video image. Since the target video image is an image generated by the target video application, the picture quality test result can represent the picture quality of the target video application, thereby realizing picture quality test on the target video application.
[0104] In addition, the picture quality detection method provided in the embodiment of the present application can also be applied to any other scenario where the picture quality of an application needs to be detected, for example, in a scenario where picture quality detection is performed on other types of applications such as content sharing applications or navigation applications, and the embodiment of the present application does not limit this.
[0105] Figure 2 This is a flow chart of a picture quality detection method provided by an embodiment of the present application. This embodiment of the present application is executed by a computer device, see Figure 2 , the method comprising:
[0106] 201. The computer device obtains operation instruction information.
[0107] In an embodiment of the present application, a reference application or a target application can be installed in a computer device, and the reference application and the target application are different versions of the same application. For example, the reference application is a historical version that has passed the picture quality test, and the picture quality of the reference application can be used as a reference standard. The target application is a newly developed version that has not passed the picture quality test, that is, the target application is a version to be tested for picture quality. Among them, the reference application and the target application can be various types of applications, for example, the reference application and the target application are game applications, video applications, or content sharing applications.
[0108] The computer device obtains operation instruction information, and the operation instruction information is used to indicate how to run the reference application or the target application. The operation instruction information may include various types of information. For example, if the reference application and the target application are game applications, the operation instruction information may include information for indicating the control of virtual objects. For example, if the reference application and the target application are video applications, the operation instruction information may include information for indicating the playing of a certain video, etc. The generation method of the operation instruction information may include multiple methods, for example, the operation instruction information is generated based on historical operation records, or the operation instruction information is an operation script written by a tester, etc., which is not limited in the embodiments of the present application.
[0109] 202. The computer device runs the reference application and the target application respectively according to the running instruction information to obtain a reference image and a target image.
[0110] After the computer device obtains the operation instruction information, it runs the reference application according to the operation instruction information to obtain a reference image, which is generated during the operation of the reference application. The computer device runs the target application according to the operation instruction information to obtain a target image, which is generated during the operation of the target application.
[0111] Among them, since the reference image is generated by the reference application during operation, the picture quality of the reference image can reflect the picture quality of the reference application, and the reference image can be used as a reference standard for picture quality detection. Since the target image is generated by the target application during operation, the picture quality of the target image can reflect the picture quality of the target application.
[0112] In an embodiment of the present application, by running the instruction information, a reference image used as a reference standard can be automatically generated, and a target image used for picture quality detection can be automatically generated, providing an automated method for generating reference images and target images.
[0113] It should be noted that, since the reference application and the target application are different versions of the same application, in one possible implementation, the computer device first installs the reference application, runs the reference application according to the operation instruction information to obtain the reference image, then uninstalls the reference application, and then installs the reference application, runs the target application according to the operation instruction information to obtain the target image. Alternatively, the computer device may also first install the target application, run the target application according to the operation instruction information to obtain the target image, then uninstall the target application, and then install the reference application, run the reference application according to the operation instruction information to obtain the reference image. Alternatively, in another possible implementation, if the computer device can install the reference application and the target application at the same time, both the reference application and the target application may be installed in the computer device, so that the computer device runs the reference application and the target application respectively according to the operation instruction information to obtain the reference image and the target image.
[0114] 203. The computer device compares the target image with the reference image to obtain a picture quality detection result of the target image.
[0115] Since the reference image generated by the reference application can be used as a reference standard for image quality detection, the computer device can obtain the image quality detection result of the target image by comparing the target image with the reference image. For example, the image quality of the reference image is the standard image quality, and the computer device determines the difference between the target image and the reference image by comparing the target image with the reference image. The greater the difference between the target image and the reference image, the greater the difference between the image quality of the target image and the standard image quality, and the smaller the difference between the target image and the reference image, the smaller the difference between the image quality of the target image and the standard image quality.
[0116] Since the target image is generated by the target application during its operation, the picture quality detection result of the target image is also used to represent the picture quality of the target application.
[0117] The method provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0118] Figure 3This is a flow chart of another picture quality detection method provided by an embodiment of the present application. This embodiment of the present application is executed by a computer device, see Figure 3 , the method comprising:
[0119] 301. A computer device responds to an operation instruction in a reference application, executes an operation corresponding to the operation instruction in the reference application, and generates operation instruction information, where the operation instruction information includes an operation identifier corresponding to the operation.
[0120] A reference application or a target application can be installed in a computer device, and the operation instruction information is used to indicate how to run the reference application or the target application. In order to generate the operation instruction information, the reference application can be run under the operation of a tester, thereby recording the operations performed during the reference application running process as the operation instruction information.
[0121] Therefore, the tester performs an operation in the reference application of the computer device. After the computer device detects the tester's operation, it generates an operation instruction corresponding to the operation, and in response to the operation instruction, performs the operation corresponding to the operation instruction, thereby generating operation instruction information including an operation identifier corresponding to the operation. Subsequently, the reference application or the target application can be run according to the operation indicated by the operation identifier in the operation instruction information. Optionally, the operation identifier can be an identifier of an operation function corresponding to the operation, and the operation function is used to control the execution of the operation in the reference application. For example, the operation identifier is the name of the operation function corresponding to the operation, etc.
[0122] For example, the reference application is a social application, and the tester performs a click operation in the reference application, and the operation instruction corresponding to the click operation is a message sending instruction. In response to the message sending instruction, the computer device sends a message in the reference application and generates operation instruction information including a message sending identifier, and the message sending identifier is used to indicate the operation of sending a message. For another example, the reference application is a game application, and the tester performs a sliding operation in the reference application, and the operation instruction corresponding to the sliding operation is a moving instruction. In response to the moving instruction, the computer device controls the movement of a virtual object in the reference application and generates operation instruction information including a moving identifier, and the moving identifier is used to indicate the operation of controlling the movement of a virtual object.
[0123] In one possible implementation, after the computer device generates the operation instruction information, the computer device stores the operation instruction information locally so that the computer device can directly obtain the operation instruction information when the computer device needs to use the operation instruction information later. In another possible implementation, after the computer device generates the operation instruction information, the computer device can also send the operation instruction information to the server so that when other devices need to use the operation instruction information later, the computer device can request the operation instruction information from the server.
[0124] It should be noted that the embodiment of the present application only takes one operation as an example to illustrate the process of generating operation instruction information including an operation identifier corresponding to the operation. In another embodiment, the computer device will respond to multiple operation instructions in the reference application in sequence, and each time the operation corresponding to the operation instruction is executed in the reference application, the operation identifier corresponding to the operation will be added to the operation instruction information. Therefore, the operation instruction information includes multiple operation identifiers arranged in sequence.
[0125] It should be noted that in the embodiment of the present application, only the process of generating the operation instruction information is described by running the reference application as an example. In another embodiment, since it is only necessary to ensure that the generated operation instruction information can indicate how the reference application and the target application are to be run, the computer device can also generate the operation instruction information by running other versions of the same application as the reference application, for example, the computer device generates the operation instruction information by running the target application.
[0126] It should be noted that the embodiment of the present application only takes the automatic generation of operation instruction information by a computer device as an example. In another embodiment, the operation instruction information can also be an operation script written by a tester. The tester uploads the operation script to the computer device, and the computer device does not need to execute step 301.
[0127] 302. The computer device obtains operation instruction information.
[0128] When it is necessary to run the reference application or the target application according to the running instruction information, the computer device obtains the running instruction information. Optionally, the computer device stores the running instruction information, and the computer device directly obtains the running instruction information locally. Optionally, the running instruction information is stored in other devices, and the computer device requests the running instruction information from the other devices.
[0129] In a possible implementation, a reference application is installed on the computer device, and in response to an automatic operation instruction in the reference application, the computer device obtains the operation instruction information so as to automatically operate the reference application according to the operation instruction information. Alternatively, a target application is installed on the computer device, and in response to an automatic operation instruction in the target application, the computer device obtains the operation instruction information so as to automatically operate the target application according to the operation instruction information.
[0130] 303. The computer device executes the operation indicated by the operation identifier in the operation instruction information in the reference application, and takes a screenshot of the obtained screen to obtain a reference image.
[0131] The computer device is installed with a reference application. After obtaining the running instruction information, the computer device obtains the operation identifier in the running instruction information, determines the operation indicated by the operation identifier, executes the operation in the reference application, thereby displaying the screen when the operation is executed in the reference application, and taking a screenshot of the screen to obtain a reference image. Since the reference image is obtained by taking a screenshot of the screen of the reference application, the picture quality of the reference image can represent the picture quality of the reference application.
[0132] In an embodiment of the present application, by running the operation identifier in the instruction information, the operation indicated by the operation identifier can be automatically executed in the reference application, thereby automatically generating a reference image used as a reference standard without the need for the user to manually operate the reference application, thereby providing an automated method for generating a reference image.
[0133] For example, the reference application is a social application, and the operation indicated by the operation identifier is an operation of sending a message. The computer device sends a message in the reference application, thereby displaying the screen when sending the message in the reference application, and taking a screenshot of the screen to obtain the reference image.
[0134] In another possible implementation, the reference application includes a virtual scene, and the operation identifier is used to indicate an operation performed by a virtual object in the virtual scene. Then, in the reference application, the computer device controls the virtual object in the virtual scene to perform the operation indicated by the operation identifier, and takes a screenshot of the obtained screen to obtain a reference image.
[0135] For example, the reference application is a game application, the virtual scene in the reference application is a game scene, the virtual object in the virtual scene is a game character, and the operation identifier is used to instruct the game character in the game scene to perform a shooting operation. Then, in the game application, the computer device controls the game character in the game scene to perform the shooting operation, thereby displaying the game screen when the game character is shooting in the game application, and taking a screenshot of the game screen to obtain the reference image.
[0136] In another possible implementation, the operation instruction information includes multiple operation time points and an operation identifier corresponding to at least one operation time point. Then, in the reference application, the computer device executes the operation indicated by the operation identifier corresponding to the operation time point each time it reaches an operation time point, takes a screenshot of the obtained screen, and obtains a reference image corresponding to the operation time point.
[0137] The operation time point is the time point at which the operation is performed in the reference application. For example, the number of the multiple operation time points is 10,000, which are 0.1 second, 0.2 second, 0.3 second, and up to 1000 second, that is, the total duration of running the reference application is 1000 seconds. Among the multiple operation time points, at least one operation time point corresponds to an operation identifier, and the operation identifier corresponding to the operation time point is used to indicate the operation performed at the operation time point. Therefore, in the reference application, for the currently reached operation time point, if the operation time point corresponds to an operation identifier, the computer device performs the operation indicated by the operation identifier. If the operation time point does not correspond to an operation identifier, there is no need to perform the operation, and the screen corresponding to the operation time point is displayed in the reference application, and the screen is screenshotted to obtain the reference image corresponding to the operation time point. Therefore, the computer device can finally obtain the reference image corresponding to each operation time point, thereby obtaining multiple reference images.
[0138] For example, the reference application is a game application, and the third operation time point corresponds to an operation identifier, which is used to instruct the virtual object in the virtual scene to perform a jump operation. The fourth to ninth operation time points do not correspond to an operation identifier, and when the computer device reaches the third operation time point, it controls the virtual object to perform a jump operation. When it reaches the fourth operation time point, the fourth operation time point does not correspond to an operation identifier, and the jump operation has not been completed, the computer device continues to control the virtual object to perform the jump operation, and so on, until the virtual object completes the jump operation. For example, when it reaches the ninth operation time point, the ninth operation time point does not correspond to an operation identifier, and the jump operation has been completed, the computer device controls the virtual object to maintain the current state without changing it.
[0139] Figure 4 is a schematic diagram of a reference image provided in an embodiment of the present application, such as Figure 4 As shown in FIG. 1 , the reference image is a reference image corresponding to the nth operation time point, where n is a positive integer. The reference image includes a virtual object 401, and the virtual object 401 is located at the first position in the virtual scene. When the n+1th operation time point is reached, the operation identifier corresponding to the n+1th operation time point indicates a moving operation, and the computer device controls the virtual object 401 to move, so that the virtual object 401 moves from the first position to the second position, and takes a screenshot of the obtained screen to obtain a reference image corresponding to the n+1th operation time point. The reference image corresponding to the n+1th operation time point is shown in FIG. Figure 5 As shown, at this time, the virtual object 401 in the reference image is located at the second position in the virtual scene.
[0140] 304. The computer device executes the operation indicated by the operation identifier in the operation instruction information in the target application, takes a screenshot of the obtained screen, and obtains a target image.
[0141] The computer device is installed with a target application. After obtaining the running instruction information, the computer device obtains the operation identifier in the running instruction information, determines the operation indicated by the operation identifier, executes the operation in the target application, thereby displaying the screen when the operation is executed in the target application, and taking a screenshot of the screen to obtain a target image. Since the target image is obtained by taking a screenshot of the screen of the target application, the picture quality of the target image can represent the picture quality of the target application, and the computer device can perform a picture quality detection on the target image.
[0142] In an embodiment of the present application, by running the operation identifier in the indication information, the operation indicated by the operation identifier can be automatically executed in the target application, thereby automatically generating a target image for picture quality detection without the user manually operating the target application, thereby providing an automated method for generating a target image.
[0143] Furthermore, since the reference application is a different version of the same application as the target application, the reference application and the target application are respectively run according to the same running instruction information to generate a reference image and a target image, so that the content of the reference image is similar to that of the target image, thereby ensuring the consistency of the content of the reference image and that of the target image, so that the difference between the target image and the reference image lies in the picture quality, so that the reference image can be used as a reference standard to detect the picture quality of the target image in the future.
[0144] In a possible implementation, the reference application and the target application include a virtual scene, and the operation identifier is used to indicate an operation performed by a virtual object in the virtual scene. Then, in the target application, the computer device controls the virtual object in the virtual scene to perform the operation indicated by the operation identifier, and takes a screenshot of the obtained screen to obtain a target image.
[0145] In another possible implementation, the operation instruction information includes multiple operation time points and an operation identifier corresponding to at least one operation time point. Then, in the target application, each time the computer device reaches an operation time point, it executes the operation indicated by the operation identifier corresponding to the operation time point, takes a screenshot of the obtained screen, and obtains the target image corresponding to the operation time point.
[0146] In an embodiment of the present application, when the operation indication information includes multiple operation time points, the computer device generates a reference image corresponding to each operation time point and a target image corresponding to each operation time point, respectively, so that the reference image and the target image correspond one-to-one, so as to facilitate the subsequent detection of the picture quality of multiple target images according to the one-to-one corresponding reference images.
[0147] The specific process of generating the target image in step 304 is the same as the specific process of generating the reference image in step 303, and will not be described in detail here.
[0148] 305. The computer device divides the reference image into a plurality of reference image blocks and divides the target image into a plurality of target image blocks, and the target image blocks correspond to the reference image blocks one by one.
[0149] The computer device divides the reference image into a plurality of reference image blocks and the target image into a plurality of target image blocks, for example, into 100 or 200 blocks, which are not limited in the embodiment of the present application. Wherein, a target image block at a certain position in the target image corresponds to a reference image block at the same position in the reference image block.
[0150] For example, the computer device divides the reference image block into 10*10 grid areas, and determines each grid area as a reference image block. The computer device divides the target image block into 10*10 grid areas, and determines each grid area as a target image block.
[0151] 306. The computer device compares the multiple target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the multiple target image blocks.
[0152] Since the position of the target image block in the target image is the same as the position of the reference image block corresponding to the target image block in the reference image, and the content of the target image is similar to that of the reference image, the content of the target image block is similar to that of the corresponding reference image block, and the difference between the target image block and the reference image block lies in the picture quality. Therefore, in order to detect the picture quality of the target image block, the reference image block can be used as a reference standard for picture quality detection, and the target image block can be compared with the corresponding reference image block, so as to determine the picture quality detection result of the target image block according to the difference between the target image block and the reference image block, and the picture quality detection result is used to represent the picture quality of the target image block.
[0153] In a possible implementation, the computer device selects a target number of target image blocks from multiple target image blocks, compares the target number of target image blocks with corresponding reference image blocks, and obtains picture quality detection results of the target number of target image blocks. For example, the total number of target image blocks is 100, and the computer device randomly selects 20 of them for picture quality detection.
[0154] In an embodiment of the present application, the reference image and the target image are divided into image blocks respectively, and picture quality detection is performed on the image blocks as units. Since the size of image blocks is smaller than that of images, the complexity of picture quality detection can be reduced, thereby improving the efficiency of picture quality detection.
[0155] 307. The computer device merges the picture quality detection results of the multiple target image blocks to obtain a picture quality detection result of the target image.
[0156] After obtaining the picture quality detection results of multiple target image blocks, the computer device fuses the picture quality detection results of the multiple target image blocks to obtain the picture quality detection result of the target image. Among them, since the target image is generated by the target application during operation, the picture quality detection result of the target image is also used to represent the picture quality of the target application. In the embodiment of the present application, considering that the picture quality of the application is an important factor affecting the user experience, the reference image generated by the reference application is used as the reference standard for picture quality detection, and the picture quality detection is performed on the target image generated by the target application, thereby providing a method for detecting the picture quality of the application with a reference, which is conducive to the accuracy of picture quality detection.
[0157] In a possible implementation, the picture quality detection result of the target image block is a quality detection value, and the quality detection value is used to indicate the picture quality of the target image block. The larger the quality detection value, the better the picture quality of the target image block, and the smaller the quality detection value, the worse the picture quality of the target image block. Then the computer device fuses the quality detection values of multiple target image blocks to obtain the quality detection value of the target image. For example, the computer device determines the average value of the quality detection values of the multiple target image blocks as the quality detection value of the target image, or determines the median value of the quality detection values of the multiple target image blocks as the quality detection value of the target image, or determines the minimum value of the quality detection values of the multiple target image blocks as the quality detection value of the target image, etc., and the embodiments of the present application are not limited to this.
[0158] In another possible implementation, the picture quality detection result includes multiple quality levels and scores corresponding to each quality level, and the scores corresponding to the quality levels indicate the possibility that the picture quality of the target image belongs to the quality level. After obtaining the picture quality detection result of the target image, the computer device determines the quality level corresponding to the highest score in the picture quality detection result as the quality level to which the picture quality of the target image belongs.
[0159] For example, the quality levels are divided into 5 points (very good picture quality), 4 points (good picture quality), 3 points (average picture quality), 2 points (poor picture quality) and 1 point (very poor picture quality). The picture quality detection result includes the score corresponding to each quality level. For example, the scores corresponding to the above five quality levels are 0.02, 0.9, 0.05, 0.02 and 0.01 respectively. Then the computer device uses the quality level 4 with the largest corresponding score as the quality level of the target image, that is, the picture quality of the target image is good.
[0160] It should be noted that the embodiment of the present application is only described by taking the example of performing picture quality detection on a target image according to the corresponding reference image. In another embodiment, the computer device obtains target images and reference images corresponding to multiple operation time points, and for each target image, performs picture quality detection on the target image according to the corresponding reference image, thereby obtaining the picture quality detection result of the target image corresponding to each operation time point, and subsequently fuses the picture quality detection results of the multiple target images to obtain the picture quality detection result of the target application.
[0161] Among them, since the picture quality detection result of the target image corresponding to each operation time point can be obtained, when there are abnormalities in the picture quality detection results of multiple consecutive target images, the operation time points corresponding to the multiple consecutive target images can be directly determined, so as to query the causes of the abnormalities at the multiple operation time points, which is conducive to accurately locating the abnormal picture quality problem of the target application.
[0162] The method provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0163] Furthermore, by running the operation identifier in the instruction information, the operation indicated by the operation identifier can be automatically executed in the reference application, thereby automatically generating a reference image used as a reference standard without the need for the user to manually operate the reference application, thereby providing an automated method for generating a reference image.
[0164] Furthermore, by running the operation identifier in the indication information, the operation indicated by the operation identifier can be automatically executed in the target application, thereby automatically generating a target image for picture quality detection without the need for the user to manually operate the target application, thereby providing an automated method for generating a target image.
[0165] Furthermore, since the reference application is a different version of the same application as the target application, the reference application and the target application are respectively run according to the same running instruction information to generate a reference image and a target image, so that the content of the reference image is similar to that of the target image, thereby ensuring the consistency of the content of the reference image and that of the target image, so that the difference between the target image and the reference image lies in the picture quality, so that the reference image can be used as a reference standard to detect the picture quality of the target image in the future.
[0166] Moreover, when the operation instruction information includes multiple operation time points, the computer device generates a reference image corresponding to each operation time point and a target image corresponding to each operation time point, respectively, so that the reference image and the target image correspond one-to-one, so as to facilitate the subsequent detection of the picture quality of multiple target images according to the one-to-one corresponding reference images.
[0167] In addition, the reference image and the target image are divided into image blocks respectively, and the picture quality detection is performed on the image blocks. Since the size of the image blocks is smaller than that of the images, the complexity of the picture quality detection can be reduced, thereby improving the efficiency of the picture quality detection.
[0168] Furthermore, since the picture quality detection result of the target image corresponding to each operation time point can be obtained, when there are abnormalities in the picture quality detection results of multiple consecutive target images, the operation time points corresponding to the multiple consecutive target images can be directly determined, thereby querying the causes of the abnormalities at the multiple operation time points, which is conducive to accurately locating the abnormal picture quality problem of the target application.
[0169] Above Figure 3 The embodiment of the invention takes the operation instruction information including the operation identifier as an example to illustrate the process of respectively running the reference application and the target application according to the operation instruction information. In another embodiment, the reference application and the target application include a virtual scene, the virtual scene includes a virtual object, and the operation instruction information includes the position of the virtual object in the virtual scene. The process of respectively running the reference application and the target application according to the operation instruction information is described in detail below. Figure 6 Embodiment of the invention.
[0170] Figure 6 This is a flowchart of another picture quality detection method provided by the embodiment of the present application. The embodiment of the present application is executed by a computer device, see Figure 6 , the method comprising:
[0171] 601. A computer device responds to an operation instruction in a reference application and controls a virtual object in a virtual scene in the reference application to perform an operation corresponding to the operation instruction.
[0172] A reference application or a target application can be installed in a computer device, and the operation instruction information is used to indicate how to run the reference application or the target application. In order to generate the operation instruction information, the virtual object in the reference application can be controlled to perform corresponding operations under the operation of the tester, so that the position of the virtual object in the virtual scene is recorded as the operation instruction information.
[0173] Therefore, the tester performs an operation of controlling a virtual object in a reference application of a computer device. After the computer device detects the tester's operation, it generates an operation instruction corresponding to the operation. In response to the operation instruction, in the reference application, it controls the virtual object in the virtual scene to perform the operation corresponding to the operation instruction.
[0174] For example, the reference application is a game application, and the tester performs an operation to control the virtual object to jump in the reference application. The operation instruction corresponding to the operation is a jump instruction. Then the computer device controls the virtual object to jump in the reference application in response to the jump instruction.
[0175] 602. The computer device obtains a position of the virtual object in the virtual scene and generates operation instruction information, where the operation instruction information includes the position.
[0176] After the computer device controls the virtual object according to the operation instruction, it obtains the position of the virtual object in the virtual scene, generates operation instruction information including the position, and then runs the reference application or the target application according to the position in the operation instruction information. Optionally, the position can be the coordinate information of the virtual object in the virtual scene, etc., which is not limited in the embodiment of the present application.
[0177] In one possible implementation, after the computer device generates the operation instruction information, the computer device stores the operation instruction information locally so that the computer device can directly obtain the operation instruction information when the computer device needs to use the operation instruction information later. In another possible implementation, after the computer device generates the operation instruction information, the computer device can also send the operation instruction information to the server so that when other devices need to use the operation instruction information later, the computer device can request the operation instruction information from the server.
[0178] It should be noted that the embodiment of the present application only takes obtaining a position once as an example to illustrate the process of generating operation instruction information including the position. In another embodiment, when controlling a virtual object in a virtual scene, the computer device determines a display time point every target duration. Every time a display time point is reached, the position of the virtual object in the virtual scene is obtained and the position is added to the operation instruction information. Therefore, the operation instruction information includes multiple positions arranged in sequence.
[0179] It should be noted that in the embodiment of the present application, only the process of generating the operation instruction information is described by running the reference application as an example. In another embodiment, since it is only necessary to ensure that the generated operation instruction information can indicate how the reference application and the target application are to be run, the computer device can also generate the operation instruction information by running other versions of the same application as the reference application, for example, the computer device generates the operation instruction information by running the target application.
[0180] It should be noted that the embodiment of the present application only takes the automatic generation of operation instruction information by a computer device as an example. In another embodiment, the operation instruction information can also be an operation script written by a tester. The tester uploads the operation script to the computer device, and the computer device does not need to execute steps 601-602.
[0181] 603. The computer device obtains operation instruction information.
[0182] The process of obtaining the operation instruction information in step 603 is the same as the process of obtaining the operation instruction information in the above step 302, and will not be repeated here.
[0183] 604. In the reference application, the computer device controls the virtual object in the virtual scene to be displayed at the position in the operation instruction information, and takes a screenshot of the obtained screen to obtain a reference image.
[0184] The computer device is installed with a reference application. After obtaining the operation instruction information, the computer device obtains the position in the operation instruction information, controls the virtual object in the virtual scene to be displayed at the position in the reference application, thereby displaying a screen including the virtual scene in the reference application, and taking a screenshot of the screen to obtain a reference image. Since the reference image is obtained by taking a screenshot of the screen of the reference application, the picture quality of the reference image can represent the picture quality of the reference application.
[0185] In an embodiment of the present application, by running the position in the indication information, the virtual object can be automatically controlled to be displayed at the position in the reference application, thereby automatically generating a reference image used as a reference standard without the user manually operating the reference application, thereby providing an automated method for generating a reference image.
[0186] In a possible implementation, the operation instruction information includes multiple display time points and the position corresponding to each display time point. Then, in the reference application, the computer device controls the virtual object to be displayed at the position corresponding to the display time point each time it reaches a display time point, and takes a screenshot of the obtained screen to obtain a reference image corresponding to the display time point.
[0187] Among them, the display time point is the time point at which the operation is performed in the reference application. For example, the number of the multiple display time points is 10,000, which are 0.1 second, 0.2 second, 0.3 second, and up to 1000 second, that is, the total duration of running the reference application is 1000 seconds. Among the multiple display time points, each display time point corresponds to a position, and the position corresponding to the display time point is used to indicate the position where the virtual object is displayed at the display time point. Therefore, in the reference application, for the currently reached display time point, the computer device controls the virtual object to be displayed at the position corresponding to the display time point, and takes a screenshot of the displayed screen to obtain the reference image corresponding to the display time point. Therefore, the computer device can finally obtain the reference image corresponding to each display time point, thereby obtaining multiple reference images.
[0188] In another possible implementation, the operation instruction information further includes a target operation identifier, which is used to indicate the operation performed by the virtual object at the position. Then, in the reference application, the computer device controls the virtual object to be displayed at the position, and controls the virtual object to perform the operation indicated by the target operation identifier at the position, and takes a screenshot of the obtained screen to obtain a reference image.
[0189] That is, the operation instruction information is used to instruct the virtual object to be displayed at the position, and the operation indicated by the target operation identifier is also executed. For example, the operation indicated by the target operation identifier is a shooting operation, a picking operation, a dancing operation or an attacking operation, etc., which is not limited in the present embodiment.
[0190] 605. In the target application, the computer device controls the virtual object in the virtual scene to be displayed at the position in the operation instruction information, and takes a screenshot of the obtained screen to obtain a target image.
[0191] The computer device is installed with a target application. After obtaining the running instruction information, the computer device obtains the position in the running instruction information, controls the virtual object in the virtual scene to be displayed at the position in the target application, thereby displaying a screen including the virtual scene in the target application, and takes a screenshot of the screen to obtain a target image. Since the target image is obtained by taking a screenshot of the screen of the target application, the picture quality of the target image can represent the picture quality of the target application, and the computer device can perform a picture quality detection on the target image.
[0192] In an embodiment of the present application, by running the position in the indication information, the virtual object can be automatically controlled to be displayed at the position in the target application, thereby automatically generating a target image for picture quality detection without the user manually operating the target application, thereby providing an automated method for generating a target image.
[0193] Furthermore, since the reference application is a different version of the same application as the target application, the reference application and the target application are respectively run according to the same running instruction information to generate a reference image and a target image, so that the content of the reference image is similar to that of the target image, thereby ensuring the consistency of the content of the reference image and that of the target image, so that the difference between the target image and the reference image lies in the picture quality, so that the reference image can be used as a reference standard to detect the picture quality of the target image in the future.
[0194] In a possible implementation, the operation instruction information includes multiple display time points and the position corresponding to each display time point. Then, in the target application, each time the computer device reaches a display time point, it controls the virtual object to be displayed at the position corresponding to the display time point, takes a screenshot of the obtained screen, and obtains the target image corresponding to the display time point.
[0195] In another possible implementation, the operation instruction information further includes a target operation identifier, which is used to indicate the operation performed by the virtual object at the position. Then, in the target application, the computer device controls the virtual object to be displayed at the position, and controls the virtual object to perform the operation indicated by the target operation identifier at the position, and takes a screenshot of the obtained screen to obtain a target image.
[0196] In an embodiment of the present application, when the operation indication information includes multiple display time points, the computer device generates a reference image corresponding to each display time point and a target image corresponding to each display time point, respectively, so that the reference image and the target image correspond one-to-one, so as to facilitate the subsequent detection of the picture quality of multiple target images according to the one-to-one corresponding reference images.
[0197] The specific process of generating the target image in step 605 is the same as the specific process of generating the reference image in step 604, and will not be described in detail here.
[0198] 606. The computer device divides the reference image into a plurality of reference image blocks and divides the target image into a plurality of target image blocks, wherein the target image blocks correspond to the reference image blocks one by one.
[0199] 607. The computer device compares the multiple target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the multiple target image blocks.
[0200] 608. The computer device merges the picture quality detection results of the multiple target image blocks to obtain a picture quality detection result of the target image.
[0201] The process of obtaining the image quality detection result of the target image in steps 606-608 is the same as the process of obtaining the image quality detection result of the target image in steps 305-307, and will not be described in detail here.
[0202] The method provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0203] Furthermore, by running the position in the indication information, the virtual object can be automatically controlled to be displayed at the position in the reference application, thereby automatically generating a reference image used as a reference standard without the user having to manually operate the reference application, thereby providing an automated method for generating a reference image.
[0204] Furthermore, by running the position in the indication information, the virtual object can be automatically controlled to be displayed at the position in the target application, thereby automatically generating a target image for picture quality detection without the user having to manually operate the target application, thereby providing an automated method for generating a target image.
[0205] Furthermore, since the reference application is a different version of the same application as the target application, the reference application and the target application are respectively run according to the same running instruction information to generate a reference image and a target image, so that the content of the reference image is similar to that of the target image, thereby ensuring the consistency of the content of the reference image and that of the target image, so that the difference between the target image and the reference image lies in the picture quality, so that the reference image can be used as a reference standard to detect the picture quality of the target image in the future.
[0206] Moreover, when the operation indication information includes multiple display time points, the computer device generates a reference image corresponding to each display time point and a target image corresponding to each display time point, respectively, so that the reference image and the target image correspond one-to-one, so as to facilitate the subsequent detection of the picture quality of multiple target images according to the one-to-one corresponding reference images.
[0207] Above Figure 3 and Figure 6 The embodiments of the present invention respectively illustrate the process of obtaining the reference image and the target image. In another embodiment, the reference image and the target image are screened out from the candidate reference image and the candidate target image, thereby ensuring the consistency of the reference image and the target image. The screening process of the reference image and the target image is described in detail below. Figure 7 Embodiment of the invention.
[0208] Figure 7 This is a flowchart of another picture quality detection method provided by the embodiment of the present application. The embodiment of the present application is executed by a computer device, see Figure 7 , the method comprising:
[0209] 701. The computer device obtains operation instruction information.
[0210] The process of obtaining the operation instruction information in step 701 is the same as the process of obtaining the operation instruction information in the above step 302, and will not be described in detail here.
[0211] 702. The computer device runs the reference application and the target application respectively according to the running instruction information to obtain image pairs corresponding to multiple time points, where the image pairs include candidate reference images and candidate target images.
[0212] The computer device runs the reference application according to the running instruction information, and obtains candidate reference images corresponding to multiple time points, and the candidate reference images corresponding to the time points are generated by the reference application at the time points. The computer device runs the target application according to the running instruction information, and obtains candidate target images corresponding to the multiple time points, and the candidate target images corresponding to the time points are generated by the target application at the time points. The candidate reference image and the candidate target image corresponding to each time point constitute an image pair corresponding to the time point. The content of the candidate reference image in the image pair is similar to that of the candidate target image.
[0213] The process of obtaining the candidate reference image and the candidate target image by the computer device is described in detail above. Figure 3 or Figure 6 The embodiments of the present invention will not be described in detail here.
[0214] 703. The computer device determines the similarity between the candidate reference image and the candidate target image in each image pair.
[0215] For each image pair, the computer device determines the similarity between the candidate reference image and the candidate target image in the image pair, thereby obtaining the similarity between the candidate reference image and the candidate target image in each image pair.
[0216] In a possible implementation, the computer device divides the candidate reference image into a plurality of reference image blocks and divides the candidate target image into a plurality of target image blocks, wherein the reference image blocks correspond to the target image blocks one by one. The computer device determines the similarity between each reference image block and the corresponding target image block, and determines the minimum similarity among the plurality of similarities as the similarity between the candidate reference image and the candidate target image.
[0217] Since the purpose of determining the similarity between the candidate reference image and the candidate target image in the embodiment of the present application is to screen out image pairs with higher consistency based on the similarity, and the consistency of the image pairs will be limited by the minimum similarity among the similarities corresponding to the image blocks, for example, the candidate reference image and the candidate target image each include 10 image blocks, and the similarity corresponding to one image block is very low, even if the similarities corresponding to the other 9 image blocks are very high, the consistency between the candidate reference image and the candidate target image is still very low. Therefore, the computer device determines the minimum similarity among multiple similarities as the similarity between the candidate reference image and the candidate target image.
[0218] Optionally, the computer device uses the following formula to determine the similarity between the reference image block and the target image block.
[0219]
[0220]
[0221] The similarity between the reference image block and the target image block is expressed by PSNR (Peak Signal to Noise Ratio), log 10 (·) represents the logarithm with base 10, MSE (Mean Square Error) represents the difference between the content of the reference image block and the content of the target image block, H represents the number of pixels in the length direction of the reference image block / target image block, W represents the number of pixels in the width direction of the reference image block / target image block, i is a positive integer not greater than H, and j is a positive integer not greater than W. X(i, j) represents the pixel value of the pixel in the i-th row and j-th column of the reference image block, and Y(i, j) represents the pixel value of the pixel in the i-th row and j-th column of the target image block.
[0222] 704. The computer device selects, from among the multiple image pairs, image pairs whose similarities meet the target condition, and obtains a reference image and a target image from the selected image pairs.
[0223] The higher the similarity between the candidate reference image and the candidate target image, the higher the consistency between the content of the candidate reference image and the content of the candidate target image, and the greater the proportion of the difference between the image quality in the difference between the candidate reference image and the candidate target image, the higher the accuracy of the image quality detection of the candidate target image based on the candidate reference image. The lower the similarity between the candidate reference image and the candidate target image, the lower the consistency between the content of the candidate reference image and the content of the candidate target image, and the smaller the proportion of the difference between the image quality in the difference between the candidate reference image and the candidate target image, and the lower the accuracy of the image quality detection of the candidate target image based on the candidate reference image. Therefore, the computer device selects image pairs whose similarity meets the target condition, obtains the reference image and the target image from the selected image pairs, uses the reference image as the reference standard for the image quality detection, and uses the target image as the image for the image quality detection.
[0224] In a possible implementation, the computer device determines a median value among the similarities of the multiple image pairs, and the similarity that meets the target condition is a similarity that is higher than the median value. Alternatively, the similarity that meets the target condition is a similarity that is higher than a preset threshold, or the similarity that meets the target condition is a similarity of the first target number arranged in descending order, etc. The specific content of the target condition is not limited in the embodiment of the present application.
[0225] In the embodiment of the present application, considering that the running processes of the reference application and the target application are difficult to be completely consistent, there will be differences between a part of the candidate reference images and the corresponding candidate target images. Therefore, according to the similarity between the candidate reference images and the candidate target images, these different candidate reference images and candidate target images are excluded, thereby ensuring the consistency of the screened reference images and the target images, and further ensuring the accuracy of the picture quality detection.
[0226] For example, the reference application and the target application are game applications, and the reference image and the target image are images generated during the game. When the computer device runs the reference application or the target application according to the running instruction information, NPCs (Non-Player Characters) may randomly appear in the virtual scenes of the reference application or the target application, resulting in inconsistency between the content of the reference image generated by the reference application and the content of the target image generated by the target application. Figure 8 is a schematic diagram of a reference image and a target image provided by an embodiment of the present application, such as Figure 8As shown, a reference image 801 and a target image 802 correspond to the same time point. The reference image 801 includes a virtual object 811, and the target image 802 includes the virtual object 811 and a virtual object 812. The virtual object 812 is a randomly appearing NPC.
[0227] 705. The computer device divides the reference image into a plurality of reference image blocks and divides the target image into a plurality of target image blocks, wherein the target image blocks correspond to the reference image blocks one by one.
[0228] 706. The computer device compares the multiple target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the multiple target image blocks.
[0229] 707. The computer device merges the picture quality detection results of the multiple target image blocks to obtain a picture quality detection result of the target image.
[0230] The process of obtaining the image quality detection result of the target image in steps 705-707 is the same as the process of obtaining the image quality detection result of the target image in steps 305-307, and will not be described in detail here.
[0231] The method provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0232] Furthermore, considering that the running processes of the reference application and the target application are difficult to be completely consistent, there will be differences between some candidate reference images and the corresponding candidate target images. Therefore, based on the similarity between the candidate reference images and the candidate target images, these different candidate reference images and candidate target images are excluded, thereby ensuring the consistency of the screened reference images and the target images, and further ensuring the accuracy of the picture quality detection.
[0233] Fig. 9: is a flowchart of another image quality detection method provided by an embodiment of the present application. In this embodiment, the image quality detection of a horizontal action game is taken as an example. The reference game application and the target game application are different versions of the same horizontal action game application. The reference game application and the target game application include a virtual scene, and the virtual scene includes a virtual object for playing the action game. The reference game application is a qualified version that has passed the image quality detection, and the target game application is a version to be tested that has not yet undergone image quality detection. See Fig. 9 , the method comprises the following steps.
[0234] 901. The terminal installs a reference game application, responds to a game operation instruction in the reference game application, and in the reference game application, controls a virtual object in a virtual scene to execute a game operation corresponding to the game operation instruction, obtains a game screen, and generates corresponding game running instruction information.
[0235] Optionally, the game operation instruction information includes an operation identifier corresponding to the game operation. Optionally, the game operation instruction information includes a position of the virtual object in the virtual scene. For example, the game operation instruction is an instruction for controlling the virtual object to shoot, hit, jump or release a skill.
[0236] 902. The terminal runs the reference game application according to the game running instruction information, obtains the game screen in the reference game application, takes a screenshot of the game screen, and obtains a reference game image.
[0237] 903. The terminal installs the target game application, runs the target game application according to the game running instruction information, obtains the game screen in the target game application, takes a screenshot of the game screen, and obtains the target game image.
[0238] 904. The terminal compares the target game image with the reference game image to obtain a picture quality detection result of the target game image.
[0239] Since the reference game image is obtained by taking a screenshot of the game screen in the reference game application, and the target game image is obtained by taking a screenshot of the game screen in the target game application, and the game screen in the reference game application and the game screen in the target game application are both reproductions of the game screen in the above step 901, the screen content of the reference game image and the screen content of the target game image are the same, and the difference lies in the screen quality, so the screen quality detection result of the target game image can be obtained by comparing with the reference game image as a reference standard. The screen quality detection result can represent the screen quality of the target game application, thereby realizing a referenced screen quality detection of the target game application.
[0240] The above embodiment illustrates the process of a computer device directly performing picture quality detection on a target image. In another embodiment, the computer device may call a picture quality detection model, compare the target image with a reference image, and obtain a picture quality detection result. The picture quality detection model is used to detect the picture quality of an image. Optionally, the picture quality detection model is composed of a lightweight deep network. The lightweight deep network has a small number of parameters and is a small deep network suitable for CPU (Central Processing Unit) and embedded devices. The training process of the picture quality detection model is described in detail below. Fig.12 Example.
[0241] In one possible implementation, Fig.10 As shown, the picture quality detection model includes a feature extraction network 1001, a feature fusion network 1002 and a feature detection network 1003. The feature extraction network 1001 is connected to the feature fusion network 1002, and the feature fusion network 1002 is connected to the feature detection network 1003. The feature extraction network 1001 is used to extract picture quality features of the reference image and the target image, the feature fusion network 1002 is used to fuse the picture quality features of the image, and the feature detection network 1003 is used to perform picture quality detection on the fused features output by the feature fusion network 1002.
[0242] Alternatively, if Fig.10 As shown, the feature extraction network 1001 includes a first extraction layer 1011 and a second extraction layer 1021, the weight of the first extraction layer 1011 and the weight of the second extraction layer 1021 are shared, the first extraction layer 1011 is used to extract the picture quality features of the reference image, and the second extraction layer 1021 is used to extract the picture quality features of the target image. Optionally, as Fig.10 As shown, the first extraction layer 1011 is a CNN (Convolutional Neural Network) composed of convolutional layers. The first extraction layer 1011 includes 3 convolutional layers and one fully connected layer. The kernel size of the first convolutional layer is 4, the step size is 2, and the output dimension is 16. The kernel size of the second convolutional layer is 4, the step size is 2, and the output dimension is 32. The kernel size of the third convolutional layer is 4, the step size is 2, and the output dimension is 64. The dimension of the output of the fully connected layer is 512. The network structure of the second extraction layer 1021 is the same as that of the first extraction layer.
[0243] Alternatively, if Fig.10 As shown, the feature detection network 1003 includes two fully connected layers, the dimension of the output of the first fully connected layer is 512, and the dimension of the output of the second fully connected layer is 5.
[0244] The process of computer equipment calling the picture quality detection model to perform picture quality detection is described below. Fig.11 Embodiment of the invention. Fig.11 This is a flowchart of another picture quality detection method provided by the embodiment of the present application. The embodiment of the present application is executed by a computer device, see Fig.11 , the method comprising:
[0245] 1101. The computer device obtains operation instruction information.
[0246] 1102. The computer device runs the reference application and the target application respectively according to the running instruction information to obtain a reference image and a target image.
[0247] The process of obtaining the operation instruction information in step 1101 and the process of generating the reference image and the target image in step 1102 are described in detail in the above embodiment and will not be described again here.
[0248] 1103. The computer device calls a feature extraction network in a picture quality detection model to extract features from a reference image and a target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image.
[0249] The computer device inputs the reference image and the target image into the feature extraction network, and the feature extraction network extracts features from the reference image to obtain a first picture quality feature, and the feature extraction network extracts features from the target image to obtain a second picture quality feature. The first picture quality feature is used to represent the picture quality of the reference image, and the second picture quality feature is used to represent the picture quality of the target image.
[0250] In a possible implementation, the feature extraction network includes a first extraction layer and a second extraction layer. The computer device calls the first extraction layer to extract features from the reference image to obtain the first picture quality feature, and calls the second extraction layer to extract features from the target image to obtain the second picture quality feature. That is, the computer device inputs the reference image into the first extraction layer, the first extraction layer outputs the first picture quality feature, and inputs the target image into the second extraction layer, and the second extraction layer outputs the second picture quality feature.
[0251] 1104. The computer device calls a feature fusion network in the picture quality detection model to fuse the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain a fused feature.
[0252] The computer device inputs the first picture quality feature and the second picture quality feature into a feature fusion network, and the feature fusion network fuses the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain the fused feature.
[0253] In a possible implementation manner, the difference feature between the first picture quality feature and the second picture quality feature is a difference between the second picture quality feature and the first picture quality feature.
[0254] In a possible implementation, the computer device calls a feature fusion network to cascade the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain the fused feature.
[0255] For example, the computer device uses the following formula to obtain the fusion feature.
[0256] f = [f1, f2, f1-f2];
[0257] Wherein, f represents the fusion feature, f1 represents the second picture quality feature, f2 represents the first picture quality feature, f1-f2 represents the difference feature between the second picture quality feature and the first picture quality feature, and [·] represents the cascade operation.
[0258] 1105. The computer device calls the feature detection network in the picture quality detection model to detect the fused features and obtain the picture quality detection result of the target image.
[0259] The computer device inputs the fused features into the feature detection network, and the feature detection network detects the fused features to obtain a picture quality detection result, which is the picture quality detection result of the target image.
[0260] It should be noted that this application only takes the picture quality detection result of directly detecting a target image as an example for explanation. In another embodiment, the computer device divides the reference image and the target image into multiple image blocks, and calls the picture quality detection model to perform picture quality detection in units of image blocks. The specific process is detailed in the above Figure 3 or Figure 6 The embodiments of the present invention will not be described in detail here.
[0261] The method provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0262] Furthermore, in the embodiment of the present application, a picture quality detection model is called to extract picture quality features of an image, and picture quality detection is performed based on the picture quality features, which not only improves the accuracy of picture quality detection, but also realizes the automation of picture quality detection.
[0263] In the process of training the picture quality detection model, multiple iterations are required. The embodiment of the present application takes any iteration as an example to illustrate the training process of the model. Fig.12 This is a flowchart of a method for training a picture quality detection model provided by an embodiment of the present application. The execution subject of the embodiment of the present application is a computer device, see Fig.12 , the method comprising:
[0264] 1201. A computer device obtains a sample reference image, a sample target image, and a sample picture quality detection result of the sample target image.
[0265] The process of the computer device acquiring the sample reference image and the corresponding sample target image is the same as the process of acquiring the reference image and the corresponding target image in the above embodiment, and will not be described in detail here.
[0266] The sample picture quality detection result of the sample target image is used to indicate the picture quality of the sample target image. In a possible implementation, the sample picture quality detection result is obtained by a tester by comparing the picture quality of the sample reference image and the sample target image. Figure 3 The picture quality detection result in the embodiment of is similar and will not be repeated here.
[0267] 1202. The computer device calls a picture quality detection model, compares the sample target image with the sample reference image, and obtains a picture quality detection result of the sample target image.
[0268] The process of obtaining the image quality detection result of the sample target image in step 1202 is similar to the above Fig.12The process of obtaining the picture quality detection result of the target image in the embodiment is similar, and will not be repeated here.
[0269] 1203. The computer device trains a picture quality detection model based on the picture quality detection results of the sample target image and the sample picture quality detection results.
[0270] Since the sample picture quality detection result is the true detection result of the sample target image, and the picture quality detection result obtained in step 1202 is the detection result predicted by the picture quality detection model, the computer device can determine whether the picture quality detection result is accurate based on the sample picture quality detection result, and then determine whether the picture quality detection model is accurate. The computer device updates the model parameters of the picture quality detection model based on the picture quality detection result of the sample target image and the sample picture quality detection result, so that the picture quality detection result predicted by the updated picture quality detection model is more accurate.
[0271] In a possible implementation, considering that the closer the picture quality detection result is to the sample picture quality detection result, the more accurate the picture quality detection result is, that is, the more accurate the picture quality detection model is, therefore, the computer device updates the model parameters of the picture quality detection model based on the picture quality detection result of the sample target image and the difference between the sample picture quality detection result, and obtains an updated picture quality detection model, so that the difference between the picture quality detection result predicted by the updated picture quality detection model and the sample picture quality detection result becomes smaller, thereby obtaining a more accurate picture quality detection model. Optionally, the electronic device determines a loss value between the picture quality detection result of the sample target image and the sample picture quality detection result, the loss value representing the difference between the picture quality detection result of the sample target image and the sample picture quality detection result, and the computer device trains the picture quality detection model based on the loss value.
[0272] It should be noted that the above steps 1201-1203 only take a sample target image as an example to illustrate the process of training the picture quality detection model based on the picture quality detection result of the sample target image and the sample picture quality detection result. In another embodiment, the computer device uses different sample reference images, sample target images and sample picture quality detection results to repeat the above steps 1201-1203 to iteratively update the picture quality detection model. In response to the iteration round reaching the first threshold, the computer device stops training the picture quality detection model; or, in response to the loss value obtained in the current iteration round is not greater than the second threshold, stops training the picture quality detection model. Wherein, the first threshold and the second threshold are both arbitrary values, for example, the first threshold is 100 or 200, etc., and the second threshold is 0.002 or 0.003, etc.
[0273] In a possible implementation, the picture quality detection result includes multiple quality levels and scores corresponding to each quality level, and the scores corresponding to the quality levels indicate the possibility that the picture quality of the sample target image belongs to the quality level. The computer device uses the following formula to determine the picture quality detection results of the multiple sample target images and the loss value between the sample picture quality detection results.
[0274]
[0275] Where N represents the number of sample target images, n is a positive integer not greater than N, the image quality detection results include 5 quality levels, c is a positive integer not greater than 5, x n represents the nth sample target image, D c (x n ) represents the score corresponding to the cth quality level of the nth sample target image in the picture quality detection result. n,c Indicates the score corresponding to the cth quality level of the nth sample target image in the sample detection result. For example, when the image quality of the sample target image belongs to the cth quality level, y n,c Equal to 1, when the image quality of the sample target image does not belong to the cth quality level, y n,c is equal to 0.
[0276] The method provided in the embodiment of the present application trains the picture quality detection model so that the picture quality detection model automatically learns the depth features related to picture quality detection in the image, so as to perform picture quality detection based on the learned depth features, thereby improving the accuracy of the picture quality detection model.
[0277] Fig.13 is a flowchart of another picture quality detection method provided by an embodiment of the present application. In this embodiment, the reference application and the target application are game applications, for example, the game application is a horizontal action game application, a 2D game application, or a 3D game application, etc. The game application includes a virtual scene, and the virtual scene includes a virtual object. Fig.13 , the method comprises the following steps.
[0278] 1301. The computer device records the game. In the embodiment of the present application, recording the game means recording the position of the virtual object and the operation performed by the player during the game, and generating operation instruction information including the position of the virtual object and the operation of the player.
[0279] The tester selects a game level in the game application (reference application or target application) and enters the game. In order to facilitate the subsequent re-running of the reference application and the target application directly according to the position of the virtual object and the player's operation, the game level can be a single-player mode game level. During the game, the computer device records the position and operation of the virtual object in each frame of the game screen.
[0280] 1302. The computer device plays back the above game in the reference application and the target application respectively to generate a game image pair, where the game image pair includes a reference game image and a target game image.
[0281] In the embodiment of the present application, replaying the game means running the reference application and the target application respectively according to the operation instruction information generated in step 1301, so as to reproduce the above-mentioned game in the reference application and the target application. There are two ways to replay the game. The first way is to use the game function to replay the player's operation, such as replaying the player's operation of manipulating the game joystick, etc. The second way is to directly replay the position of the virtual object, that is, according to the position in the operation instruction information, directly display the virtual object at the corresponding position. In addition, when the second method is used for replay, the game function can also be used to replay the player's operation performed on the virtual object at the position, such as shooting operation, jumping operation or skill release operation.
[0282] 1303. The computer device removes inconsistent game image pairs. Since NPCs may appear randomly in the virtual scene during the game, in order to ensure the consistency of the two images in the game image pair, the similarity between the images in each game image pair is determined, and the game image pairs with low similarity are removed.
[0283] 1304. Construct sample data for model training. The computer device uses the screened game image pairs as sample data, and the tester performs manual image quality detection on the target game image in each game image pair to obtain a sample image quality detection result corresponding to each target game image.
[0284] 1305. The computer device trains a picture quality detection model using the game image pairs and the corresponding sample picture quality detection results.
[0285] 1306. The computer device calls the trained picture quality detection model, compares any target image with the corresponding reference image, and outputs the picture quality detection result of the target image.
[0286] Fig.14 is a structural diagram of a picture quality detection device provided in an embodiment of the present application. Fig.14 , the device comprises:
[0287] The information acquisition module 1401 is used to acquire operation instruction information;
[0288] An image generation module 1402 is used to respectively run the reference application and the target application according to the running instruction information to obtain a reference image and a target image, wherein the reference image is generated during the running of the reference application, the target image is generated during the running of the target application, and the reference application and the target application are different versions of the same application;
[0289] The picture quality detection module 1403 is used to compare the target image with the reference image to obtain a picture quality detection result of the target image. The picture quality detection result is used to indicate the picture quality of the target application.
[0290] The picture quality detection device provided in the embodiment of the present application introduces a reference application that is the same application as the target application but of a different version in order to detect the picture quality of the target application. The reference application and the target application are respectively run according to the same running instruction information, thereby automatically generating a reference image and a target image. The target image is subjected to picture quality detection using the reference image as a comparison standard to obtain a picture quality detection result of the target image. Since the target image is generated by the target application, the picture quality detection result can represent the picture quality of the target application, thereby providing a picture quality detection method with a reference, which can improve the accuracy of picture quality detection.
[0291] Alternatively, see Fig.15 The operation instruction information includes an operation identifier, and the image generation module 1402 includes:
[0292] The first generating unit 1412 is used to perform the operation indicated by the operation identifier in the reference application, take a screenshot of the obtained screen, and obtain a reference image;
[0293] The second generating unit 1422 is used to execute the operation indicated by the operation identifier in the target application, take a screenshot of the obtained screen, and obtain a target image.
[0294] Alternatively, see Fig.15 , the reference application and the target application include a virtual scene, the operation identifier is used to indicate the operation performed by the virtual object in the virtual scene, the first generating unit 1412 is used to control the virtual object in the virtual scene to perform the operation indicated by the operation identifier in the reference application, and take a screenshot of the obtained screen to obtain a reference image;
[0295] The second generating unit 1422 is used to control the virtual object in the virtual scene to perform the operation indicated by the operation identifier in the target application, and take a screenshot of the obtained screen to obtain a target image.
[0296] Alternatively, see Fig.15 , the operation instruction information includes multiple operation time points and an operation identifier corresponding to at least one operation time point;
[0297] The first generating unit 1412 is used to perform the operation indicated by the operation identifier corresponding to the operation time point each time an operation time point is reached in the reference application, and take a screenshot of the obtained screen to obtain a reference image corresponding to the operation time point;
[0298] The second generating unit 1422 is used to execute the operation indicated by the operation identifier corresponding to the operation time point each time an operation time point is reached in the target application, take a screenshot of the obtained screen, and obtain the target image corresponding to the operation time point.
[0299] Alternatively, see Fig.15 , the device further comprises:
[0300] The information generation module 1404 is used to respond to the operation instruction in the reference application, execute the operation corresponding to the operation instruction in the reference application, and generate operation instruction information, where the operation instruction information includes the operation identifier corresponding to the operation.
[0301] Alternatively, see Fig.15 The reference application and the target application include a virtual scene, the operation instruction information includes the position of the virtual object in the virtual scene, and the image generation module 1402 includes:
[0302] The first generating unit 1412 is used to control the virtual object in the virtual scene to be displayed at a position in the reference application, and to take a screenshot of the obtained picture to obtain a reference image;
[0303] The second generating unit 1422 is used to control the virtual object in the virtual scene to be displayed at a position in the target application, and to take a screenshot of the obtained picture to obtain a target image.
[0304] Alternatively, see Fig.15 , the operation indication information includes a plurality of display time points and a position corresponding to each display time point;
[0305] The first generating unit 1412 is used to control the virtual object to be displayed at a position corresponding to the display time point each time a display time point is reached in the reference application, and to take a screenshot of the obtained picture to obtain a reference image corresponding to the display time point;
[0306] The second generating unit 1422 is used to control the virtual object to be displayed at a position corresponding to the display time point each time a display time point is reached in the target application, and to take a screenshot of the obtained screen to obtain a target image corresponding to the display time point.
[0307] Alternatively, see Fig.15 ,The operation instruction information also includes a target operation identifier used to indicate the operation performed by the virtual object at the location;
[0308] The first generating unit 1412 is used to control the virtual object to be displayed at a position in the reference application, and to control the virtual object to perform the operation indicated by the target operation identifier at the position, and to take a screenshot of the obtained screen to obtain a reference image;
[0309] The second generating unit 1422 is used to control the virtual object to be displayed at a position in the target application, and to control the virtual object to perform the operation indicated by the target operation identifier at the position, and to take a screenshot of the obtained screen to obtain a target image.
[0310] Alternatively, see Fig.15 , the device further comprises:
[0311] An information generating module 1404 is used to respond to the operation instruction in the reference application, and control the virtual object in the virtual scene to perform the operation corresponding to the operation instruction in the reference application;
[0312] The information generating module 1404 is further used to obtain the position of the virtual object in the virtual scene and generate operation instruction information, wherein the operation instruction information includes the position.
[0313] Alternatively, see Fig.15 , the image generation module 1402 includes:
[0314] An image pair generating unit 1432 is used to respectively run the reference application and the target application according to the running instruction information to obtain image pairs corresponding to multiple time points, wherein the image pairs include candidate reference images and candidate target images, wherein the candidate reference images are generated by the reference application at a time point, and the candidate target images are generated by the target application at a time point;
[0315] a similarity determination unit 1442, configured to determine the similarity between the candidate reference image and the candidate target image in each image pair;
[0316] An image pair screening unit 1452 is used to screen out corresponding image pairs whose similarities meet the target conditions from among the multiple image pairs;
[0317] The image acquisition unit 1462 is used to acquire a reference image and a target image from the screened image pairs.
[0318] Alternatively, see Fig.15 , a similarity determination unit 1442 is used to:
[0319] Dividing the candidate reference image into a plurality of reference image blocks, and dividing the candidate target image into a plurality of target image blocks, wherein the reference image blocks correspond to the target image blocks one by one;
[0320] Determining a similarity between each reference image block and a corresponding target image block;
[0321] The minimum similarity among the multiple similarities is determined as the similarity between the candidate reference image and the candidate target image.
[0322] Alternatively, see Fig.15 , the picture quality detection module 1403 includes:
[0323] An image dividing unit 1413 is used to divide the reference image into a plurality of reference image blocks and divide the target image into a plurality of target image blocks, wherein the target image blocks correspond to the reference image blocks one by one;
[0324] An image block comparison unit 1423 is used to compare the multiple target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the multiple target image blocks;
[0325] The fusion unit 1433 is used to fuse the picture quality detection results of multiple target image blocks to obtain the picture quality detection result of the target image.
[0326] Alternatively, see Fig.15 , the picture quality detection module 1403 includes:
[0327] The model calling unit 1443 is used to call the picture quality detection model, compare the target image with the reference image, and obtain the picture quality detection result.
[0328] Alternatively, see Fig.15 The picture quality detection model includes a feature extraction network, a feature fusion network and a feature detection network. The model calling unit 1443 is used to:
[0329] Calling a feature extraction network to extract features of a reference image and a target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image;
[0330] Calling a feature fusion network to fuse the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain a fused feature;
[0331] The feature detection network is called to detect the fused features to obtain the picture quality detection results.
[0332] Alternatively, see Fig.15 The feature extraction network includes a first extraction layer and a second extraction layer, and a model calling unit 1443 is used to:
[0333] Calling the first extraction layer to perform feature extraction on the reference image to obtain a first picture quality feature;
[0334] The second extraction layer is called to perform feature extraction on the target image to obtain a second picture quality feature.
[0335] Alternatively, see Fig.15 The device further includes a model training module 1405, which is used to:
[0336] Obtaining a sample reference image, a sample target image, and a sample picture quality detection result of the sample target image;
[0337] Calling the picture quality detection model, comparing the sample target image with the sample reference image, and obtaining the picture quality detection result of the sample target image;
[0338] Based on the picture quality detection results of the sample target image and the sample picture quality detection results, the picture quality detection model is trained.
[0339] Alternatively, see Fig.15 The picture quality detection result includes a plurality of quality levels and a score corresponding to each quality level, the score corresponding to the quality level indicates the possibility that the picture quality of the target image belongs to the quality level, and the device further includes:
[0340] The quality level determination module 1406 is used to determine the quality level corresponding to the highest score in the picture quality detection result as the quality level to which the picture quality of the target image belongs.
[0341] It should be noted that: the picture quality detection device provided in the above embodiment only uses the division of the above functional modules as an example when performing picture quality detection. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the picture quality detection device provided in the above embodiment and the picture quality detection method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0342] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed in the picture quality detection method of the above embodiment.
[0343] Optionally, the computer device is provided as a terminal. Fig.16 A schematic diagram of the structure of a terminal 1600 provided by an exemplary embodiment of the present application is shown.
[0344] The terminal 1600 includes a processor 1601 and a memory 1602 .
[0345] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0346] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1602 is used to store at least one computer program, which is used by the processor 1601 to implement the picture quality detection method provided in the method embodiment of the present application.
[0347] In some embodiments, the terminal 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. The processor 1601, the memory 1602 and the peripheral device interface 1603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1603 via a bus, a signal line or a circuit board. Optionally, the peripheral device includes: at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607 and a power supply 1608.
[0348] The peripheral device interface 1603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0349] The radio frequency circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1604 can communicate with other devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0350] The display screen 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to collect touch signals on the surface or above the surface of the display screen 1605. The touch signal can be input to the processor 1601 as a control signal for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1605 can be one, set on the front panel of the terminal 1600; in other embodiments, the display screen 1605 can be at least two, respectively set on different surfaces of the terminal 1600 or in a folding design; in other embodiments, the display screen 1605 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1600. Even, the display screen 1605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0351] The camera assembly 1606 is used to capture images or videos. Optionally, the camera assembly 1606 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal 1600, and the rear camera is arranged on the back of the terminal 1600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0352] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1601 for processing, or input them into the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1607 may also include a headphone jack.
[0353] The power supply 1608 is used to power various components in the terminal 1600. The power supply 1608 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0354] Those skilled in the art will understand that Fig.16 The structure shown in the figure does not constitute a limitation on the terminal 1600, and the terminal 1600 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0355] Optionally, the computer device is provided as a server. Fig.17 It is a structural diagram of a server provided in an embodiment of the present application. The server 1700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1701 and one or more memories 1702, wherein the memory 1702 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1701 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
[0356] An embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed in the picture quality detection method of the above embodiment.
[0357] The embodiment of the present application also provides a computer program product, including a computer program, which is loaded and executed by a processor to implement the operations performed in the picture quality detection method of the above embodiment. In some embodiments, the computer program involved in the embodiment of the present application can be deployed on a computer device for execution, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected by a communication network. Multiple computer devices distributed at multiple locations and interconnected by a communication network can constitute a blockchain system.
[0358] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0359] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A method for detecting picture quality, characterized in that: The method comprises: Obtaining operation instruction information; According to the operation instruction information, in the reference application and the target application, respectively, at the same time point, control the virtual objects in the virtual scene to perform the same operation at the same position, take screenshots of the obtained images, and obtain an image pair corresponding to the time point, the image pair including a candidate reference image and a candidate target image, the candidate reference image is generated by the reference application at the time point, and the candidate target image is generated by the target application at the time point; For the image pairs corresponding to each acquired time point, the candidate reference image in the image pair is divided into a plurality of reference image blocks, and the candidate target image in the image pair is divided into a plurality of target image blocks, the reference image blocks correspond to the target image blocks one by one, the similarity between each reference image block and the corresponding target image block is determined, and the minimum similarity among the plurality of similarities is determined as the similarity between the candidate reference image and the candidate target image; among the plurality of image pairs, the image pairs whose corresponding similarities meet the target conditions are screened out; the reference image and the target image are obtained from the screened image pairs; wherein the reference application and the target application are different versions of the same application, the reference application is a historical version that has passed the picture quality detection, and the target application is a newly developed version to be tested that has not passed the picture quality detection; Calling a feature extraction network in a picture quality detection model to perform feature extraction on the reference image and the target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image; calling a feature fusion network in the picture quality detection model to fuse the first picture quality feature, the second picture quality feature, and a difference feature between the first picture quality feature and the second picture quality feature to obtain a fused feature; The feature detection network in the picture quality detection model is called to detect the fused features to obtain a picture quality detection result of the target image, wherein the picture quality detection result is used to represent the picture quality of the target application.
2. The method according to claim 1, characterized in that The operation instruction information includes an operation identifier and a position of the virtual object in the virtual scene, the operation identifier is used to indicate the operation performed by the virtual object in the virtual scene, and according to the operation instruction information, in the reference application and the target application, at the same time point, the virtual object in the virtual scene is controlled to perform the same operation at the same position, and the obtained screen is captured to obtain an image pair corresponding to the time point, including: In the reference application and the target application respectively, at the same time point, the virtual object in the virtual scene is controlled to be displayed at the position and the operation indicated by the operation identifier is performed, and a screenshot is taken of the obtained screen to obtain a candidate reference image in the image pair and a candidate target image in the image pair.
3. The method according to claim 2, characterized in that The operation instruction information includes a plurality of operation time points, an operation identifier corresponding to at least one operation time point, and a position of the virtual object in the virtual scene; and in the reference application and the target application, respectively, at the same time point, controlling the virtual object in the virtual scene to be displayed at the position and performing the operation indicated by the operation identifier, taking a screenshot of the obtained screen, and obtaining a candidate reference image in the image pair and a candidate target image in the image pair, including: In the reference application, each time when an operation time point is reached, the virtual object is controlled to be displayed at the position and the operation indicated by the operation identifier corresponding to the operation time point is performed, and a screenshot is taken of the obtained screen to obtain a candidate reference image corresponding to the operation time point; In the target application, each time an operation time point is reached, the virtual object is controlled to be displayed at the position and the operation indicated by the operation identifier corresponding to the operation time point is performed, and a screenshot is taken of the obtained screen to obtain a candidate target image corresponding to the operation time point.
4. The method according to claim 2, characterized in that: The operation instruction information includes a plurality of display time points, a position corresponding to each display time point, and the operation identifier; according to the operation instruction information, in the reference application and the target application, at the same time point, the virtual objects in the virtual scene are controlled to perform the same operation at the same position, and the obtained screen is captured to obtain the image pair corresponding to the time point, including: In the reference application, each time a display time point is reached, the virtual object is controlled to be displayed at a position corresponding to the display time point and the operation indicated by the operation identifier is performed, and a screenshot is taken of the obtained screen to obtain a candidate reference image corresponding to the display time point; In the target application, each time a display time point is reached, the virtual object is controlled to be displayed at a position corresponding to the display time point and the operation indicated by the operation identifier is performed, and a screenshot is taken of the obtained screen to obtain a candidate target image corresponding to the display time point.
5. The method according to claim 2, characterized in that: Before obtaining the operation instruction information, the method further includes: In response to the operation instruction in the reference application, in the reference application, controlling the virtual object in the virtual scene to perform the operation corresponding to the operation instruction; The position of the virtual object in the virtual scene is obtained, and the operation instruction information is generated, where the operation instruction information includes an operation identifier corresponding to the operation and the position.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Dividing the reference image into a plurality of reference image blocks, and dividing the target image into a plurality of target image blocks, wherein the target image blocks correspond to the reference image blocks one by one; Comparing the plurality of target image blocks with the corresponding reference image blocks to obtain picture quality detection results of the plurality of target image blocks; The picture quality detection results of the multiple target image blocks are merged to obtain the picture quality detection result of the target image.
7. The method according to claim 1, characterized in that The feature extraction network includes a first extraction layer and a second extraction layer, and calling the feature extraction network in the picture quality detection model to extract features from the reference image and the target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image includes: Calling the first extraction layer to perform feature extraction on the reference image to obtain the first picture quality feature; The second extraction layer is called to perform feature extraction on the target image to obtain the second picture quality feature.
8. The method according to claim 1, characterized in that The training process of the picture quality detection model includes: Acquire a sample reference image, a sample target image, and a sample picture quality detection result of the sample target image; Calling the picture quality detection model, comparing the sample target image with the sample reference image, and obtaining a picture quality detection result of the sample target image; The picture quality detection model is trained based on the picture quality detection result of the sample target image and the sample picture quality detection result.
9. A picture quality detection device, characterized in that: The device comprises: An information acquisition module, used to acquire operation instruction information; an image generation module, for controlling virtual objects in a virtual scene to perform the same operation at the same position in a reference application and a target application at the same time point in accordance with the operation instruction information, taking screenshots of the obtained images, and obtaining an image pair corresponding to the time point, wherein the image pair includes a candidate reference image and a candidate target image, wherein the candidate reference image is generated by the reference application at the time point, and the candidate target image is generated by the target application at the time point; The image generation module is further used to divide the candidate reference image in the image pair corresponding to each acquired time point into multiple reference image blocks, and divide the candidate target image in the image pair into multiple target image blocks, wherein the reference image blocks correspond to the target image blocks one-to-one, determine the similarity between each reference image block and the corresponding target image block, and determine the minimum similarity among the multiple similarities as the similarity between the candidate reference image and the candidate target image; screen out the image pairs whose corresponding similarities meet the target conditions from the multiple image pairs; and obtain the reference image and the target image from the screened image pairs; wherein the reference application and the target application are different versions of the same application, the reference application is a historical version that has passed the picture quality test, and the target application is a newly developed version to be tested that has not passed the picture quality test; A picture quality detection module, used to call a feature extraction network in a picture quality detection model to extract features from the reference image and the target image to obtain a first picture quality feature of the reference image and a second picture quality feature of the target image; The picture quality detection module is further used to call the feature fusion network in the picture quality detection model to fuse the first picture quality feature, the second picture quality feature, and the difference feature between the first picture quality feature and the second picture quality feature to obtain a fusion feature; The picture quality detection module is also used to call the feature detection network in the picture quality detection model to detect the fusion feature to obtain the picture quality detection result of the target image, and the picture quality detection result is used to represent the picture quality of the target application.
10. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the picture quality detection method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor to implement the picture quality detection method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that The computer program is loaded and executed by a processor to implement the picture quality detection method according to any one of claims 1 to 8.
