A video fusion method and system for large sports venues
Through semantic feature analysis and target template fusion of smart large-scale sports venue videos, the problem that traditional video production methods cannot adapt to the needs of smart venues is solved, the flexibility and adaptability of video content are achieved, and the audience experience is improved.
Patent Information
- Application Number
- CN202311855475.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Traditional video production methods cannot effectively adapt to the information interaction needs of smart large-scale sports venues. They lack flexibility and adaptability and cannot meet the needs of interactivity, multimedia integration, real-time and personalized push.
By collecting the source video uploaded by the terminal, semantic feature analysis and extraction are performed, and the target push template is automatically selected based on the semantic feature descriptor and integrated into the source video to improve the efficiency and quality of video production and achieve better information interaction effects.
It improves the flexibility and adaptability of large-scale sports venue video production, enables video content to better adapt to the information interaction needs of smart large-scale sports venues, and improves the audience's viewing experience and participation.
Smart Images

Figure CN117765362B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent video fusion, and in particular to a method and system for fusion of videos in large sports venues. Background Art
[0002] With the development of intelligent large-scale sports venues, the production and push of video content has become an important means of information interaction in the venues. Traditional video production methods can only be based on the user's own inspiration and content, which makes the content of the video limited by the user's own level and cannot well adapt to the current needs of information interaction in intelligent large-scale sports venues.
[0003] Therefore, an optimized video fusion solution for large sports venues is desired. Summary of the invention
[0004] The embodiment of the present invention provides a large-scale sports venue video fusion method and system, which collects source videos uploaded by terminals, and introduces data processing and analysis algorithms at the back end to analyze and extract semantic features of the source videos, and automatically selects a suitable target push template based on the descriptor of the semantic features of the source videos, and fuses it into the source videos, thereby improving the production efficiency and quality of the videos and achieving better information interaction effects. In this way, the flexibility and adaptability of large-scale sports venue video production can be improved, so that the video content can better meet the information interaction needs in intelligent large-scale sports venues.
[0005] The embodiment of the present invention also provides a large sports venue video fusion method, which includes:
[0006] Get the source video uploaded by the terminal;
[0007] Performing video feature extraction on the source video to obtain a source video semantic feature descriptor;
[0008] Determining a target push template based on the source video semantic feature descriptor; and
[0009] The target push template is fused into the source video to obtain a fused video.
[0010] The embodiment of the present invention further provides a large sports venue video fusion system, which includes:
[0011] The source video acquisition module is used to acquire the source video uploaded by the terminal;
[0012] A video feature extraction module, used for extracting video features from the source video to obtain a source video semantic feature descriptor;
[0013] A target push template determination module, used to determine a target push template based on the source video semantic feature descriptor; and
[0014] The fused video generation module is used to fuse the target push template into the source video to obtain a fused video. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0016] Figure 1 The present invention provides a flowchart of a large sports venue video fusion method according to an embodiment of the present invention.
[0017] Figure 2 A schematic diagram of a system architecture of a large sports venue video fusion method provided in an embodiment of the present invention.
[0018] Figure 3 The block diagram of a large sports venue video fusion system provided in an embodiment of the present invention.
[0019] Figure 4 This is a diagram of an application scenario of a large sports venue video fusion method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0020] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0021] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.
[0022] In the embodiments of the present application, it should be noted that, unless otherwise specified and limited, the term "connection" should be understood in a broad sense. For example, it can be an electrical connection or a connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0023] It should be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that the specific order or sequence of "first\second\third" can be interchanged where permitted. It should be understood that the objects distinguished by "first\second\third" can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0024] With the development of intelligent large-scale sports venues, the production and push of video content has become increasingly important and has become one of the important means of information interaction in venues. Traditional video production methods usually rely on the user's own inspiration and content, which limits the creativity and adaptability of video content and cannot well meet the current needs of information interaction in intelligent large-scale sports venues.
[0025] In large-scale smart sports venues, the production and push of video content need to consider the following aspects:
[0026] 1. Interactivity: Smart large sports venues usually have rich interactive functions, such as touch screens, sensors, and virtual reality technology. Video content production needs to be combined with these interactive functions to enable audiences to participate and enhance the viewing experience. For example, interactive video games or interactive projections can be produced to allow audiences to interact with video content.
[0027] 2. Multimedia integration: Intelligent large-scale sports venues usually have a variety of media display technologies, such as large LED screens, projection, etc. Video content production can integrate different media elements to create richer and more diverse audio-visual effects. For example, video content can be combined with music, lighting and special effects to create a unique audio-visual feast.
[0028] 3. Real-time: Smart large sports venues usually have a lot of real-time information to convey, such as game results, event statistics, etc. Video content production needs to consider the acquisition and display of real-time data so that the audience can keep up to date with the latest information. For example, real-time game replays and statistical analysis can be produced so that the audience can obtain relevant information while watching the game.
[0029] 4. Personalized push: Smart large sports venues usually have a large number of spectators, each of whom may have different interests and needs. Video content production can be pushed according to the personalized needs of the audience, providing a more accurate and personalized viewing experience. For example, relevant video content can be recommended based on the audience's preferences, or customized video services can be provided.
[0030] In order to meet the above requirements, traditional video production methods have gradually evolved into more intelligent and automated methods. For example, artificial intelligence technology can be used to automatically generate and intelligently push video content, and generate highly adaptable video content based on the audience's interests and the real-time situation of the venue. At the same time, the use of technologies such as big data and machine learning can analyze the audience's behavior and feedback, and further optimize the production and push of video content.
[0031] In one embodiment of the present invention, Figure 1 The present invention provides a flowchart of a large sports venue video fusion method according to an embodiment of the present invention. Figure 2 FIG. 1 is a schematic diagram of a system architecture of a large sports venue video fusion method provided in an embodiment of the present invention. Figure 1 and Figure 2 As shown, the large-scale sports stadium video fusion method according to an embodiment of the present invention includes: 110, obtaining the source video uploaded by the terminal; 120, performing video feature extraction on the source video to obtain a source video semantic feature descriptor; 130, determining a target push template based on the source video semantic feature descriptor; and, 140, fusing the target push template into the source video to obtain a fused video.
[0032] In step 110, the key is to ensure that the source video uploaded by the terminal can be effectively obtained. It is necessary to ensure that the data transmission channel for the terminal to upload the video is stable and reliable to avoid data loss or damage; determine the data format and encoding and decoding method of the source video for subsequent video processing and feature extraction; take necessary security measures to ensure that the uploaded video data is not tampered with or leaked. In this way, high-quality source video can be obtained for subsequent video processing and push, ensuring the integrity of the source video to avoid losing important content during subsequent processing, and protecting the security and privacy of the uploaded video data.
[0033] In step 120, it is necessary to perform feature extraction on the source video to obtain semantic feature descriptors of the source video. Select a suitable video feature extraction method, such as frame-based feature extraction, region-based feature extraction, etc., to obtain features that can accurately describe the video content. Determine the representation method of the features, such as using vectors, matrices, etc. to represent video features for subsequent feature matching and fusion. Ensure that the extracted video features have certain stability and robustness under different scenes, lighting conditions and video quality. Among them, through video feature extraction, feature descriptors that can describe the semantic content of the source video are obtained, which provides a basis for subsequent target push template determination and fusion; by comparing the feature descriptors of different videos, similarity matching and recommendation of video content can be achieved.
[0034] In step 130, a suitable target push template is determined based on the semantic feature descriptor of the source video. According to the feature descriptor of the source video, a target push template that matches it is selected to ensure the consistency and relevance of the pushed content with the source video content; according to the personalized needs of the audience and the real-time situation of the venue, the target push template is personalized to provide a more accurate and personalized viewing experience; according to the needs of the venue and the feedback of the audience, the target push template is regularly updated and optimized to keep the content fresh and attractive. In this way, by determining the target push template, the consistency of the pushed content with the source video content can be ensured, and the audience's viewing experience can be improved. According to the personalized needs of the audience, the target push template is customized to provide more personalized content that meets the audience's interests.
[0035] In step 140, the target push template is merged into the source video to generate a fused video. Determine the method of merging the target push template and the source video, such as superposition, mixing, etc., to maintain the visual effect and consistency of the fused video; ensure the quality and smoothness of the fused video to provide a good viewing experience; ensure that the target push template in the fused video is synchronized with the time of the source video content, so that the push content and the video content echo each other. In this way, by merging the target push template into the source video, the visual effect of the video can be enhanced and the audience's viewing experience can be improved. The fused video can simultaneously transmit the content of the source video and the information of the target push template, so that the audience can understand and participate in it more comprehensively.
[0036] The above steps describe a video content production process. By acquiring source video, extracting features, determining and integrating target push templates, etc., it is possible to achieve personalized, diversified and intelligent push of video content in large-scale smart sports venues, thereby improving the audience's viewing experience and participation.
[0037] In response to the above technical problems, the technical concept of this application is to collect the source video uploaded by the terminal, and introduce data processing and analysis algorithms in the back end to analyze and extract the semantic features of the source video, and automatically select the appropriate target push template based on the descriptor of the semantic features of the source video, and integrate it into the source video, thereby improving the production efficiency and quality of the video and achieving better information interaction effects. In this way, the flexibility and adaptability of video production in large sports venues can be improved, so that the video content can better meet the information interaction needs in intelligent large sports venues.
[0038] Specifically, in the technical solution of the present application, first, the source video uploaded by the terminal is obtained, and video feature extraction is performed on the source video to extract key information and content semantic features in the source video, and convert them into source video semantic feature descriptors. In this way, a target push template can be determined based on the source video semantic feature descriptors, so as to facilitate the fusion of the target push template into the source video to obtain a fused video.
[0039] In particular, in the step of extracting video features from the source video to obtain a source video semantic feature descriptor, it is considered that the source video usually contains a large amount of semantic information, and different video content semantic features are displayed in the source video in different video clips. Therefore, if the semantic understanding of the entire source video is performed, it may lead to confusion and ambiguity of the video semantic information. Based on this, in the technical solution of the present application, it is necessary to segment the source video into video clips to obtain a sequence of source video clips. In this way, the long source video can be decomposed into multiple short source video clips, which can help to better capture the details and changes in the source video, thereby more finely analyzing the content and features of the video without causing confusion and ambiguity of information due to the length of the entire video, so as to provide more accurate input for subsequent processing steps.
[0040] In a specific embodiment of the present application, video feature extraction is performed on the source video to obtain a source video semantic feature descriptor, including: dividing the source video into video segments to obtain a sequence of source video segments; performing feature extraction on the sequence of source video segments by a video multidimensional feature extractor based on a deep neural network model to obtain a sequence of source video segment multidimensional feature maps; calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature maps in the sequence of source video segment multidimensional feature maps to obtain a source video semantic fluctuation feature vector composed of video semantic difference measurement coefficients; performing global semantic association encoding on the sequence of source video segment multidimensional feature maps to obtain a source video global semantic context feature vector; and fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor.
[0041] Among them, the deep neural network model is a three-dimensional convolutional neural network model.
[0042] First, the source video is divided into multiple segments, which can better capture different scenes and contents in the video. The video segments of interest can be selected for subsequent processing according to specific needs to improve processing efficiency and accuracy. Then, the multi-dimensional features of the video segments are extracted through the deep neural network model, which can capture the visual, semantic, dynamic and other aspects of the video. The extracted features can be represented in the form of vectors or matrices, providing a basis for subsequent feature analysis and processing. Then, by calculating the difference measurement coefficient between adjacent feature maps, the semantic difference between video segments can be quantified. The semantic difference measurement coefficient can be used to analyze the feature changes between video segments and further understand the evolution and transformation of video content. Then, through global semantic association coding, the global semantic information of the entire video segment sequence can be captured, providing a more comprehensive video semantic context. Global semantic association coding can fuse the features of different video segments to obtain an overall semantic feature representation. Finally, by fusing the semantic fluctuation feature vector of the source video and the global semantic context feature vector, multi-scale and multi-dimensional video semantic features can be obtained. The fused feature vector can more comprehensively describe the semantic information of the video and provide a more accurate and rich video feature representation.
[0043] By performing video segmentation, feature extraction, semantic difference measurement, global semantic association encoding and feature fusion on the source video, a multi-scale and multi-dimensional semantic feature vector of the source video can be obtained as the semantic feature descriptor of the source video. In this way, the diversity of video content can be captured, rich video features can be extracted, semantic differences can be quantified, global semantic context can be obtained and accurate semantic feature representation can be provided.
[0044] Then, the sequence of source video clips is subjected to feature mining in a video multi-dimensional feature extractor based on a three-dimensional convolutional neural network model to respectively extract the video clip semantic feature information in each source video clip, thereby obtaining a sequence of multi-dimensional feature maps of the source video clips.
[0045] In the source video, different source video clips may contain different scenes, actions or objects. These differences can be quantified by calculating the differences between the multi-dimensional feature maps of the source video clips, so as to more fully and accurately analyze and capture the features of the overall semantics of the source video. Therefore, in the technical solution of the present application, the video semantic difference measurement coefficient between each two adjacent multi-dimensional feature maps of the source video clips in the sequence of multi-dimensional feature maps of the source video clips is further calculated to obtain a source video semantic fluctuation feature vector composed of video semantic difference measurement coefficients. In particular, here, the video semantic difference measurement coefficient is used to measure the degree of semantic difference between the semantic features of the source video clips. These difference measurement coefficients can reflect the changes and transformations of the video content, thereby providing feature information about the video semantic fluctuation, that is, the semantic changes and fluctuations of the video content, which is conducive to providing a basis for subsequent processing and fusion.
[0046] In a specific embodiment of the present application, calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs to obtain a source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients, including: calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs using the following semantic difference formula to obtain the source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients; wherein the semantic difference formula is: in, and are the feature values of each position in each of the two adjacent source video segment multi-dimensional feature maps in the sequence of the source video segment multi-dimensional feature maps, is the width of each adjacent two source video segment multi-dimensional feature graphs in the sequence of source video segment multi-dimensional feature graphs, is the height of each two adjacent source video segment multidimensional feature maps in the sequence of source video segment multidimensional feature maps, and is the number of channels of each of two adjacent multi-dimensional feature maps of source video segments in the sequence of multi-dimensional feature maps of source video segments, It is the semantic difference measurement coefficient of each video in the semantic fluctuation feature vector of the source video.
[0047] Furthermore, it is also considered that in the source video, there are semantic associations and contextual information between different segments. Therefore, in order to utilize the global association features between the semantics of each video segment in the source video to further enhance the adequacy and accuracy of the semantic understanding of the source video, in the technical solution of the present application, the sequence of multi-dimensional feature maps of the source video segments is further encoded through a video semantic context association encoder based on a converter module to extract the global contextual semantic association feature information between the semantic features of each source video segment, thereby obtaining a global semantic context feature vector of the source video. By inputting the sequence of multi-dimensional feature maps of the source video segments into the video semantic context association encoder based on the converter module, the model can be used to learn the semantic associations and contextual information between the source video segments, so as to more comprehensively represent the overall semantic features and content of the source video.
[0048] In a specific embodiment of the present application, a sequence of multi-dimensional feature maps of the source video clip is globally semantically associated encoded to obtain a global semantic context feature vector of the source video, including: passing the sequence of multi-dimensional feature maps of the source video clip through a video semantic context associated encoder based on a converter module to obtain the global semantic context feature vector of the source video.
[0049] The video semantic context encoder of the transformer module can capture global semantic information in the entire video sequence, which helps to understand the overall semantic structure and content in the video and provide a more comprehensive and accurate semantic feature representation. The semantic context encoder can encode the sequence of multi-dimensional feature maps of the source video clips and model the semantic associations between different clips, which can capture the semantic transformation and evolution between video clips and provide richer and more coherent semantic context information.
[0050] Through global semantic context association coding, the continuity and consistency of video semantics can be maintained, which helps to improve the fluency of video content and viewing experience, and enables viewers to better understand and follow the semantic changes of the video. In the process of global semantic context association coding, multi-dimensional features can be fused and reduced to obtain a more compact and expressive global semantic feature vector, which helps to reduce the dimension of features and improve the expression efficiency and computational efficiency of features. By obtaining the global semantic context feature vector of the source video, the content and semantics of the video can be better understood, providing a basis for video content analysis, retrieval, recommendation and other related applications, and helping to improve the accuracy, efficiency and user experience of video processing and applications.
[0051] By encoding the sequence of multi-dimensional feature maps of the source video clips through the video semantic context encoder based on the transformer module, the global semantic context feature vector of the source video can be obtained. In this way, global semantic information can be captured, semantic associations can be modeled, semantic continuity can be maintained, features can be fused and dimensionally reduced, and the ability to understand and apply video content can be improved.
[0052] It should be understood that the source video semantic fluctuation feature vector reflects the semantic feature differences and fluctuation degrees between source video clips, while the source video global semantic context feature vector captures the semantic context feature information of the entire source video, and these two feature vectors describe the semantic features of the source video from different angles. Therefore, in order to be able to more comprehensively and comprehensively represent the features of the source video semantics, in the technical solution of the present application, the source video semantic fluctuation feature vector and the source video global semantic context feature vector are fused to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor. By fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector, their information can be complemented and combined to obtain a more comprehensive and richer source video semantic feature descriptor. Such a descriptor can more comprehensively represent the semantic feature information of the source video, providing a more accurate basis for video analysis and target push.
[0053] In a specific embodiment of the present application, the source video semantic fluctuation feature vector and the source video global semantic context feature vector are fused to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor, including: fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain an initial source video multi-scale multi-dimensional semantic feature vector; and performing feature distribution optimization on the initial source video multi-scale multi-dimensional semantic feature vector to obtain the source video multi-scale multi-dimensional semantic feature vector.
[0054] By fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector, feature information of different scales and dimensions can be combined, which can provide a more comprehensive and rich video semantic feature representation. The fused feature vector, as the initial source video multi-scale multi-dimensional semantic feature vector, contains the semantic fluctuation and global semantic context information of the source video, providing a global grasp and fine-grained description of the source video content.
[0055] Optimizing the feature distribution of the multi-scale and multi-dimensional semantic feature vectors of the initial source video can further improve the expressiveness and discrimination of the features. By optimizing the feature distribution, similar video clips can be closer in the feature space, while dissimilar video clips are more dispersed. This helps to improve the similarity measurement and retrieval accuracy of video content.
[0056] The multi-scale and multi-dimensional semantic feature vector of the source video has more comprehensive and rich semantic information, and is optimized to improve the expressiveness and discrimination of the features. It can be used for video content analysis, retrieval, recommendation and other related applications, providing more accurate and rich video feature representation.
[0057] Specifically, in one embodiment of the present application, the feature distribution of the initial source video multi-scale multi-dimensional semantic feature vector is optimized to obtain the source video multi-scale multi-dimensional semantic feature vector, including: correcting the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a corrected feature vector; fusing the corrected feature vector with the initial source video multi-scale multi-dimensional semantic feature vector to obtain the source video multi-scale multi-dimensional semantic feature vector.
[0058] In particular, in the above technical scheme, the sequence of multi-dimensional feature graphs of the source video clips expresses the image semantic features of the source video in the local time domain under the local time domain determined by video clip segmentation in the global time domain, thereby, the source video semantic fluctuation feature vector expresses the image semantic fluctuation features between local time domains under the global time domain, and the source video global semantic context feature vector expresses the local time domain image semantic context association features under the global time domain. In this way, when fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector, considering that the different feature distribution patterns of the source video semantic fluctuation feature vector and the source video global semantic context feature vector based on the local time domain in the global time domain lead to the sparseness of the image semantic feature correspondence, it will affect the expression effect of the source video multi-scale multi-dimensional semantic feature vector. Therefore, it is expected to optimize the feature correspondence based on the temporal significance and temporal criticality of the feature expressions of the source video semantic fluctuation feature vector and the source video global semantic context feature vector, so as to improve the expression effect of the source video multi-scale multi-dimensional semantic feature vector.
[0059] Based on this, the applicant of the present application corrects the source video semantic fluctuation feature vector and the source video global semantic context feature vector, which is specifically expressed as: correcting the source video semantic fluctuation feature vector and the source video global semantic context feature vector using the following optimization formula to obtain a corrected feature vector; wherein the optimization formula is: in, is the semantic fluctuation feature vector of the source video, and is the global semantic context feature vector of the source video, represents the position-wise square root of the eigenvector, and The eigenvectors are and The reciprocal of the largest eigenvalue, and is the weight hyperparameter, is the corrected eigenvector, represents positional subtraction, represents point multiplication by position; the correction feature vector is fused with the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video.
[0060] Here, the semantic fluctuation feature vector of the source video is and the source video global semantic context feature vector The square root of each eigenvalue is used to obtain the pre-segmented local group of the eigenvalue set, and the source video semantic fluctuation feature vector is regressed therefrom. and the source video global semantic context feature vector In this way, the location-significant distribution of eigenvalues can be improved based on the idea of farthest point sampling, so that the sparse interaction control between feature vectors can be carried out through the key features with significant distribution to achieve the correction of feature vectors. For the source video semantic fluctuation feature vector and the source video global semantic context feature vector The original manifold geometry is restored. In this way, the corrected eigenvector By fusing with the multi-scale and multi-dimensional semantic feature vector of the source video, the expression effect of the multi-scale and multi-dimensional semantic feature vector of the source video can be improved, thereby improving the accuracy of the determined target push template. In this way, it is possible to automatically select a suitable target push template based on the semantics of the source video and fuse it into the source video, thereby improving the production efficiency and quality of the video and achieving better information interaction effects. In this way, the flexibility and adaptability of video production in large sports venues can be improved, so that the video content can better adapt to the information interaction needs in intelligent large sports venues.
[0061] In summary, the video fusion method of a large sports stadium based on the embodiment of the present invention is explained, which collects the source video uploaded by the terminal, and introduces data processing and analysis algorithms at the back end to analyze and extract the semantic features of the source video, and automatically selects a suitable target push template based on the descriptor of the semantic features of the source video, and fuses it into the source video, thereby improving the production efficiency and quality of the video and achieving better information interaction effects. In this way, the flexibility and adaptability of video production in large sports stadiums can be improved, so that the video content can better adapt to the information interaction needs in intelligent large sports stadiums.
[0062] Figure 3 FIG. 1 is a block diagram of a large sports venue video fusion system provided in an embodiment of the present invention. Figure 3 As shown, the large sports venue video fusion system 200 includes: a source video acquisition module 210, used to acquire the source video uploaded by the terminal; a video feature extraction module 220, used to extract video features from the source video to obtain a source video semantic feature descriptor; a target push template determination module 230, used to determine a target push template based on the source video semantic feature descriptor; and a fused video generation module 240, used to fuse the target push template into the source video to obtain a fused video.
[0063] Those skilled in the art will appreciate that the specific operations of each step in the above-mentioned large sports venue video fusion system have been described in detail above. Figure 1 to Figure 2 The description of the large sports venue video fusion method has been introduced in detail, and therefore, its repeated description will be omitted.
[0064] As described above, the large sports venue video fusion system 200 according to the embodiment of the present invention can be implemented in various terminal devices, such as a server for large sports venue video fusion. In one example, the large sports venue video fusion system 200 according to the embodiment of the present invention can be integrated into the terminal device as a software module and / or a hardware module. For example, the large sports venue video fusion system 200 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the large sports venue video fusion system 200 can also be one of the many hardware modules of the terminal device.
[0065] Alternatively, in another example, the large sports venue video fusion system 200 and the terminal device may also be separate devices, and the large sports venue video fusion system 200 may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0066] Figure 4FIG. 1 is an application scenario diagram of a large sports venue video fusion method provided in an embodiment of the present invention. Figure 4 As shown, in this application scenario, first, the source video uploaded by the terminal is obtained (for example, Figure 4 Then, the acquired source video is input to a server (for example, Figure 4 In S) shown in , the server is capable of processing the source video based on a large sports venue video fusion algorithm to determine a target push template; and merging the target push template into the source video to obtain a fused video.
[0067] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A large sports venue video fusion method, characterized in that: include: Get the source video uploaded by the terminal; Performing video feature extraction on the source video to obtain a source video semantic feature descriptor; Determining a target push template based on the source video semantic feature descriptor; as well as Merging the target push template into the source video to obtain a fused video; The step of extracting video features from the source video to obtain a source video semantic feature descriptor includes: Segmenting the source video into video segments to obtain a sequence of source video segments; Extracting features from the sequence of source video clips using a video multi-dimensional feature extractor based on a deep neural network model to obtain a sequence of multi-dimensional feature graphs of the source video clips; Calculating the video semantic difference measurement coefficient between each two adjacent source video segment multi-dimensional feature graphs in the sequence of the source video segment multi-dimensional feature graphs to obtain a source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients; Performing global semantic association coding on the sequence of multi-dimensional feature graphs of the source video clip to obtain a global semantic context feature vector of the source video; Fusion of the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor; Wherein, calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs to obtain the source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients, including: calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs by the following semantic difference formula to obtain the source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients; Wherein, the semantic difference formula is: , in, and are the feature values of each position in each of the two adjacent source video segment multi-dimensional feature maps in the sequence of the source video segment multi-dimensional feature maps, is the width of each adjacent two source video segment multi-dimensional feature graphs in the sequence of source video segment multi-dimensional feature graphs, is the height of each two adjacent source video segment multidimensional feature maps in the sequence of source video segment multidimensional feature maps, and is the number of channels of each of two adjacent multi-dimensional feature maps of source video segments in the sequence of multi-dimensional feature maps of source video segments, is the semantic difference measurement coefficient of each video in the semantic fluctuation feature vector of the source video; The method of fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor includes: Fusion of the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain an initial source video multi-scale multi-dimensional semantic feature vector; Performing feature distribution optimization on the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video; The step of optimizing the feature distribution of the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video includes: Correcting the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a corrected feature vector; The correction feature vector is fused with the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video; The source video semantic fluctuation feature vector and the source video global semantic context feature vector are corrected by the following optimization formula to obtain a corrected feature vector; wherein the optimization formula is: , in, is the semantic fluctuation feature vector of the source video, and is the global semantic context feature vector of the source video, represents the position-wise square root of the eigenvector, and The eigenvectors are and The reciprocal of the largest eigenvalue, and is the weight hyperparameter, is the corrected eigenvector, represents positional subtraction, Represents point product by position.
2. The large sports venue video fusion method according to claim 1, characterized in that: The deep neural network model is a three-dimensional convolutional neural network model.
3. The large sports venue video fusion method according to claim 2, characterized in that: The sequence of multi-dimensional feature maps of the source video clip is globally semantically associated encoded to obtain a global semantic context feature vector of the source video, including: passing the sequence of multi-dimensional feature maps of the source video clip through a video semantic context association encoder based on a converter module to obtain the global semantic context feature vector of the source video.
4. A large sports venue video fusion system, characterized in that: include: The source video acquisition module is used to acquire the source video uploaded by the terminal; A video feature extraction module, used for extracting video features from the source video to obtain a source video semantic feature descriptor; A target push template determination module, used to determine a target push template based on the source video semantic feature descriptor; as well as A fused video generation module, used for fusing the target push template into the source video to obtain a fused video; Wherein, the video feature extraction module includes: A video segmentation unit, configured to segment the source video into video segments to obtain a sequence of source video segments; A feature extraction unit, configured to extract features from the sequence of source video segments by using a video multi-dimensional feature extractor based on a deep neural network model to obtain a sequence of multi-dimensional feature maps of the source video segments; A semantic difference measurement coefficient calculation unit, used for calculating the video semantic difference measurement coefficient between each two adjacent source video segment multi-dimensional feature graphs in the sequence of the source video segment multi-dimensional feature graphs to obtain a source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients; A global semantic association coding unit, used for performing global semantic association coding on the sequence of multi-dimensional feature graphs of the source video segment to obtain a global semantic context feature vector of the source video; A vector fusion unit, used for fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor; Wherein, calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs to obtain the source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients, including: calculating the video semantic difference measurement coefficient between each two adjacent source video segment multidimensional feature graphs in the sequence of the source video segment multidimensional feature graphs by the following semantic difference formula to obtain the source video semantic fluctuation feature vector composed of the video semantic difference measurement coefficients; Wherein, the semantic difference formula is: , in, and are the feature values of each position in each of the two adjacent source video segment multi-dimensional feature maps in the sequence of the source video segment multi-dimensional feature maps, is the width of each adjacent two source video segment multi-dimensional feature graphs in the sequence of source video segment multi-dimensional feature graphs, is the height of each two adjacent source video segment multidimensional feature maps in the sequence of source video segment multidimensional feature maps, and is the number of channels of each of two adjacent multi-dimensional feature maps of source video segments in the sequence of multi-dimensional feature maps of source video segments, is the semantic difference measurement coefficient of each video in the semantic fluctuation feature vector of the source video; The method of fusing the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a source video multi-scale multi-dimensional semantic feature vector as the source video semantic feature descriptor includes: Fusion of the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain an initial source video multi-scale multi-dimensional semantic feature vector; Performing feature distribution optimization on the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video; The step of optimizing the feature distribution of the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video includes: Correcting the source video semantic fluctuation feature vector and the source video global semantic context feature vector to obtain a corrected feature vector; The correction feature vector is fused with the multi-scale and multi-dimensional semantic feature vector of the initial source video to obtain the multi-scale and multi-dimensional semantic feature vector of the source video; The source video semantic fluctuation feature vector and the source video global semantic context feature vector are corrected by the following optimization formula to obtain a corrected feature vector; wherein the optimization formula is: , in, is the semantic fluctuation feature vector of the source video, and is the global semantic context feature vector of the source video, represents the position-wise square root of the eigenvector, and The eigenvectors are and The reciprocal of the largest eigenvalue, and is the weight hyperparameter, is the corrected eigenvector, represents positional subtraction, Represents point product by position.
5. The large sports venue video fusion system according to claim 4 is characterized in that: The deep neural network model is a three-dimensional convolutional neural network model.
