Video quality prediction method, device and server
A video quality assessment method that combines multi-layer feature extraction and pyramid pooling networks with feedforward and long short-term memory networks solves the problem of low video quality prediction accuracy in the existing technology and achieves higher video quality assessment accuracy.
Patent Information
- Application Number
- CN202011522537.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-21
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-12-21
AI Technical Summary
The existing deep learning-based video quality prediction methods only rely on the global average pooling features of the last layer of feature maps, resulting in poor accuracy of video quality prediction results.
A multi-layer feature extraction network is used to obtain multi-layer video features of video data, and the pyramid pooling network and video quality evaluation network are used for pooling processing and quality prediction, and the feedforward and long short-term memory networks are combined for video quality assessment.
It improves the accuracy of video quality prediction results, makes full use of low-level and high-level features, and significantly improves the accuracy of video quality assessment.
Smart Images

Figure CN112669270B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of neural network technology, and in particular to a method, device and server for predicting video quality. Background Art
[0002] With the development of multimedia technology, network data (such as pictures, videos, text, etc.) has exploded. Among them, video, as the main carrier of information dissemination, usually faces a lot of quality loss in video acquisition, encoding, transmission and other links. However, low-quality video will seriously reduce the visual perception of the human eye. Therefore, how to effectively predict video quality is of great significance. At present, related technologies propose to predict video quality by extracting video features based on manual methods or deep learning methods. For the method of extracting video features based on deep learning methods to predict video quality, usually only the global average pooling features are obtained for the last layer of feature maps, and the quality prediction results of the video are obtained based on the global average pooling features. However, since the last layer of feature maps is not sufficient to represent the video quality characteristics, the quality prediction results of the video will have poor accuracy. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a method, device and server for predicting video quality, which can effectively improve the accuracy of video quality prediction results.
[0004] In the first aspect, an embodiment of the present invention provides a method for predicting video quality, comprising: obtaining video data to be predicted; performing feature extraction on the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted; wherein the video features of each layer are respectively used to characterize low-level features or high-level features of the video data to be predicted; performing quality prediction on the video data to be predicted based on the video features of each layer to obtain a video quality result of the video data to be predicted.
[0005] In one embodiment, the feature extraction network includes multiple convolutional layers; the step of extracting features from the video data to be predicted through the feature extraction network to obtain multi-layer video features of the video data to be predicted includes: inputting the video data to be predicted into the feature extraction network, and using the features output by each designated convolutional layer in the feature extraction network based on the video data to be predicted as the multi-layer video features of the video data to be predicted.
[0006] In one embodiment, the step of performing quality prediction on the video data to be predicted based on the video features of each layer to obtain a video quality result of the video data to be predicted includes: performing pooling processing on the video features of each layer through a pyramid pooling network to obtain a plurality of pyramid pooling features corresponding to the video features of each layer; performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through a video quality evaluation network to obtain a video quality result of the video data to be predicted.
[0007] In one embodiment, the pyramid pooling network includes a mean pooling subnetwork, a maximum pooling subnetwork and a standard difference pooling subnetwork; the pyramid pooling features include mean pooling features, maximum pooling features and standard difference pooling features; the step of performing pooling processing on the video features of each layer through the pyramid pooling network to obtain multiple pyramid pooling features corresponding to the video features of each layer includes: performing mean pooling processing on the video features of each layer through the mean pooling subnetwork to obtain multiple mean pooling features corresponding to the video features of each layer; and performing maximum pooling processing on the video features of each layer through the maximum pooling subnetwork to obtain multiple maximum pooling features corresponding to the video features of each layer; and performing standard difference pooling processing on the video features of each layer through the standard difference pooling subnetwork to obtain multiple standard difference pooling features corresponding to the video features of each layer.
[0008] In one embodiment, the video quality assessment network includes a feedforward quality assessment network, the feedforward quality assessment network includes multiple fully connected groups and a first fully connected layer, each of the fully connected groups includes a connected second fully connected layer, an activation layer, a normalization layer and a Dropout layer; the step of performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the video quality assessment network to obtain a video quality result of the video data to be predicted includes: averaging each of the pyramid pooling features to obtain an averaged pyramid pooling feature; inputting the averaged pyramid pooling feature into the feedforward quality assessment network so that the feedforward quality assessment network outputs the video quality result of the video data to be predicted based on the averaged pyramid pooling feature.
[0009] In one embodiment, the video quality assessment network includes a long short-term memory quality assessment network, which includes multiple long short-term memory sub-networks and a third fully connected layer; the step of performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the video quality assessment network to obtain the video quality result of the video data to be predicted includes: inputting each of the pyramid pooling features into the long short-term memory quality assessment network, so that the long short-term memory quality assessment network outputs the video quality result of the video data to be predicted based on each of the pyramid pooling features.
[0010] In one embodiment, the training step of the video quality assessment network includes: obtaining training video data; performing feature extraction on the training video data through a feature extraction network to obtain multi-layer video feature information of the training video data; performing pooling processing on each layer of the video feature information through the pyramid pooling network to obtain a plurality of pooled feature information corresponding to each layer of the video feature information; obtaining a subjective quality score for each of the pooled feature information; and training the video quality assessment network based on each of the pooled feature information and the subjective quality score corresponding to each of the pooled feature information.
[0011] In the second aspect, an embodiment of the present invention also provides a video quality prediction device, comprising: a data acquisition module, used to acquire video data to be predicted; a feature extraction module, used to perform feature extraction on the video data to be predicted through a feature extraction network, and obtain multi-layer video features of the video data to be predicted; wherein the video features of each layer are respectively used to characterize low-level features or high-level features of the video data to be predicted; and a quality prediction module, used to perform quality prediction on the video data to be predicted based on the video features of each layer, and obtain video quality results of the video data to be predicted.
[0012] In a third aspect, an embodiment of the present invention further provides a server, comprising a processor and a memory; a computer program is stored in the memory, and when the computer program is executed by the processor, the method described in any one of the first aspects is executed.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer storage medium for storing computer software instructions used for any of the methods provided in the first aspect.
[0014] The embodiments of the present invention provide a method, device and server for predicting video quality, including: first obtaining video data to be predicted, then extracting features of the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted, and then predicting the quality of the video data to be predicted based on the video features of each layer to obtain a video quality result of the video data to be predicted, wherein each layer of video features is used to characterize low-level features or high-level features of the video data to be predicted. The above method obtains multi-layer video features of the video data to be predicted through a feature extraction network, and then obtains the video quality result of the video data to be predicted based on the prediction of each layer of video features. Compared with the method of predicting video quality based only on the last layer of feature maps in the prior art, the embodiments of the present invention predict video quality based on multi-layer video features, and can make full use of the low-level features and high-level features of the video data to be predicted, so as to predict a video quality result with higher accuracy.
[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A schematic diagram of a flow chart of a method for predicting video quality provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of the connection between a feature extraction network and a pyramid pooling network provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of the structure of a pyramid pooling network provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of the structure of a feedforward quality evaluation network provided by an embodiment of the present invention;
[0022] Figure 5A schematic diagram of the structure of a long short-term memory quality evaluation network provided by an embodiment of the present invention;
[0023] Figure 6 A schematic diagram of the structure of a video quality prediction device provided by an embodiment of the present invention;
[0024] Figure 7 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] At present, the existing no-reference video quality assessment methods are mainly divided into two categories: one is the traditional method, such as NIQE (Natural image quality evaluator) algorithm or BRIQUE algorithm, etc. This type of method is mainly based on artificially extracted features or modeling of data to obtain the corresponding quality assessment model; the other is a method based on deep learning. The deep learning method does not require artificial feature extraction, but only needs to build a large-scale data set and corresponding subjective scoring annotations, and then input the features extracted based on the neural network into the quality assessment network to obtain the quality score. However, the existing quality assessment methods based on deep learning are mostly based on obtaining the global average pooling features of the last layer of feature maps, but only a certain layer of feature maps is not enough to characterize the video quality characteristics. Therefore, the quality results obtained by the existing video quality assessment methods have the problem of poor accuracy. Based on this, the present invention implements a method, device and server for predicting video quality, which can effectively improve the accuracy of video quality prediction results.
[0027] To facilitate understanding of this embodiment, a video quality prediction method disclosed in an embodiment of the present invention is first introduced in detail. Figure 1 The flowchart of a method for predicting video quality is shown in FIG. 1 , and the method mainly includes the following steps S102 to S106:
[0028] Step S102, obtaining the video data to be predicted. In one embodiment, the video data can be collected by an electronic device with a shooting function, such as by shooting with a camera or a smart phone, or directly receiving video data uploaded manually or downloaded from the network. For example, an upload channel is provided to the user, and the user can select and upload the video data for which the video quality prediction is required.
[0029] Step S104, extracting features from the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted. Wherein, each layer of video features is used to characterize low-level features or high-level features of the video data to be predicted, respectively. Low-level features can represent lower-level features in the video data to be predicted, such as edge features and detail texture features, etc. High-level features can represent abstract semantic features. The feature extraction network can use CNN (Convolutional Neural Network), for example, CNN networks such as ResNet50 (Residual Neural Network 50) or VGG19 (Visual Geometry Group 19, computer vision combination). The feature extraction network can include multiple convolutional layers. Optionally, the features output by the specified convolutional layer can be used as video features. If the number of specified convolutional layers is multiple, multi-layer video features of the video data to be predicted will be obtained.
[0030] Step S106, based on the video features of each layer, quality prediction is performed on the video data to be predicted, and a video quality result of the video data to be predicted is obtained. The video quality result can be used to characterize the quality of the video data to be predicted. In one embodiment, pyramid pooling processing can be performed on the video features of each layer to obtain pyramid pooling features corresponding to the video features of each layer, thereby predicting the video quality of the video data to be predicted with each pyramid pooling feature to obtain a video quality result.
[0031] The video quality prediction method provided by the embodiment of the present invention obtains multi-layer video features of the video data to be predicted through a feature extraction network, and then predicts the video quality result of the video data to be predicted based on the video features of each layer. Compared with the method of predicting the video quality based only on the last layer feature map in the prior art, the embodiment of the present invention predicts the video quality based on the multi-layer video features, and can make full use of the low-level features and high-level features of the video data to be predicted, so as to predict the video quality result with higher accuracy.
[0032] In one embodiment, the feature extraction network includes multiple convolutional layers. Considering that both the low-level features and high-level features of the video data to be predicted have an effect on the prediction result of the video quality, the embodiment of the present invention provides an embodiment of extracting features of the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted. The video data to be predicted can be input into the feature extraction network, and the features output by each designated convolutional layer in the feature extraction network based on the video data to be predicted are used as the multi-layer video features of the video data to be predicted. Since the multi-layer video features may include low-level features and high-level features, and the low-level features usually represent the feature information of the lower level in the video, such as edge information or detail texture information, etc., and the high-level features usually represent the abstract semantic features of the video frame data, the subjective quality of the video data to be predicted is not only related to the video content and the video scene, but also related to the above-mentioned low-level features and high-level features. Therefore, the video quality result obtained by the embodiment of the present invention based on the multi-layer video features has a higher accuracy. Taking the CNN network as an example of a feature extraction network, the video frame data (that is, the above-mentioned video data to be predicted) is input into the pre-trained CNN network to obtain multi-layer primary features (that is, the above-mentioned video features). Since the primary features extracted by the first two convolutional layers of the CNN network are generally relatively basic, and the last layer of the network such as Resnet50 is a classification layer, in actual use, the features output by the convolutional layers other than the first two convolutional layers and the last classification layer in the CNN network can be used as the multi-layer video features of the video data to be predicted.
[0033] The embodiment of the present invention provides an implementation method for performing quality prediction on the video data to be predicted based on the video features of each layer to obtain the video quality result of the video data to be predicted, see the following steps 1 to 2:
[0034] Step 1, pooling each layer of video features through a pyramid pooling network to obtain multiple pyramid pooling features corresponding to each layer of video features. The input of the pyramid pooling network is the video features of each layer, and the output of the pyramid pooling network is the pyramid pooling features. For ease of understanding, the embodiment of the present invention exemplarily provides an implementation method for obtaining pyramid pooling features through a pyramid pooling network. Now, the 5-layer video features of the video data to be predicted extracted by the feature extraction network are used as an example for explanation, see Figure 2A connection diagram of a feature extraction network and a pyramid pooling network is shown, wherein the feature extraction network includes one convolutional layer conv and five convolutional layers (Layer 1 to Layer 5), and Layer 1, Layer 2, Layer 3, Layer 4, and Layer 5 are respectively connected to a pyramid pooling network PyPooling, and the pyramid pooling features output by each pyramid pooling network can also be referred to as MLMS Features (multi layer multi spatial pyramid polling, multi-scale pyramid pooling features).
[0035] In one implementation, the present invention further provides a pyramid pooling network, see Figure 3 A schematic diagram of the structure of a pyramid pooling network is shown, wherein the pyramid pooling network includes a mean pooling subnetwork (Meanpooling), a maximum pooling subnetwork (Maxpooling) and a standard difference pooling subnetwork (Stdpooling), and the mean pooling subnetwork, the maximum pooling subnetwork and the standard difference pooling subnetwork all include pooling layers of multiple parameters, and taking the mean pooling subnetwork as an example, the pooling layers of three parameters of 4*4pooling, 2*2pooling and 1*1pooling can be included. In practical applications, for each layer of video features, feature extraction is performed on the layer of video features by the mean pooling subnetwork, the maximum pooling subnetwork and the standard difference pooling subnetwork, respectively, to obtain 3*(4*4+2*2+1*1)=3*21-dimensional pyramid pooling features, and if the number of video features extracted by the feature extraction network is m, then m*(3*21) pyramid pooling features can be obtained after extraction by the above method. In addition, the inputs of the mean pooling subnetwork, the maximum pooling subnetwork and the standard difference pooling subnetwork are all the video features of the above layers, the output of the mean pooling subnetwork is the mean pooling feature, the output of the maximum pooling subnetwork is the maximum pooling feature, and the output of the standard difference pooling subnetwork is the standard difference pooling feature, that is, the above pyramid pooling features include the mean pooling feature, the maximum pooling feature and the standard difference pooling feature.
[0036] exist Figure 3 Based on this, the embodiment of the present invention provides a specific implementation of step 1, including the following steps (1) to (3):
[0037] (1) Mean pooling is performed on each layer of video features through a mean pooling sub-network to obtain a plurality of mean pooling features corresponding to each layer of video features; (2) Maximum pooling is performed on each layer of video features through a maximum pooling sub-network to obtain a plurality of maximum pooling features corresponding to each layer of video features; (3) Standard difference pooling is performed on each layer of video features through a standard difference pooling sub-network to obtain a plurality of standard difference pooling features corresponding to each layer of video features. The embodiment of the present invention does not limit the order in which each sub-network performs pooling on video features, and the order can be set based on actual needs.
[0038] Step 2: Perform quality prediction on the video data to be predicted based on each pyramid pooling feature through a video quality evaluation network to obtain a video quality result of the video data to be predicted. The input of the video quality evaluation network is the pyramid pooling feature, and the output of the video quality evaluation network is the video quality result. In an optional implementation, the video quality assessment network may adopt a feedforward quality assessment network (VQA-FF, Visual Question Answer-Feed Forward) or a long short-term memory quality assessment network (VQA-LSTM, Visual Question Answer-Long Short Term Memory), wherein the feedforward quality assessment network is a neural network that does not consider temporal information and can be applied to scenes with less video content switching or less video frame quality fluctuations, and the long short-term memory quality assessment network is a neural network that considers temporal information, and the pyramid pooling feature is input into the feedforward quality assessment network or the long short-term memory quality assessment network in a feature input form to obtain a video quality result, wherein the feature input form may be an input form that does not consider temporal information (such as, inputting the mean of the pyramid pooling feature into the feedforward quality assessment network) or an input form that considers temporal information (such as, inputting the pyramid pooling feature into the long short-term memory quality assessment network in time sequence), and the embodiment of the present invention exemplarily provides the following two ways of determining the video quality result of the video data to be predicted:
[0039] Method 1: Use the feedforward quality evaluation network to predict the quality of the video data to be predicted based on each pyramid pooling feature to obtain the video quality result of the video data to be predicted. For ease of understanding, see Figure 4 A structural diagram of a feedforward quality evaluation network, which includes multiple fully connected groups (FC Block) and a first fully connected layer (FC, fully connected). Each fully connected group includes a connected second fully connected layer (FC), an activation layer (ReLU, Rectified linear unit), a normalization layer (Batch Norm) and a Dropout layer. Figure 4 The feedforward quality evaluation network shown in the embodiment of the present invention can average each pyramid pooling feature when determining the video quality result of the video data to be predicted, and obtain the averaged pyramid pooling features (Avg Features), and then input the averaged pyramid pooling features into the feedforward quality evaluation network, so that the feedforward quality evaluation network outputs the video quality result of the video data to be predicted based on the averaged pyramid pooling features. In practical applications, all pyramid pooling features of the video data to be predicted are first averaged, assuming that each pyramid pooling feature is a 1*c feature vector, then 100 pyramid pooling features are averaged to obtain a 1*c feature vector, and the averaged feature vector is input into multiple fully connected groups and a first fully connected layer, so that the video no-reference quality score (that is, the above-mentioned video quality result) can be predicted.
[0040] Method 2: Use the long short-term memory quality evaluation network to predict the quality of the video data to be predicted based on each pyramid pooling feature to obtain the video quality result of the video data to be predicted. For ease of understanding, refer to Figure 5 A schematic diagram of the structure of a long short-term memory quality evaluation network, which includes multiple long short-term memory (LSTM) sub-networks and a third fully connected (FC) layer. Figure 5 The long short-term memory quality evaluation network shown in the embodiment of the present invention can input each pyramid pooling feature into the long short-term memory quality evaluation network when determining the video quality result of the video data to be predicted, so that the long short-term memory quality evaluation network outputs the video quality result of the video data to be predicted based on each pyramid pooling feature. In practical applications, all pyramid pooling features are input into multiple long short-term memory sub-networks and a third fully connected layer, so that the video no-reference quality score can be predicted, wherein the long short-term memory sub-network includes but is not limited to the GRU (Gated Recurrent Unit) algorithm.
[0041] In practical applications, either method 1 or method 2 can be selected to predict the video quality result, or the video quality result can be predicted in combination with method 1 and method 2, such as taking a weighted average of the video quality result determined by the method provided by method 1 and the video quality result determined by the method provided by method 2, thereby representing the final video quality result of the video data to be predicted by the weighted average result.
[0042] In order to make the video quality assessment network output a video quality result with high accuracy, the video quality assessment network needs to be trained. The embodiment of the present invention provides an implementation method for training the video quality assessment network, including the following steps a to e:
[0043] Step a: obtain training video data.
[0044] Step b, extracting features from the training video data through a feature extraction network to obtain multi-layer video feature information of the training video data. In one embodiment, the features output by a specified convolutional layer in the feature extraction network can be used as the multi-layer video feature information of the training video data.
[0045] Step c, performing pooling processing on each layer of video feature information through a pyramid pooling network, and obtaining a plurality of pooling feature information corresponding to each layer of video feature information. In one embodiment, each layer of video feature information can be input into a pyramid pooling network for pooling processing, and the details are as described above (1) to (3), and the embodiments of the present invention are not repeated here.
[0046] Step d, obtaining a subjective quality score of each pooled feature information. The pooled feature information can be presented in the form of a feature map, and the user scores the quality of the pooled feature information, thereby obtaining a subjective quality score corresponding to each pooled feature information.
[0047] Step e: training the video quality assessment network based on each pooled feature information and the subjective quality score corresponding to each pooled feature information. In one embodiment, the subjective quality score can be understood as the label of the pooled feature information, and the pooled feature information is input into the video quality assessment network, which outputs the predicted score, so that the loss value can be calculated based on the subjective quality score and the predicted score, and the parameters of the video quality assessment network are updated based on the loss value, until the video quality assessment network meets certain iteration conditions to obtain the final video quality assessment network.
[0048] In summary, the embodiment of the present invention first inputs the training video data into the pre-trained CNN network and extracts multiple layers of primary features, and further extracts the pyramid pooling features of each layer of primary features, and then inputs each pyramid pooling feature into the video quality assessment network (VQA-FF network or VQA-LSTM network) according to the feature input form, takes the subjective quality score as the optimization target of the video quality assessment network and performs network training, and when the video quality assessment network training meets certain iteration conditions, the final trained model can be obtained. Thus, for any video data to be predicted, the pyramid pooling features are extracted and input into the VQA-FF network or the VQA-LSTM network to predict the reference-free quality score of the video data to be predicted. The embodiment of the present invention fuses the primary features of different layers to have better feature representation for quality evaluation, thereby significantly improving the generalization of the video quality evaluation network, so that the video quality evaluation network has better performance when predicting the quality of different video data to be predicted, and compared with the SOTA (state of the art) method or SROCC (Spearman rank-order correlation coefficient) method in the prior art, the accuracy of the video quality result can be improved by 2-5 percentage points.
[0049] For the video quality prediction method provided in the above embodiment, the embodiment of the present invention provides a video quality prediction device, see Figure 6 The structure diagram of a video quality prediction device shown in FIG. 1 mainly includes the following parts:
[0050] The data acquisition module 602 is used to acquire the video data to be predicted.
[0051] The feature extraction module 604 is used to extract features of the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted.
[0052] The quality prediction module 606 is used to perform quality prediction on the video data to be predicted based on the video features of each layer to obtain the video quality result of the video data to be predicted.
[0053] The above-mentioned video quality prediction device provided by the embodiment of the present invention obtains multi-layer video features of the video data to be predicted through a feature extraction network, and then predicts the video quality results of the video data to be predicted based on the video features of each layer. Compared with the method of predicting the video quality only based on the last layer feature map in the prior art, the embodiment of the present invention predicts the video quality based on the multi-layer video features, and can make full use of the low-level features and high-level features of the video data to be predicted, so as to predict the video quality results with higher accuracy.
[0054] In one embodiment, the feature extraction network includes multiple convolutional layers; the feature extraction module 604 is also used to: input the video data to be predicted into the feature extraction network, and use the features output by each designated convolutional layer in the feature extraction network based on the video data to be predicted as the multi-layer video features of the video data to be predicted.
[0055] In one embodiment, the quality prediction module 606 is also used to: perform pooling processing on each layer of video features through a pyramid pooling network to obtain multiple pyramid pooling features corresponding to each layer of video features; perform quality prediction on the video data to be predicted based on each pyramid pooling feature through a video quality evaluation network to obtain a video quality result of the video data to be predicted.
[0056] In one embodiment, the pyramid pooling network includes a mean pooling subnetwork, a maximum pooling subnetwork and a standard deviation pooling subnetwork; the pyramid pooling features include mean pooling features, maximum pooling features and standard deviation pooling features; the quality prediction module 606 is also used to: perform mean pooling processing on each layer of video features through the mean pooling subnetwork to obtain multiple mean pooling features corresponding to each layer of video features; and, perform maximum pooling processing on each layer of video features through the maximum pooling subnetwork to obtain multiple maximum pooling features corresponding to each layer of video features; and, perform standard deviation pooling processing on each layer of video features through the standard deviation pooling subnetwork to obtain multiple standard deviation pooling features corresponding to each layer of video features.
[0057] In one embodiment, the video quality assessment network includes a feedforward quality assessment network, the feedforward quality assessment network includes multiple fully connected groups and a first fully connected layer, each fully connected group includes a connected second fully connected layer, an activation layer, a normalization layer and a Dropout layer; the quality prediction module 606 is also used to: average each pyramid pooling feature to obtain an averaged pyramid pooling feature; input the averaged pyramid pooling feature into the feedforward quality assessment network, so that the feedforward quality assessment network outputs a video quality result of the video data to be predicted based on the averaged pyramid pooling feature.
[0058] In one embodiment, the video quality assessment network includes a long short-term memory quality assessment network, which includes multiple long short-term memory sub-networks and a third fully connected layer; the quality prediction module 606 is also used to: input each pyramid pooling feature into the long short-term memory quality assessment network, so that the long short-term memory quality assessment network outputs the video quality result of the video data to be predicted based on each pyramid pooling feature.
[0059] In one embodiment, the above-mentioned device also includes a training module, which is used to: obtain training video data; extract features from the training video data through a feature extraction network to obtain multi-layer video feature information of the training video data; pool each layer of video feature information through a pyramid pooling network to obtain multiple pooled feature information corresponding to each layer of video feature information; obtain subjective quality scores for each pooled feature information; and train a video quality evaluation network based on each pooled feature information and the subjective quality scores corresponding to each pooled feature information.
[0060] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0061] An embodiment of the present invention provides a server. Specifically, the server includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned embodiments.
[0062] Figure 7 A structural diagram of a server provided in an embodiment of the present invention, the server 100 includes: a processor 70, a memory 71, a bus 72 and a communication interface 73, wherein the processor 70, the communication interface 73 and the memory 71 are connected via the bus 72; the processor 70 is used to execute an executable module stored in the memory 71, such as a computer program.
[0063] The memory 71 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 73 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0064] The bus 72 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0065] Among them, the memory 71 is used to store programs, and the processor 70 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 70 or implemented by the processor 70.
[0066] The processor 70 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 70. The above processor 70 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 71, and the processor 70 reads the information in the memory 71 and completes the steps of the above method in combination with its hardware.
[0067] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.
[0068] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0069] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for predicting video quality, characterized in that: include: Obtaining video data to be predicted; Extracting features of the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted; wherein each layer of the video features is used to represent low-layer features or high-layer features of the video data to be predicted; Performing quality prediction on the video data to be predicted based on the video features of each layer to obtain a video quality result of the video data to be predicted; The step of performing quality prediction on the video data to be predicted based on the video features of each layer to obtain a video quality result of the video data to be predicted includes: Pooling the video features of each layer respectively through a pyramid pooling network to obtain a plurality of pyramid pooling features corresponding to the video features of each layer; Performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through a video quality evaluation network to obtain a video quality result of the video data to be predicted; The video quality evaluation network includes a feedforward quality evaluation network and a long short-term memory quality evaluation network; the video quality evaluation network performs quality prediction on the video data to be predicted based on each of the pyramid pooling features to obtain a video quality result of the video data to be predicted, including: Performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the feedforward quality evaluation network, and obtaining a video quality result corresponding to the feedforward quality evaluation network; Performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the long short-term memory quality evaluation network, and obtaining a video quality result corresponding to the long short-term memory quality evaluation network; The video quality result corresponding to the feedforward quality evaluation network and the video quality result corresponding to the long short-term memory quality evaluation network are weighted averaged to obtain the video quality result of the video data to be predicted.
2. The method according to claim 1, characterized in that The feature extraction network includes multiple convolutional layers; The step of extracting features from the video data to be predicted by a feature extraction network to obtain multi-layer video features of the video data to be predicted includes: The video data to be predicted is input into the feature extraction network, and the features output by each designated convolutional layer in the feature extraction network based on the video data to be predicted are used as multi-layer video features of the video data to be predicted.
3. The method according to claim 1, characterized in that The pyramid pooling network includes a mean pooling subnetwork, a maximum pooling subnetwork and a standard deviation pooling subnetwork; the pyramid pooling features include a mean pooling feature, a maximum pooling feature and a standard deviation pooling feature; The step of performing pooling processing on the video features of each layer through a pyramid pooling network to obtain a plurality of pyramid pooling features corresponding to the video features of each layer comprises: The video features of each layer are respectively subjected to mean pooling processing by the mean pooling subnetwork to obtain a plurality of mean pooling features corresponding to the video features of each layer; And, performing maximum pooling processing on the video features of each layer through the maximum pooling subnetwork, to obtain multiple maximum pooling features corresponding to the video features of each layer; Furthermore, the video features of each layer are respectively subjected to standard difference pooling processing through the standard difference pooling subnetwork to obtain a plurality of standard difference pooling features corresponding to the video features of each layer.
4. The method according to claim 1, characterized in that: The feedforward quality evaluation network includes a plurality of fully connected groups and a first fully connected layer, each of the fully connected groups includes a connected second fully connected layer, an activation layer, a normalization layer and a Dropout layer; The step of performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the feedforward quality evaluation network to obtain a video quality result corresponding to the feedforward quality evaluation network includes: Each pyramid pooling feature is averaged to obtain an averaged pyramid pooling feature; The averaged pyramid pooling features are input into the feedforward quality assessment network, so that the feedforward quality assessment network outputs corresponding video quality results based on the averaged pyramid pooling features.
5. The method according to claim 1, characterized in that The long short-term memory quality evaluation network includes a plurality of long short-term memory sub-networks and a third fully connected layer; The step of performing quality prediction on the video data to be predicted based on each of the pyramid pooling features through the long short-term memory quality evaluation network to obtain a video quality result corresponding to the long short-term memory quality evaluation network includes: Each of the pyramid pooling features is input into the long short-term memory quality assessment network, so that the long short-term memory quality assessment network outputs a corresponding video quality result based on each of the pyramid pooling features.
6. The method according to claim 1, characterized in that The training steps of the video quality assessment network include: Get training video data; Performing feature extraction on the training video data through a feature extraction network to obtain multi-layer video feature information of the training video data; The video feature information of each layer is pooled by the pyramid pooling network to obtain a plurality of pooled feature information corresponding to the video feature information of each layer; Obtaining a subjective quality score for each of the pooled feature information; The video quality assessment network is trained based on each of the pooled feature information and the subjective quality score corresponding to each of the pooled feature information.
7. A video quality prediction device, characterized in that: include: A data acquisition module, used to acquire video data to be predicted; A feature extraction module, used to extract features of the video data to be predicted through a feature extraction network to obtain multi-layer video features of the video data to be predicted; wherein each layer of the video features is used to represent low-level features or high-level features of the video data to be predicted; A quality prediction module, used to perform quality prediction on the video data to be predicted based on the video features of each layer, and obtain a video quality result of the video data to be predicted; The quality prediction module is also used to: perform pooling processing on the video features of each layer through a pyramid pooling network to obtain a plurality of pyramid pooling features corresponding to the video features of each layer; perform quality prediction on the video data to be predicted based on each of the pyramid pooling features through a video quality evaluation network to obtain a video quality result of the video data to be predicted; The video quality assessment network includes a feedforward quality assessment network and a long short-term memory quality assessment network; the quality prediction module is also used to: perform quality prediction on the video data to be predicted based on each of the pyramid pooling features through the feedforward quality assessment network to obtain a video quality result corresponding to the feedforward quality assessment network; perform quality prediction on the video data to be predicted based on each of the pyramid pooling features through the long short-term memory quality assessment network to obtain a video quality result corresponding to the long short-term memory quality assessment network; and perform weighted averaging on the video quality result corresponding to the feedforward quality assessment network and the video quality result corresponding to the long short-term memory quality assessment network to obtain a video quality result of the video data to be predicted.
8. A server, characterized in that: including a processor and a memory; A computer program is stored in the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 6 is executed.
9. A computer storage medium, characterized in that Used to store computer software instructions used for the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Algorithm for determining video key area based on deep neural network
CN106686377A
Image aesthetic quality evaluation method based on deep convolutional neural network
CN107610123A
Method and system for determining image aesthetic quality
CN109063778A
Non-reference image quality evaluation method based on convolutional self-coding network
CN109272499A
Monocular image depth estimation method based on pyramid pooling module
CN109410261A
