Video quality evaluation method, device and equipment based on audio and video feature fusion

By combining the Transformer encoder and the ResNet18 network, the semantic features of the video and audio are extracted and deeply fused, which solves the problem that the existing audio and video quality evaluation methods cannot accurately extract features and ignore interactions, achieving more accurate video quality. evaluate.

CN118646929BActive Publication Date: 2024-10-29BEIDOU DIGITAL INFORMATION IND DEV (LIAONING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411104706.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-29
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The existing audio and video quality evaluation methods cannot accurately extract audio and video features and ignore the interaction of the two modal information, resulting in the inability to obtain better video content quality evaluation performance.

Method used

A method based on Transformer encoder and ResNet18 convolutional neural network is used to extract visual semantic features of video and audio, and perform deep fusion through fully connected layers to obtain video quality evaluation scores.

Benefits of technology

It effectively improves the reliability and effectiveness of the video quality evaluation algorithm, and improves the ability to comprehensively evaluate the quality of audio and video content through the deep fusion of semantic features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646929B_ABST
    Figure CN118646929B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a video quality evaluation method, device and equipment based on the fusion of audio and video features. The method includes obtaining the key frames of the video segment, inputting them into the Transformer encoder, and obtaining visual features; obtaining the GAF spectrum graph from the audio segment, extracting the corresponding spectrum information, inputting it into the convolution module, and outputting audio features; inputting the visual features into the improved Transformer encoder to obtain visual semantic features; inputting the audio features into the ResNet18 convolutional neural network to obtain audio semantic features; fusing the visual semantic features and the audio semantic features and inputting them into the fully connected layer, outputting the quality evaluation score, and performing quality evaluation. In this way, the technical problems in the prior art of inaccurate extraction of audio and video features, ignoring interactions, and only performing simple fusion to obtain the overall quality evaluation score, and failing to obtain better performance can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of multimedia processing, and more specifically, to a video quality evaluation method, apparatus and device based on audio and video feature fusion. Background Art

[0002] With the increasing popularity of video application platforms such as TikTok, Netflix, and YouTube, audio and video content has increased dramatically. Users can not only enjoy audio and video produced by professional teams, but also share their own audio and video content. Vision and hearing are the richest sources of sensory data that we use to collect information from the world around us. For consumers, the quality experience of audio and video is important.

[0003] Since audio and video are prone to various complex, nonlinear, and mixed video distortions (such as noise, camera shake, and underexposure) and audio distortions (such as background noise, wind noise, and processing noise) during the acquisition, production, and transmission of audio and video, these may affect the overall perceptual experience of audio and video content. In particular, with the increasing maturity of AI-generated video technology in recent years, multimedia content with coexistence of audio and video continues to emerge. Therefore, there is an urgent need for a comprehensive quality evaluation algorithm that can effectively analyze the audio and video experience effect, help evaluate the quality of generated content, and further promote the improvement and development of generated video technology.

[0004] The video quality evaluation methods in the prior art are often aimed at pure video content, and the data sets used do not contain audio information. Therefore, the proposed method does not consider audio information and is therefore not applicable to the quality evaluation of video content with coexistence of audio and video. In addition, there are relatively few existing data sets with coexistence of audio and video, and there are currently few multimodal video quality evaluation methods that combine audio and video information analysis. The main approach of the prior art is to extract audio features and video features separately, and then simply fuse them to obtain the overall quality evaluation score. However, since the above method does not accurately extract the features of the two modal information and ignores the interaction of the two modal information, it is impossible to obtain better performance. Summary of the invention

[0005] According to an embodiment of the present invention, a video quality evaluation scheme based on audio and video feature fusion is provided. The technical problem that the prior art extracts inaccurate audio and video features, ignores the interaction of the two modal information, and only performs simple fusion to obtain the overall quality evaluation score, which fails to obtain better performance, achieves deep fusion of semantic features, and effectively improves the reliability and effectiveness of the algorithm.

[0006] In a first aspect of the present invention, a video quality assessment method based on audio and video feature fusion is provided.

[0007] The method comprises: obtaining a video segment, extracting a key frame of the video segment, inputting the key frame into a Transformer encoder, and obtaining a visual feature of the video segment.

[0008] A GAF spectrogram is obtained from the audio segment corresponding to the video segment, spectrum information of the corresponding audio segment is extracted from the GAF spectrogram, and the spectrum information of the corresponding audio segment is input into a convolution module to output audio features of the corresponding audio segment.

[0009] The visual features are input into the improved Transformer encoder to obtain the visual semantic features of the video segment; and the audio features of the corresponding audio segment are input into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment.

[0010] The visual semantic features of the video segment and the audio semantic features of the corresponding audio segment are fused and input into the fully connected layer, and the quality evaluation score of the video segment is output to evaluate the quality of the video segment.

[0011] In a second aspect of the present invention, a video quality assessment device based on audio and video feature fusion is provided.

[0012] The device comprises: a visual feature acquisition module, which is used for acquiring a video segment, extracting a key frame of the video segment, and inputting the key frame into a Transformer encoder to obtain a visual feature of the video segment.

[0013] The audio feature acquisition module is used to obtain a GAF spectrogram from the audio segment corresponding to the video segment, extract the spectrum information of the corresponding audio segment from the GAF spectrogram, input the spectrum information of the corresponding audio segment into the convolution module, and output the audio features of the corresponding audio segment.

[0014] The semantic feature acquisition module is used to input the visual features into the improved Transformer encoder to obtain the visual semantic features of the video segment; and input the audio features of the corresponding audio segment into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment.

[0015] The fusion evaluation module is used to fuse the visual semantic features of the video segment and the audio semantic features of the corresponding audio segment and input them into the fully connected layer, output the quality evaluation score of the video segment, and perform quality evaluation on the video segment.

[0016] In a third aspect of the present invention, a video quality assessment method based on audio and video feature fusion is provided.

[0017] The method comprises: acquiring a target video, and performing segmentation processing on video data and audio data of the target video to obtain a plurality of video segments and corresponding audio segments.

[0018] A video segment is selected from a plurality of video segments, and the quality evaluation score of the video segment is output using the above method.

[0019] All video segments of the target video are traversed, and the average quality evaluation score of all video segments is calculated as the quality evaluation score of the target video, and the quality of the target video is evaluated.

[0020] In a fourth aspect of the present invention, a video quality assessment device based on audio and video feature fusion is provided.

[0021] The device comprises: a segment processing module, which is used for acquiring video data, and performing segment processing on the video data and audio data of the video data to obtain a plurality of video segments and corresponding audio segments.

[0022] The video segment quality evaluation module is used to select a video segment from a plurality of video segments and output a quality evaluation score of the video segment using the above method.

[0023] The target video quality evaluation module is used to traverse all video segments of the target video, calculate the average quality evaluation score of all video segments as the quality evaluation score of the target video, and perform quality evaluation on the target video.

[0024] In a fifth aspect of the present invention, an electronic device is provided. The electronic device has at least one processor; and a memory connected to the at least one processor in communication; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method of the first aspect of the present invention.

[0025] In a sixth aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method of the first aspect of the present invention.

[0026] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0028] Figure 1 A flowchart of a video quality assessment method based on audio and video feature fusion according to an embodiment of the present invention is shown;

[0029] Figure 2 A schematic diagram showing data flow of a video quality assessment method based on audio and video feature fusion according to an embodiment of the present invention is shown;

[0030] Figure 3 A structural diagram of a Resnet18 convolutional neural network according to an embodiment of the present invention is shown;

[0031] Figure 4 A flowchart of obtaining visual semantic features and audio semantic features according to an embodiment of the present invention is shown;

[0032] Figure 5 A block diagram of a video quality assessment device based on audio and video feature fusion according to an embodiment of the present invention is shown;

[0033] Figure 6 A flowchart of a video quality assessment method based on audio and video feature fusion according to another embodiment of the present invention is shown;

[0034] Figure 7 A block diagram of a video quality assessment device based on audio and video feature fusion according to another embodiment of the present invention is shown;

[0035] Figure 8 A block diagram of an exemplary electronic device capable of implementing embodiments of the present invention is shown.

[0036] Among them, 800 is an electronic device, 801 is a computing unit, 802 is a ROM, 803 is a RAM, 804 is a bus, 805 is an I / O interface, 806 is an input unit, 807 is an output unit, 808 is a storage unit, and 809 is a communication unit. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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.

[0038] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0039] Embodiment 1:

[0040] like Figure 1 , Figure 2 As shown, the method includes:

[0041] S101, obtaining a video segment, extracting a key frame of the video segment, and inputting the key frame into a Transformer encoder to obtain visual features of the video segment.

[0042] In this embodiment, extracting key frames of the video includes: selecting key frames from the segmented video segments according to a certain frame interval.

[0043] In this embodiment, the certain interval includes: 2 frames, 3 frames, 4 frames, etc.

[0044] In this embodiment, the Transformer encoder is a visual encoder model based on the Transformer structure.

[0045] In this embodiment, the Transformer encoder is composed of a multi-head attention module, a fully connected layer, and a normalization layer.

[0046] In this embodiment, the multi-head attention module is Multi-Head Attention, the fully connected layer and the normalization layer are FC&Norm Layer, and the Transformer encoder is Transformer Encoder.

[0047] In this embodiment, all key frames are input into a Transformer encoder to obtain features of all key frames, and the average values ​​of all features are calculated to obtain the visual features of the video segment.

[0048] In this embodiment, obtaining the visual features of the video segment includes: inputting the key frame into a Transformer encoder, calculating the average value of all features of the key frame, and obtaining the visual features.

[0049] This step takes into account the order of magnitude of video frames and the information redundancy between frames. Video segmentation helps to obtain the quality of local video segments, and combines the quality analysis of video segments to obtain a more reasonable and accurate video quality score. The Transformer encoder can use the self-attention mechanism to capture the spatial and temporal information in the image and obtain the global information of the frame.

[0050] S102, obtaining a GAF spectrogram from the audio segment corresponding to the video segment, extracting spectrum information of the corresponding audio segment from the GAF spectrogram, inputting the spectrum information of the corresponding audio segment into a convolution module, and outputting audio features of the corresponding audio segment.

[0051] In this embodiment, the GAF spectrum diagram is obtained by normalizing the audio segment, converting the polar coordinates, and calculating the cosine sum. As a conventional operation, it will not be described in detail here.

[0052] In this embodiment, the convolution module is composed of a 16*16 convolution layer, a pooling layer, a 32*32 convolution layer, a pooling layer, and a 64*64 convolution layer.

[0053] In this embodiment, the audio feature is obtained by extracting spectrum information of the corresponding audio segment from the GAF spectrum graph and inputting the spectrum information into a convolution module to calculate the average value of all outputs.

[0054] In this embodiment, a GAF spectrogram is obtained from an audio segment corresponding to a video segment, spectrum information of the corresponding audio segment is extracted from the GAF spectrogram, and the spectrum information of the corresponding audio segment is input into a convolution module, and the audio features of the corresponding audio segment are output, including: performing a series of processing on the audio segment to obtain a GAF spectrogram, extracting spectrum information from the GAF spectrogram, and inputting the corresponding spectrum information into the convolution module, calculating the average of all outputs, and obtaining audio features.

[0055] In this step, the GAF spectrum graph is introduced into the field of audio feature analysis, which can analyze the audio information from the perspective of image to extract rich time and space information, effectively improving the feature extraction ability and overall accuracy of the algorithm.

[0056] S103, inputting the visual features into the improved Transformer encoder to obtain the visual semantic features of the video segment; and inputting the audio features of the corresponding audio segment into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment.

[0057] In this embodiment, the improved Transformer encoder includes a first Transformer encoder and a second Transformer encoder having the same network structure.

[0058] The network structure includes a BiLSTM block, a fusion layer and a Transformer encoder in sequence.

[0059] In this embodiment, the ResNet18 convolutional neural network includes a first convolutional layer, a pooling layer, a first residual block, a second residual block, a third residual block and a fourth residual block in sequence.

[0060] In this embodiment, the Resnet18 convolutional neural network is a residual network with 18 weight layers, such as Figure 3 As shown, the network structure has 18 layers in total.

[0061] In this embodiment, the 18-layer structure consists of a first convolutional layer, a pooling layer, a first residual block, a second residual block, a third residual block and a fourth residual block.

[0062] In this embodiment, the first convolutional layer is composed of a 7*7 convolutional layer with 64 channels.

[0063] In this embodiment, the pooling layer is composed of a 3*3 maximum pooling layer.

[0064] In this embodiment, the first residual block includes: 2 layers of 3*3 convolutional layers with 64 channels*2.

[0065] In this embodiment, the second residual block includes: 2 layers of 3*3 convolutional layers with 128 channels*2.

[0066] In this embodiment, the third residual block includes: 2 layers of 3*3 convolutional layers with 256 channels*2.

[0067] In this embodiment, the fourth residual block includes: 2 layers of 3*3 convolutional layers with 512 channels*2.

[0068] In this embodiment, if Figure 4 As shown, the visual features are input into the improved Transformer encoder to obtain the visual semantic features of the video segment; and the audio features of the corresponding audio segment are input into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment, including:

[0069] S401: Input the visual features into the first Transformer encoder to obtain the first-level visual semantic features of the video segment ; Input the audio features of the corresponding audio segment into the third residual block of the ResNet18 convolutional neural network to obtain the first-level auditory semantic features of the corresponding audio segment .

[0070] S402, the first level visual semantic features and first-level auditory semantic features Add together to get the first level of fusion semantic information .

[0071] S403: First-level fusion semantic information With the first-level visual semantic features Add and input into the second Transformer encoder to obtain the second-level visual semantic features ; The second level visual semantic features As visual semantic features of video segments.

[0072] S404: First-level fusion semantic information First-level auditory semantic features Add them together and input them into the fourth residual block of the ResNet18 convolutional neural network to obtain the second-level auditory semantic features ; The second level of auditory semantic features As the audio semantic features of the corresponding audio segment.

[0073] The improved Transformer encoder in this step can effectively capture contextual information, obtain rich visual semantic information, and effectively improve the accuracy of the algorithm; the use of two-level fusion can not only enhance the interactive fusion of video features and audio features at different levels, and realize efficient fusion of features from shallow to deep, but also mine the interactive relationship between video and audio semantic information, and improve the accuracy of the model.

[0074] S104: The visual semantic features of the video segment and the audio semantic features of the corresponding audio segment are fused and input into a fully connected layer, and a quality evaluation score of the video segment is output to perform quality evaluation on the video segment.

[0075] In this embodiment, the second-level visual semantic features Second level auditory semantic features The sum is input into the fully connected layer to obtain the quality score of the video segment. The higher the quality evaluation score, the better the video quality.

[0076] In this step, the comprehensive use of video and audio semantic information can effectively evaluate the comprehensive experience quality of multimedia videos. Using the fully connected layer to reduce the fusion feature dimension can accelerate the network convergence speed and prepare for quality prediction.

[0077] This method solves the problem of the order of magnitude of video frames and information redundancy between frames, and uses the Transformer encoder to capture the spatial and temporal information in the image to obtain the global information of the frame. For the first time, the GAF spectrogram is introduced into the field of audio feature analysis, which can extract rich temporal and spatial information from the perspective of the image, effectively improving the feature extraction ability of the algorithm; a two-level audio and video fusion method is adopted, which not only considers the unique semantic features of audio and video, but also combines the interactive relationship between audio and video features to achieve deep fusion of semantic features, effectively improving the reliability and effectiveness of the algorithm.

[0078] Figure 5 A block diagram of a video quality assessment device based on audio and video feature fusion according to an embodiment of the present invention is shown.

[0079] like Figure 5 As shown, the device 500 includes:

[0080] 510. A visual feature acquisition module is used to acquire a video segment, extract a key frame of the video segment, and input the key frame into a Transformer encoder to obtain a visual feature of the video segment.

[0081] 520. An audio feature acquisition module, configured to acquire a GAF spectrum graph from an audio segment corresponding to the video segment, extract spectrum information of the corresponding audio segment from the GAF spectrum graph, input the spectrum information of the corresponding audio segment into a convolution module, and output audio features of the corresponding audio segment.

[0082] 530. A semantic feature acquisition module, configured to input visual features into an improved Transformer encoder to obtain visual semantic features of a video segment; and input audio features of a corresponding audio segment into a ResNet18 convolutional neural network to obtain audio semantic features of the corresponding audio segment.

[0083] 540. A fusion evaluation module, for fusing the visual semantic features of the video segment and the audio semantic features of the corresponding audio segment and inputting the fusion features into a fully connected layer, outputting a quality evaluation score of the video segment, and performing quality evaluation on the video segment.

[0084] Embodiment 2:

[0085] Figure 6 A flow chart of a video quality assessment method based on audio and video feature fusion according to another embodiment of the present invention is shown.

[0086] S601: Acquire a target video, and segment the video data and audio data of the target video to obtain a plurality of video segments and corresponding audio segments.

[0087] In this embodiment, segmenting the video data of the target video is segmenting the video at certain time intervals, and selecting key frames for the segmented video segments at certain frame intervals.

[0088] In this embodiment, the segmentation processing of the video according to certain time intervals includes: 2s, 3s, 4s, etc.

[0089] In this embodiment, the key frames selected according to a certain frame interval include: 2 frames, 3 frames, 4 frames, etc.

[0090] In this embodiment, the segmentation processing of the audio data is to segment the video at certain time intervals to obtain the audio segments of the segmented video.

[0091] In this embodiment, the video is segmented at certain time intervals, and the audio segments of the segmented video include: 2s, 3s, 4s, etc.

[0092] S602: Select a video segment from a number of video segments, and output a quality evaluation score of the video segment using the above method.

[0093] In this embodiment, the quality evaluation score of the video segment is calculated using the method in Embodiment 1, which will not be described in detail here.

[0094] S603: traverse all video segments of the target video, calculate the average of the quality evaluation scores of all video segments as the quality evaluation score of the target video, and perform quality evaluation on the target video.

[0095] In this embodiment, all video segments of the traversed target video are all video segments after the target video is segmented at certain time intervals.

[0096] In this embodiment, the quality evaluation score of the target video is calculated by averaging the quality evaluation scores of all video segments obtained after step S602 is performed.

[0097] In this embodiment, the higher the quality evaluation score is, the better the video quality is.

[0098] Figure 7 A block diagram of a video quality assessment device based on audio and video feature fusion according to another embodiment of the present invention is shown.

[0099] like Figure 7 As shown, the apparatus 700 includes:

[0100] 710. A segmentation processing module is used to obtain video data, and perform segmentation processing on the video data and audio data of the video data to obtain a plurality of video segments and corresponding audio segments.

[0101] 720. A video segment quality evaluation module is used to select a video segment from a plurality of video segments and output a quality evaluation score of the video segment using the above method.

[0102] 730. A target video quality evaluation module is used to traverse all video segments of the target video, calculate an average of the quality evaluation scores of all video segments as the quality evaluation score of the target video, and perform quality evaluation on the target video.

[0103] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0104] The above is an introduction to a method embodiment. The following is a further explanation of the scheme of the present invention through a device embodiment having the same inventive concept as the method in the aforementioned embodiment.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0106] In the technical solution of the present invention, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0107] According to an embodiment of the present invention, the present invention further provides an electronic device and a readable storage medium.

[0108] Figure 8 A schematic block diagram of an electronic device 800 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0109] The electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0110] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0111] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as methods S101 to S104. For example, in some embodiments, methods S101 to S104 may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the methods S101 to S104 described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute methods S101 - S104 in any other appropriate manner (eg, by means of firmware).

[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0113] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0114] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0115] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0116] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0117] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0118] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0119] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A video quality evaluation method based on audio and video feature fusion, characterized in that: include: Acquire an audio and video segment, where the audio and video segment includes a video segment and an audio segment corresponding to the video segment; Extract the key frames of the video segment and input them into the Transformer encoder to obtain the visual features of the video segment; Obtain a GAF spectrogram from the audio segment corresponding to the video segment, extract spectrum information of the corresponding audio segment from the GAF spectrogram, input the spectrum information of the corresponding audio segment into a convolution module, and output audio features of the corresponding audio segment; Input the visual features into the improved Transformer encoder to obtain the visual semantic features of the video segment; and input the audio features of the corresponding audio segment into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment; The visual semantic features of the video segment and the audio semantic features of the corresponding audio segment are fused and input into the fully connected layer, and the quality evaluation score of the audio and video segment is output to evaluate the quality of the audio and video segment; The improved Transformer encoder includes a first Transformer encoder and a second Transformer encoder having the same network structure; The network structure includes a BiLSTM block, a fusion layer and a Transformer encoder in sequence; The ResNet18 convolutional neural network includes a first convolutional layer, a pooling layer, a first residual block, a second residual block, a third residual block and a fourth residual block in sequence; The visual features are input into the improved Transformer encoder to obtain the visual semantic features of the video segment; And the audio features of the corresponding audio segment are input into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment, including: Input the visual features into the first Transformer encoder to obtain the first-level visual semantic features of the video segment; input the audio features of the corresponding audio segment into the ResNet18 convolutional neural network, and obtain the first-level auditory semantic features of the corresponding audio segment from the output of the third residual block of the ResNet18 convolutional neural network; Add the first-level visual semantic features and the first-level auditory semantic features to obtain the first-level fused semantic information; The first-level fusion semantic information is added to the first-level visual semantic features, and the results are input into the second Transformer encoder to obtain the second-level visual semantic features; the second-level visual semantic features are used as the visual semantic features of the video segment; The first-level fused semantic information is added to the first-level auditory semantic features and input into the fourth residual block of the ResNet18 convolutional neural network to obtain the second-level auditory semantic features; the second-level auditory semantic features are used as the audio semantic features of the corresponding audio segment.

2. A video quality evaluation device based on audio and video feature fusion, characterized in that: include: A visual feature acquisition module is used to acquire an audio and video segment, wherein the audio and video segment includes a video segment and an audio segment corresponding to the video segment; extract key frames of the video segment, input them into a Transformer encoder, and obtain visual features of the video segment; An audio feature acquisition module is used to obtain a GAF spectrogram from the audio segment corresponding to the video segment, extract the spectrum information of the corresponding audio segment from the GAF spectrogram, input the spectrum information of the corresponding audio segment into a convolution module, and output the audio features of the corresponding audio segment; The semantic feature acquisition module is used to input the visual features into the improved Transformer encoder to obtain the visual semantic features of the video segment; and input the audio features of the corresponding audio segment into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment; A fusion evaluation module is used to fuse the visual semantic features of the video segment and the audio semantic features of the corresponding audio segment and input them into the fully connected layer, output the quality evaluation score of the audio and video segment, and evaluate the quality of the audio and video segment; The improved Transformer encoder includes a first Transformer encoder and a second Transformer encoder having the same network structure; The network structure includes a BiLSTM block, a fusion layer and a Transformer encoder in sequence; The ResNet18 convolutional neural network includes a first convolutional layer, a pooling layer, a first residual block, a second residual block, a third residual block and a fourth residual block in sequence; The visual features are input into the improved Transformer encoder to obtain the visual semantic features of the video segment; And the audio features of the corresponding audio segment are input into the ResNet18 convolutional neural network to obtain the audio semantic features of the corresponding audio segment, including: Input the visual features into the first Transformer encoder to obtain the first-level visual semantic features of the video segment; input the audio features of the corresponding audio segment into the ResNet18 convolutional neural network, and obtain the first-level auditory semantic features of the corresponding audio segment from the output of the third residual block of the ResNet18 convolutional neural network; Add the first-level visual semantic features and the first-level auditory semantic features to obtain the first-level fused semantic information; The first-level fusion semantic information is added to the first-level visual semantic features, and the results are input into the second Transformer encoder to obtain the second-level visual semantic features; the second-level visual semantic features are used as the visual semantic features of the video segment; The first-level fused semantic information is added to the first-level auditory semantic features and input into the fourth residual block of the ResNet18 convolutional neural network to obtain the second-level auditory semantic features; the second-level auditory semantic features are used as the audio semantic features of the corresponding audio segment.

3. A video quality evaluation method based on audio and video feature fusion, characterized in that: include: Acquire a target video, and segment the target video to obtain a plurality of audio and video segments; Selecting an audio or video segment from a plurality of audio or video segments, and outputting a quality evaluation score of the audio or video segment using the method as claimed in claim 1; All audio and video segments of the target video are traversed, and the average quality evaluation score of all audio and video segments is calculated as the quality evaluation score of the target video, and the quality of the target video is evaluated.

4. A video quality evaluation device based on audio and video feature fusion, characterized in that: include: A segmentation processing module is used to obtain a target video and perform segmentation processing on the target video to obtain a plurality of audio and video segments; An audio and video segment quality evaluation module, used to select an audio and video segment from a plurality of audio and video segments, and output a quality evaluation score of the audio and video segment using the method as claimed in claim 1; The target video quality evaluation module is used to traverse all audio and video segments of the target video, calculate the average quality evaluation score of all audio and video segments as the quality evaluation score of the target video, and perform quality evaluation on the target video.

5. An electronic device comprising at least one processor; and a memory connected to the at least one processor in communication; characterized in that: The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of claim 1.

6. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to claim 1.

Citation Information

Patent Citations

  • Multi-modal video dense event description algorithm of interactive Transform

    CN114461851A

  • Audio-visual video analysis device and method based on multi-scale semantic network

    CN114519809A