A semantic recognition method, device, and computer storage medium

By determining the image group to be processed, extracting and dividing feature maps, performing pixel alignment and image fusion in video semantic segmentation technology, combined with the cascade structure of the 3D alignment convolution network, the problem of insufficient semantic segmentation accuracy in the existing technology is solved. problem, improving the recognition ability of occluded or deformed objects.

CN110807379BActive Publication Date: 2024-08-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911001003.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-21
Publication Date
2024-08-27
Estimated Expiration
2040-03-02

AI Technical Summary

Technical Problem

Existing video semantic segmentation technology has shortcomings in accuracy, especially when processing target videos that are occluded or deformed, making it difficult to effectively identify objects.

Method used

By determining the image group to be processed from the target video, extracting and dividing the feature map set, performing pixel position alignment and image fusion, constructing semantic recognition results, and using the 3D alignment convolution network with a cascade structure to perform convolution in the time dimension. Improve the accuracy of semantic recognition.

Benefits of technology

It improves the accuracy of semantic recognition, especially when dealing with occluded or deformed objects, and can effectively utilize adjacent video image information, and is suitable for various types of target videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110807379B
    Figure CN110807379B
Patent Text Reader

Abstract

The embodiment of the present application discloses a semantic recognition method, device, and computer storage medium, the method relates to the direction of computer vision in the field of artificial intelligence, the method includes: determining a to-be-processed image group from a target video, extracting image features of video images in the to-be-processed image group to obtain a feature map set, dividing the feature map set into a plurality of sub-feature map sets, determining a fused reference feature map corresponding to the sub-feature map set, aligning the pixel points of the feature map in the sub-feature map set according to the position information of the pixel points in the fused reference feature map, obtaining a position-aligned feature map, fusing the position-aligned feature map with the fused reference feature map, obtaining a fused feature map, and constructing a semantic recognition result corresponding to the target video image based on the plurality of fused feature maps. The scheme can improve the accuracy of semantic recognition by aligning the pixel points of the feature map in the sub-feature map set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a semantic recognition method, device, and computer storage medium. Background Art

[0002] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.

[0003] Among them, video semantic segmentation technology is a technology that uses artificial intelligence to assign a semantic label to each pixel on a video image. Video semantic segmentation technology can be applied to many application scenarios, emphasizing that computers perceive and understand scenes, so it is widely used in scenarios such as robot vision and autonomous driving. However, at present, video semantic segmentation is mainly achieved by directly performing semantic recognition on video images in the video, but the accuracy of video semantic segmentation using this method is not high. Summary of the invention

[0004] The embodiments of the present application provide a semantic recognition method, device, and computer storage medium, which can improve the accuracy of semantic recognition.

[0005] The present application provides a semantic recognition method, including:

[0006] Determine a to-be-processed image group from a target video, the to-be-processed image group comprising a target video image and a plurality of adjacent video images adjacent to the target video image;

[0007] Extracting image features of the video images in the to-be-processed image group to obtain a feature map set, wherein the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video images;

[0008] Dividing the feature map set into a plurality of sub-feature map sets, and determining fused reference feature maps corresponding to the sub-feature map sets;

[0009] According to the position information of the pixel points in the fused reference feature map, the pixel points of the feature maps in the sub-feature map set are aligned to obtain a feature map after position alignment;

[0010] Performing image fusion on the position-aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set;

[0011] Based on the fused feature maps corresponding to the sets of several sub-feature maps, a semantic recognition result corresponding to the target video image is constructed.

[0012] Accordingly, the embodiment of the present application further provides a semantic recognition device, including:

[0013] A determination module, used to determine a to-be-processed image group from a target video, wherein the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image;

[0014] An extraction module, used to extract image features of the video images in the to-be-processed image group to obtain a feature map set, wherein the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video image;

[0015] A division module, used to divide the feature map set into a plurality of sub-feature map sets, and determine a fusion reference feature map corresponding to the sub-feature map sets;

[0016] An alignment module is used to align the pixel points of the feature map in the sub-feature map set according to the position information of the pixel points in the fused reference feature map to obtain a feature map after position alignment;

[0017] A fusion module, used for performing image fusion on the position-aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set;

[0018] A construction module is used to construct a semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the plurality of sub-feature map sets.

[0019] Accordingly, the embodiment of the present application also provides another semantic recognition method, including:

[0020] Determine a to-be-processed image group from a target video, the to-be-processed image group comprising a target video image and a plurality of adjacent video images adjacent to the target video image;

[0021] Inputting the video images in the to-be-processed image group into a feature extraction network, and extracting a feature map corresponding to each video image based on the feature extraction network;

[0022] Constructing a plurality of sub-feature graph sets based on the feature graph;

[0023] Inputting a plurality of sub-feature map sets into an aligned convolutional network, and obtaining a fused feature map corresponding to the target video image based on the aligned convolutional network;

[0024] The fused feature map is input into a semantic recognition network, and a semantic recognition result corresponding to the target video image is obtained based on the semantic recognition network.

[0025] Optionally, in some embodiments, the construction module may include a construction submodule, a first determination submodule and an identification submodule, as follows:

[0026] A construction submodule is used to construct a fused feature map set based on the fused feature maps corresponding to the plurality of sub-feature map sets;

[0027] A first determination submodule is used to use the fused feature map set as a feature map set, return to execute the step of dividing the feature map set into a plurality of sub-feature map sets, and determining the fused reference feature maps corresponding to the sub-feature map sets, until the number of images of the fused feature map meets the termination condition;

[0028] The recognition submodule is used to perform semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image.

[0029] Optionally, in some embodiments, the partitioning module may include an extraction submodule and a second determination submodule, as follows:

[0030] An extraction submodule, used for slidingly extracting a plurality of sub-feature map sets from the feature map set through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map;

[0031] The second determination submodule is used to determine the fused reference feature map corresponding to the sub-feature map set.

[0032] At this time, the extraction submodule can be specifically used to determine the preset number of feature maps extracted by the virtual sliding window each time, and according to the preset number, slide and extract several sub-feature map sets from the feature map set, each sub-feature map set includes a preset number of feature maps.

[0033] At this time, the alignment module can be specifically used to determine the offset of the pixel points in the feature map of the sub-feature map set according to the position information of the pixel points in the reference feature map after fusion, and based on the offset, align the pixel points of the feature map in the sub-feature map set to obtain the aligned feature map.

[0034] Optionally, in some embodiments, the recognition submodule may include an upsampling submodule and a semantic recognition submodule, as follows:

[0035] An upsampling submodule, used to upsample the fused feature map to obtain an upsampled feature map;

[0036] The semantic recognition submodule is used to perform semantic recognition on the upsampled feature map to obtain a semantic recognition result corresponding to the target video image.

[0037] At this time, the upsampling submodule can be specifically used to upsample the fused feature map to obtain an initial upsampled feature map, and fuse the feature map, the fused feature map, and the initial upsampled feature map to obtain an upsampled feature map.

[0038] At this time, the semantic recognition device may also include a video semantic recognition module, which can be specifically used to continue executing the step of determining the image group to be processed from the target video until a semantic recognition result corresponding to the video image that needs semantic recognition in the target video is constructed, and the video semantic recognition result corresponding to the target video is determined based on the semantic recognition result corresponding to the video image that needs semantic recognition in the target video.

[0039] In addition, an embodiment of the present application also provides a computer storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any semantic recognition method provided in the embodiment of the present application.

[0040] The embodiment of the present application can determine a to-be-processed image group from a target video, the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image, extract image features of the video images in the to-be-processed image group, obtain a feature map set, the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video images, divide the feature map set into a plurality of sub-feature map sets, and determine a fused reference feature map corresponding to the sub-feature map set, align the pixel points of the feature map in the sub-feature map set according to the position information of the pixel points in the fused reference feature map, obtain a position-aligned feature map, fuse the position-aligned feature map with the fused reference feature map, obtain a fused feature map corresponding to the sub-feature map set, and construct a semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the plurality of sub-feature map sets. The scheme can improve the accuracy of semantic recognition by aligning the pixel points of the feature map in the sub-feature map set. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1is a scene schematic diagram of a semantic recognition system provided in an embodiment of the present application;

[0043] Figure 2 is a first flow chart of the semantic recognition method provided in an embodiment of the present application;

[0044] Figure 3 is a second flow chart of the semantic recognition method provided in an embodiment of the present application;

[0045] Figure 4 It is a schematic diagram of the structure of the aligned convolutional subnetwork provided in an embodiment of the present application;

[0046] Figure 5 It is a schematic diagram of the process of obtaining the semantic recognition result provided in the embodiment of the present application;

[0047] Figure 6 is a video processing flow chart provided in an embodiment of the present application;

[0048] Figure 7 It is a flow chart of processing video by neural network provided in an embodiment of the present application;

[0049] Figure 8 is a schematic diagram of a feature extraction network provided in an embodiment of the present application;

[0050] Fig. 9 This is a first schematic diagram of constructing a sub-feature graph set provided in an embodiment of the present application;

[0051] Fig.10 This is a first schematic diagram of an aligned convolutional subnetwork provided in an embodiment of the present application;

[0052] Fig.11 It is a second schematic diagram of constructing a sub-feature graph set provided in an embodiment of the present application;

[0053] Fig.12 It is a second schematic diagram of the aligned convolutional subnetwork provided in an embodiment of the present application;

[0054] Fig.13 This is a third schematic diagram of constructing a sub-feature graph set provided in an embodiment of the present application;

[0055] Fig.14 This is a third schematic diagram of an aligned convolutional subnetwork provided in an embodiment of the present application;

[0056] Fig.15 is a structural schematic diagram of a semantic recognition device provided in an embodiment of the present application;

[0057] Fig.16 It is a structural diagram of the network device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] Please refer to the drawings, where the same component symbols represent the same components, and the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0059] In the following description, the specific embodiments of the present application will be described with reference to the steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and the computer execution referred to herein includes the operation of a computer processing unit by an electronic signal representing data in a structured form. This operation converts the data or maintains it at a location in the memory system of the computer, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to testers in the field. The data structure maintained by the data is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which does not represent a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.

[0060] The term "module" used herein can be regarded as a software object executed on the computing system. The different components, modules, engines and services described herein can be regarded as implementation objects on the computing system. The apparatus and method described herein can be implemented in software, and of course can also be implemented in hardware, all within the scope of protection of this application.

[0061] The terms "first", "second", and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products, or devices.

[0062] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0063] The embodiment of the present application provides a semantic recognition method, and the execution subject of the semantic recognition method can be the semantic recognition device provided in the embodiment of the present application, or a network device integrating the semantic recognition device, wherein the semantic recognition device can be implemented in hardware or software. Among them, the network device can be a smart phone, a tablet computer, a PDA, a laptop computer, or a desktop computer. The network device includes but is not limited to a computer, a network host, a single network server, a set of multiple network servers, or a cloud consisting of multiple servers.

[0064] See also Figure 1 , Figure 1 A schematic diagram of an application scenario of the semantic recognition method provided in an embodiment of the present application, taking the semantic recognition device integrated in a network device as an example, the network device can determine a group of images to be processed from a target video, the group of images to be processed including a target video image and multiple adjacent video images adjacent to the target video image, extract image features of the video images in the group of images to be processed, and obtain a feature map set, the feature map set including a feature map corresponding to the target video image and feature maps corresponding to adjacent video images, divide the feature map set into several sub-feature map sets, and determine a fused reference feature map corresponding to the sub-feature map set, align the pixels of the feature maps in the sub-feature map set according to the position information of the pixels in the fused reference feature map to obtain a position-aligned feature map, fuse the position-aligned feature map with the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set, and construct a semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the several sub-feature map sets.

[0065] The semantic recognition method provided in the embodiment of the present application relates to the computer vision direction in the field of artificial intelligence. The embodiment of the present application can align multiple feature maps in the feature map group with the reference feature map through image processing technology, and then identify the pixel type information corresponding to the video image to be processed.

[0066] Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science. It attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. Among them, artificial intelligence software technology mainly includes computer vision technology, machine learning / deep learning and other directions.

[0067] Among them, Computer Vision (CV) is a science that studies how to make machines "see". To put it more specifically, it refers to machine vision that uses computers to replace human eyes to identify and measure targets, and further processes images so that the images are processed by computers to become more suitable for human observation or transmission to instruments for detection. As a scientific discipline, computer vision studies related theories and technologies, and attempts to establish an artificial intelligence system that can obtain information from images or multidimensional data. Computer vision technology usually includes technologies such as image processing and image recognition, as well as common biometric recognition technologies such as face recognition and human posture recognition.

[0068] See also Figure 2 , Figure 2 The flowchart of the semantic recognition method provided in the embodiment of the present application is specifically described by the following embodiments:

[0069] 201. Determine a group of images to be processed from a target video.

[0070] Among them, video semantic segmentation technology is a technology that uses artificial intelligence to assign a semantic label to each pixel on a video image. Video semantic segmentation technology can be applied to many application scenarios, emphasizing that computers perceive and understand scenes, so it is widely used in scenarios such as robot vision and autonomous driving.

[0071] The target video may be a video file that needs to be semantically segmented. The target video may include multiple video images. By respectively obtaining the semantic information of the pixels in the multiple video images in the target video, the purpose of semantically segmenting the target video may be achieved. The video content of the target video may not be restricted.

[0072] In one embodiment, the image group to be processed may include multiple video images. For example, multiple video images may be obtained from a target video, and the image group to be processed may be constructed based on the obtained video images. The semantic segmentation of the target video may be completed by semantically recognizing the target video image in the target video. Therefore, the image group to be processed may include the target video image and multiple adjacent video images adjacent to the target video image.

[0073] Among them, the target video image can be an image that needs to be semantically recognized, for example, the target video image can be a frame of video image in the target video that needs to be semantically recognized. Among them, in order to perform semantic segmentation on the target video, a target video may include multiple target video images, and it is necessary to perform semantic recognition on each target video image in the target video in turn to obtain the semantic information corresponding to each pixel in the target video image, thereby realizing semantic segmentation of the target video.

[0074] Among them, the adjacent video images can be represented as at least one image located near the target video image in the video, and the information in the target video image can be enhanced by the information appearing in the adjacent video images, so that the information in the target video image is more detailed and accurate. For example, the target video may include 5 temporally continuous video images: video image 1, video image 2, video image 3, video image 4, and video image 5. If video image 3 is determined as the target video image, then the adjacent video image can be video image 2, or the adjacent video image can also be video image 5. For another example, since there can be multiple adjacent video images, at this time, the adjacent video images can be video image 1 and video image 2, or the adjacent video images can also be video image 4 and video image 5, and so on.

[0075] In practical applications, for example, in the process of semantic segmentation of the target video, there may be occluded or deformed targets in the target video. At this time, the accuracy of semantic segmentation of the target video can be improved by making full use of the information of adjacent video images in the target video and using the information appearing in the adjacent video images to process the occluded or deformed targets. For example, in order to perform video semantic segmentation on the target video, the target video image in the target video can be first semantically recognized. At this time, the target video image that needs to be semantically recognized and multiple adjacent video images in the target video that are adjacent to the target video image can be determined from the target video.

[0076] In one embodiment, for example, the target video includes n temporally consecutive video images: video image 1, video image 2...video image n. If video image 7 is determined as the target video image, the adjacent video images may be video image 1, video image 2...video image 6. At this time, video image 1, video image 2...video image 7 may constitute an image group to be processed.

[0077] For another example, the embodiments of the present application are not limited to determining multiple images located before the target video image as the target video image, and the adjacent video image can also be a single image, such as video image 6 or video image 8 can be used as the adjacent video image of video image 7. For another example, the adjacent video image can also be multiple images located after the target video image: such as video image 8, video image 9...video image m can be used as the adjacent video image of video image 7, and the adjacent video image can also be multiple images adjacent to the target video image: such as video image 5, video image 6, and video image 8 can be used as the adjacent video image of video image 7, and so on.

[0078] 202. Extract image features of video images in the image group to be processed to obtain a feature map set.

[0079] The feature map set may be a set including multiple feature maps. For example, the feature map set may include a feature map corresponding to a target video image and a feature map corresponding to an adjacent video image.

[0080] Among them, the feature map is an image that can represent the characteristic information of the image surface properties, shape, contour, relative position, etc. For example, the feature map can include the color features, texture features, shape features, and spatial relationship features of the image. In the field of artificial intelligence, the feature map corresponding to the image can be extracted by feature extraction and other methods.

[0081] In practical applications, for example, after obtaining a group of images to be processed including a target video image and adjacent video images, features of multiple video images in the group of images to be processed can be extracted to extract a feature map corresponding to each video image in the group of images to be processed.

[0082] In one embodiment, a feature map corresponding to a video image may be extracted through a convolution layer in a feature extraction network. For example, after obtaining a to-be-processed image group including a target video image and adjacent video images, multiple video images in the to-be-processed image group may be input into a feature extraction network, wherein the feature extraction network may include two 2D convolution layers. Then, feature extraction is performed on multiple video images through the convolution layer in the feature extraction network, and a feature map corresponding to each video image in the to-be-processed image group is extracted.

[0083] For example, when the image group to be processed includes seven video images, namely, video image 1, video image 2, ..., video image 7, the feature extraction network can be used to extract features of multiple video images in the image group to be processed, and the features corresponding to video image 1 can be extracted respectively. Figure 1 , the features corresponding to video image 2 Figure 2 ...The features corresponding to video image 7 Figure 7 , where the feature map set includes features Figure 1 ,feature Figure 2 …feature Figure 7 .

[0084] In one embodiment, the network structure of the feature extraction network can be adjusted according to actual conditions, and is not limited to using a feature extraction neural network including two 2D convolutional layers. The feature extraction network can be sufficient to extract features from multiple input video images. The number of convolutional layers in the feature extraction network can also be adjusted according to the size of the input video image.

[0085] 203. Divide the feature map set into a plurality of sub-feature map sets, and determine the fusion reference feature maps corresponding to the sub-feature map sets.

[0086] Among them, the sub-feature map set can be a subset from the feature map set, and the sub-feature map set can include multiple feature maps. For example, in order to use the information appearing in adjacent video images to process targets that are occluded or deformed, the sub-feature map set can include multiple continuous feature maps, wherein the number of feature maps in each sub-feature map set can be adjusted according to actual conditions, such as a sub-feature map set can include 3 feature maps, and so on. There is no limit on the number of feature maps in each sub-feature map set.

[0087] The fusion reference feature map can be located in the sub-feature map set, and can be used as a reference for the fusion of multiple feature maps in the sub-feature map set. Figure 1 ,feature Figure 2 and Features Figure 3 When Figure 3 Determined as the fusion reference feature map, at this time, the feature Figure 1 and Features Figure 2 The pixels in the Figure 3 The embodiment of the present application is not limited to using the last feature map in the sub-feature map set as the fusion reference feature map. Figure 1 or Features Figure 2 Determined as the fusion reference feature map, and so on.

[0088] In practical applications, since the number of feature maps in a feature map set may be too large, which is not conducive to the extraction and fusion of information in the image, the feature map set can be divided into multiple sub-feature map sets, each sub-feature map set includes a smaller number of feature maps, the time span between feature maps in the sub-feature map set is smaller, and the information similarity is greater. Therefore, the fusion of feature maps in the sub-feature map set can be more accurate.

[0089] In one embodiment, in order to minimize the information difference between sub-feature graph sets and improve the accuracy of information fusion, a sub-feature graph set can be extracted from a feature graph set through a virtual sliding window so that two adjacent sub-feature graph sets include the same feature graph. Specifically, the step of "dividing the feature graph set into a plurality of sub-feature graph sets, and determining the fusion reference feature graph corresponding to the sub-feature graph sets" may include:

[0090] Sliding and extracting a plurality of sub-feature map sets from the feature map set through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map;

[0091] Determine a fused reference feature map corresponding to the sub-feature map set.

[0092] Among them, the virtual sliding window can be a virtual window that can extract a sub-feature map set from a feature map set. The virtual sliding window can select multiple feature maps from the feature map set, and the multiple selected feature maps can construct a sub-feature map set.

[0093] In practical applications, for example, a feature map set may include features arranged in time order. Figure 1 ,feature Figure 2 …feature Figure 7 , the virtual sliding window is set to be able to select 3 feature maps, then the virtual sliding window can select the feature Figure 1 ,feature Figure 2 and Features Figure 3 , at this time, the feature Figure 1 ,feature Figure 2 and Features Figure 3 A sub-feature map set 1 can be formed, and then the virtual sliding window can be slid so that the virtual sliding window can frame the feature Figure 2 ,feature Figure 3 and Features Figure 4 , at this time, the feature Figure 2 ,feature Figure 3 and Features Figure 4 A sub-feature map set 2 can be formed, and so on, multiple sub-feature map sets can be extracted. Then, a fused reference feature map corresponding to each sub-feature map set can be determined.

[0094] In order to reduce the possibility of data loss in the video image, two adjacent sub-feature map sets can include the same feature map. For example, when sub-feature map set 1 includes feature Figure 1 ,feature Figure 2 and Features Figure 3 , sub-feature map set 2 includes features Figure 2 ,feature Figure 3 and Features Figure 4When , the adjacent sub-feature map set 1 and sub-feature map set 2 both include the feature Figure 2 and Features Figure 3 .

[0095] In one embodiment, in order to improve the flexibility of the semantic recognition method, there are multiple ways to divide the feature map set. For example, the feature map set includes features arranged in chronological order. Figure 1 ,feature Figure 2 …feature Figure 7 , and the virtual sliding window is set to be able to select 3 feature maps, the virtual sliding window can select the feature maps including Figure 1 ,feature Figure 2 and Features Figure 3 The sub-feature map set 1, and then the virtual sliding window can be slid so that the virtual sliding window can frame the feature Figure 3 ,feature Figure 4 and Features Figure 5 , at this time, the feature Figure 3 ,feature Figure 4 and Features Figure 5 Sub-feature graph set 2 can be formed, and so on, multiple sub-feature graph sets are extracted. At this time, the adjacent sub-feature graph set 1 and sub-feature graph set 2 both include feature Figure 3 .

[0096] For example, when the accuracy requirement is not high, two adjacent sub-feature map sets may not include the same feature map. For example, the extracted sub-feature map set 1 includes the feature Figure 1 ,feature Figure 2 and Features Figure 3 , sub-feature map set 2 includes features Figure 4 ,feature Figure 5 and Features Figure 6 , at this time, the two adjacent sub-feature map sets do not include the same feature map, but the semantic recognition method can still be completed.

[0097] In one embodiment, in order to improve the flexibility of the semantic recognition method, the number of feature maps in each sub-feature map set can be adjusted. Specifically, the step of "sliding and extracting a plurality of sub-feature map sets from the feature map set through a virtual sliding window" may include:

[0098] Determine the preset number of feature maps extracted by the virtual sliding window each time;

[0099] According to the preset number, a plurality of sub-feature map sets are slidably extracted from the feature map set, each sub-feature map set including a preset number of feature maps.

[0100] In practical applications, for example, the preset number of feature maps extracted by the virtual sliding window each time can be determined, and the preset number can be 3, and then multiple sub-feature map sets can be extracted from the feature map set by sliding the virtual sliding window. At this time, each sub-feature map set includes 3 feature maps. Among them, the number of feature maps in each sub-feature map set is not limited in the embodiment of the present application, that is, each sub-feature map set can also include 4 or 5 feature maps, and so on.

[0101] For example, a feature map collection can include features Figure 1 ,feature Figure 2 …feature Figure 7 After dividing the feature map set, we can get sub-feature map set 1, sub-feature map set 2...sub-feature map set 5, where sub-feature map set 1 includes feature Figure 1 ,feature Figure 2 and Features Figure 3 ; Sub-feature map set 2 includes features Figure 2 ,feature Figure 3 and Features Figure 4 ; Sub-feature map set 3 includes features Figure 3 ,feature Figure 4 and Features Figure 5 ; Sub-feature map set 4 includes features Figure 4 ,feature Figure 5 and Features Figure 6 ; Sub-feature map set 5 includes features Figure 5 ,feature Figure 6 and Features Figure 7 .

[0102] In practical applications, after obtaining multiple sub-feature map sets, the fusion reference feature map corresponding to each sub-feature map set can be determined. For example, after obtaining sub-feature map set 1, sub-feature map set 2, ..., sub-feature map set 5, the feature map in sub-feature map set 1 can be determined. Figure 3 Determine as the fusion reference feature map of sub-feature map set 1; Figure 4 Determine as the fusion reference feature map of sub-feature map set 2; Figure 5 Determine as the fusion reference feature map of sub-feature map set 3; Figure 6 Determine as the fusion reference feature map of sub-feature map set 4; Figure 7 Determine the fused reference feature map of sub-feature map set 5.

[0103] 204. According to the position information of the pixel points in the fused reference feature map, the pixel points of the feature maps in the sub-feature map set are aligned to obtain the aligned feature map.

[0104] The position information may be the position of a pixel in the image in the entire image. For example, the position information may be represented in the form of coordinates, which represent the specific position of a pixel in the image in the entire image.

[0105] In practical applications, for example, after determining the fused reference feature map corresponding to the sub-feature map set, the fused reference feature map can be used as a reference to align the position of each pixel point in multiple feature maps in the sub-feature map set with the pixel point in the fused reference feature map. That is, the pixel points in multiple feature maps in the sub-feature map set that represent the same target as the fused reference feature map are aligned, so that after the alignment, the positions of the pixel points of the same target in the feature map and the fused reference feature map are the same.

[0106] For example, when the sub-feature map set includes features Figure 1 ,feature Figure 2 and Features Figure 3 , and the characteristics Figure 3 When it is determined as a fusion reference feature map, the features can be Figure 1 ,feature Figure 2 Each pixel and feature Figure 3 Each pixel in the image is aligned so that the feature Figure 1 ,feature Figure 2 and Features Figure 3 In the figure, it means that the positions of the same target pixels are the same.

[0107] In one embodiment, the position alignment of pixels can be performed by calculating the offset of pixels in the feature map of the sub-feature map set. Specifically, the step of "aligning the pixels of the feature map in the sub-feature map set according to the position information of the pixels in the fused reference feature map to obtain the aligned feature map" may include:

[0108] Determine the offset of the pixel in the feature map of the sub-feature map set according to the position information of the pixel in the fused reference feature map;

[0109] Based on the offset, the pixel points of the feature map in the sub-feature map set are aligned to obtain a feature map after alignment.

[0110] In practical applications, for example, when the sub-feature map set includes features Figure 1 ,feature Figure 2 and Features Figure 3 , and the characteristics Figure 3 When it is determined to be a fusion reference feature map, the feature map that needs to be aligned is the feature Figure 1 and Features Figure 2 , according to the characteristics Figure 3The position information of the pixels in the image is used to determine the features. Figure 1 and Features Figure 2 The offset of each pixel in the feature map is then calculated based on the offset. Figure 1 and Features Figure 2 The pixel points in the fusion reference feature map are moved to obtain the aligned feature map, so that the positions of the pixel points of the same target in the aligned feature map and the fused reference feature map are the same.

[0111] In one embodiment, the feature map after position alignment can also be obtained through an alignment convolution subnetwork. Wherein, the alignment convolution subnetwork can be a 3D convolution network, and the timing information in the video can be identified through the 3D convolution network. The alignment convolution subnetwork may include an offset submodule and an alignment submodule, and the offset submodule includes several 3D convolution layers. Wherein, the offset submodule can be used to determine the offset of the pixel points in the feature map that needs to be aligned in the sub-feature map set, and the alignment submodule is used to align the pixel points of the feature map in the sub-feature map set to obtain the feature map after position alignment.

[0112] For example, Figure 4 As shown, when the sub-feature map set includes features Figure 1 ,feature Figure 2 and Features Figure 3 , and the characteristics Figure 3 When the fusion reference feature map is determined, each feature map includes pixels representing the same target, where the pixels representing the same target can be the rectangular shadow area in the map, but the positions of the rectangular shadow areas in the three feature maps are different. At this time, the feature map can be determined separately through the offset submodule. Figure 1 and Features Figure 2 The offset of the pixel in the feature map is obtained by aligning the submodule. Figure 1 and Features Figure 2 Pixels are moved in the feature points. Figure 1 and Features Figure 2 The pixels in the middle rectangular shadow area are moved to the dark rectangular area to obtain the features after position alignment. Figure 1 After aligning the features with the position Figure 2 .

[0113] 205. Perform image fusion on the aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set.

[0114] In practical applications, for example, since the position-aligned feature maps and the fused reference feature maps in the sub-feature map set have completed the position alignment of pixels, the position-aligned feature maps and the fused reference feature maps can be fused. That is, through image fusion, the feature information in the position-aligned feature maps is added to the fused reference feature maps to enhance the feature information in the fused reference feature maps. The enhanced fused reference feature maps can be the fused feature maps corresponding to the sub-feature map set.

[0115] For example, when the sub-feature map set includes features Figure 1 ,feature Figure 2 and Features Figure 3 , and the characteristics Figure 3 When it is determined to be a fusion reference feature map, the pixel position is aligned to obtain the feature Figure 1 Corresponding position alignment features Figure 1 , and features Figure 2 Corresponding position alignment features Figure 2 . This will align the features Figure 1 , aligned features Figure 2 , and features Figure 3 The fusion is performed to obtain the fused feature map corresponding to the sub-feature map set.

[0116] In one embodiment, for example, Figure 4 As shown, the aligned convolution subnetwork can also include a fusion submodule. Since the positions of the pixels representing the same target in the position-aligned feature map in the sub-feature map set and the fused reference feature map are the same, the position-aligned feature map and the fused reference feature map can be fused into a fused feature map through the fusion submodule. The fused feature map corresponds to the fused reference feature map in the sub-feature map set, thereby enhancing the amount of semantic information in the fused reference feature map.

[0117] In one embodiment, for example, the aligned convolution subnetwork may include an offset submodule, an alignment submodule, and a fusion submodule. The sub-feature map set includes features Figure 1 ,feature Figure 2 and Features Figure 3 , and the characteristics Figure 3 Determine as the fusion reference feature map. At this time, the sub-feature map set can be input into the alignment convolution sub-network, and the features can be determined separately through the offset sub-module. Figure 1 and Features Figure 2 The offset of the pixel in the feature map is obtained by aligning the submodule. Figure 1 and Features Figure 2 Move the pixel point in the middle pixel to get the feature after position alignment Figure 1 After aligning the features with the position Figure 2Then, through the fusion submodule, the position alignment features Figure 1 , Position alignment features Figure 2 , and features Figure 3 Fusion into a fused feature map.

[0118] 206. Based on the fused feature maps corresponding to the sets of several sub-feature maps, a semantic recognition result corresponding to the target video image is constructed.

[0119] In practical applications, for example, after obtaining several fused feature maps corresponding to several sub-feature map sets, the number of fused feature maps may be one or more. When the number of fused feature maps is one, the semantic information of the pixel points in the fused feature map can be directly identified to obtain the semantic recognition result corresponding to the target video image.

[0120] In one embodiment, in order to improve the accuracy of semantic recognition, the semantic recognition result corresponding to the target video image can be obtained through the semantic recognition network. For example, the fused feature map can be input into the semantic recognition network, and the semantic information of each pixel in the fused feature map can be predicted through the semantic recognition network to obtain the semantic recognition result corresponding to the target video image. The semantic recognition result can be the result obtained by assigning a semantic label to each pixel in the target video image.

[0121] In one embodiment, the accuracy of semantic recognition can be improved by steps such as upsampling. Specifically, the step of "performing semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image" may include:

[0122] Upsampling the fused feature map to obtain an upsampled feature map;

[0123] Perform semantic recognition on the upsampled feature map to obtain a semantic recognition result corresponding to the target video image.

[0124] In practical applications, for example, the semantic recognition network may include an upsampling subnetwork and a semantic recognition subnetwork. The upsampling subnetwork in the semantic recognition network can upsample the fused feature map to obtain an upsampled feature map, the size of which is the same as the size of the video image. The semantic recognition subnetwork then recognizes the semantic information of the pixels in the upsampled feature map to obtain the semantic information of each pixel in the upsampled feature map, which is the semantic recognition result corresponding to the target video image.

[0125] In one embodiment, when there are multiple fused feature maps, it is not possible to directly identify the semantic information of the pixels in the fused feature map to obtain the semantic recognition result corresponding to the target video image. Therefore, the image fusion can be performed by continuing to combine multiple fused feature maps into a fused feature map set until the number of fused feature maps is one. Specifically, the step of "constructing the semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the plurality of sub-feature map sets" may include:

[0126] Based on the fused feature maps corresponding to the plurality of sub-feature map sets, a fused feature map set is constructed;

[0127] Taking the fused feature map set as a feature map set, returning to the step of dividing the feature map set into a plurality of sub-feature map sets, and determining the fused reference feature maps corresponding to the sub-feature map sets, until the number of images of the fused feature map meets the termination condition;

[0128] Perform semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image.

[0129] Among them, the termination condition can be a condition for determining to stop the step of obtaining the fused feature map. For example, in an embodiment of the present application, the number of fused feature maps obtained can be one as the termination condition, that is, when only one fused feature map is obtained through the aligned convolution subnetwork, it can be considered that the termination condition is met.

[0130] In practical applications, for example, a feature map set can include features Figure 1 ,feature Figure 2 …feature Figure 7 After dividing the feature map set, we can get sub-feature map set 1, sub-feature map set 2...sub-feature map set 5, where sub-feature map set 1 includes feature Figure 1 ,feature Figure 2 and Features Figure 3 ; Sub-feature map set 2 includes features Figure 2 ,feature Figure 3 and Features Figure 4 ; Sub-feature map set 3 includes features Figure 3 ,feature Figure 4 and Features Figure 5 ; Sub-feature map set 4 includes features Figure 4 ,feature Figure 5 and Features Figure 6 ; Sub-feature map set 5 includes features Figure 5 ,feature Figure 6 and Features Figure 7 .

[0131] Then, image fusion is performed on sub-feature map set 1, sub-feature map set 2, ..., sub-feature map set 5, respectively, to obtain the fused feature map corresponding to sub-feature map set 1. Figure 3 , the fused features corresponding to sub-feature map set 2 Figure 4 ...The fused features corresponding to sub-feature map set 5 Figure 7 At this time, there are multiple fused feature maps, so a fused feature map set can be constructed, which includes the fused feature Figure 3 , after fusion Figure 4 ...After fusion, features Figure 7 Then the fused feature map set is divided into multiple sub-feature map sets, and sub-feature map set 1', sub-feature map set 2' and sub-feature map set 3' are obtained, wherein sub-feature map set 1' includes the fused feature Figure 3 , after fusion Figure 4 And the fused features Figure 5 , sub-feature map set 2' includes the fused feature Figure 4 , after fusion Figure 5 And the fused features Figure 6 , the sub-feature map set 3' includes the fused feature Figure 5 , after fusion Figure 6 And the fused features Figure 7 .

[0132] Continue to fuse sub-feature map set 1', sub-feature map set 2' and sub-feature map set 3' to obtain the fused feature map corresponding to sub-feature map set 1' Figure 5 ', the fused features corresponding to the sub-feature map set 2' Figure 6 ', the fused features corresponding to the sub-feature map set 3' Figure 7 ', at this time, the fused feature map is multiple, so a sub-feature map set 1" can be constructed, which includes the fused feature Figure 5 ', after fusion features Figure 6 ' and fusion features Figure 7 '. Then perform image fusion on the sub-feature map set 1" to obtain the fused feature map corresponding to the sub-feature map set 1". Figure 7 ". At this time, the fused feature map is one, so the fused feature map can be Figure 7 "Perform semantic recognition and obtain the semantic recognition result corresponding to the target video image.

[0133] In one embodiment, if Figure 5As shown in the figure, since multiple feature maps construct multiple sub-feature map sets, each sub-feature map set can obtain the corresponding fused feature map through the aligned convolution subnetwork. At this time, multiple fused feature maps will be obtained, which does not meet the termination condition. Therefore, multiple fused feature maps can be combined into a sub-feature map set, and the fused feature map can be obtained through the aligned convolution subnetwork until the number of fused feature maps is one, which meets the termination condition. Among them, multiple aligned convolution subnetworks can be collectively referred to as aligned convolution networks. After the feature map set is input into the aligned convolution network, the fused feature map corresponding to the sub-feature map set can be output.

[0134] In one embodiment, the aligned convolutional network may include one or more aligned convolutional subnetworks, and the number of aligned convolutional subnetworks may also be adjusted according to the length of the input target video and the step size of the convolution in the time dimension in the 3D convolutional layer.

[0135] In one embodiment, in order to solve the problem of gradient explosion and gradient vanishing during network training, the output can be expressed as a linear superposition of the input and a nonlinear transformation of the input through a skip connection. Specifically, the step of "up-sampling the fused feature map to obtain an up-sampled feature map" may include:

[0136] Upsampling the fused feature map to obtain an initial upsampled feature map;

[0137] The feature map, the fused feature map, and the initial upsampled feature map are fused to obtain an upsampled feature map.

[0138] In practical applications, for example, Figure 5 As shown, when the feature is obtained Figure 1 ,feature Figure 2 ,feature Figure 3 ,feature Figure 4 ,feature Figure 5 ,feature Figure 6 and Features Figure 7 After that, sub-feature map set 1, sub-feature map set 2…sub-feature map set 5 can be constructed, and the fused feature map can be obtained by image fusion. Figure 3 , after fusion Figure 4 ...After fusion, features Figure 7 Then construct sub-feature map set 1', sub-feature map set 2' and sub-feature map set 3', and obtain the fused feature map by image fusion Figure 5 ', after fusion features Figure 6 ' and fusion features Figure 7 ', then construct a sub-feature map set 1", and obtain the fused feature map through image fusion Figure 7 ”.

[0139] Then, the fused features can be Figure 7 "Upsample to obtain the initial upsampled feature map with the same size as the video image, and then connect the initial upsampled feature map to the feature map through skip connections. Figure 1 ,feature Figure 2 ,feature Figure 3 ,feature Figure 4 ,feature Figure 5 ,feature Figure 6 ,feature Figure 7 , after fusion Figure 3 , after fusion Figure 4 , after fusion Figure 5 , after fusion Figure 6 , and the fused features Figure 7 After fusion, the upsampled feature map is obtained.

[0140] In one embodiment, if Figure 7 As shown, the feature extraction network, the alignment convolution network and the semantic recognition network can constitute an overall 3D alignment convolution network, and the 3D alignment convolution network can adopt a cascade structure. The neural network of the cascade structure can accept the input of target videos of any length and obtain the semantic recognition results corresponding to the target video images. Among them, the 3D alignment convolution network can effectively improve the accuracy of the recognition of the semantic information of the video image in the target video including deformation or target occlusion.

[0141] In one embodiment, the network structure of the 3D aligned convolutional network can also be adjusted according to the video length of the input target video and the number of feature maps in the sub-feature map set.

[0142] In one embodiment, the network structure of the 3D aligned convolutional network may be as shown in Table 1.

[0143] Table 1

[0144]

[0145] In one embodiment, the video semantic recognition result corresponding to the target video can be determined by obtaining the semantic recognition results corresponding to multiple target video images in the target video. Therefore, after obtaining the semantic recognition result corresponding to one target video image, the semantic recognition method can be re-performed to obtain the semantic recognition results corresponding to other target video images. Specifically, after the step of "constructing the semantic recognition result corresponding to the target video image based on the fused feature graph corresponding to the plurality of sub-feature graph sets", the following can also be included:

[0146] Continue to perform the step of determining the image group to be processed from the target video until a semantic recognition result corresponding to the video image requiring semantic recognition in the target video is constructed;

[0147] According to the semantic recognition result corresponding to the video image requiring semantic recognition in the target video, the video semantic recognition result corresponding to the target video is determined.

[0148] In practical applications, for example, the target video may include 7 video images, namely video image 1, video image 2, ... video image 7. After obtaining the semantic recognition result corresponding to video image 7 through the semantic recognition method, the step of determining the image group to be processed from the target video can be returned. At this time, video image 6 can be determined as the target video image, and the adjacent video images can be video image 1, video image 2, ... video image 5. Then the step of obtaining the video image semantic recognition result is repeated to obtain the semantic recognition result corresponding to video image 6. By analogy, the video semantic recognition results corresponding to multiple video images in the target video are finally obtained, and then the video semantic recognition result corresponding to the target video can be determined.

[0149] In one embodiment, the semantic recognition method can be applied to scenarios that require high accuracy of video semantic segmentation, such as autonomous driving, traffic detection, etc. A target video can be input into a 3D aligned convolutional network, and then the number of aligned convolutional networks in the 3D aligned convolutional network is specified according to the number of feature maps in the sub-feature map set, and the semantic recognition results corresponding to multiple frames of video images in the target video are output, and finally the video semantic recognition results corresponding to the target video are determined.

[0150] In one embodiment, the semantic recognition method may also include a training process of a 3D aligned convolutional network, that is, a process of training the initial 3D aligned convolutional network to obtain a 3D aligned convolutional network. For example, data in a Cityscapes video semantic segmentation dataset may be obtained as training samples, wherein the video semantic segmentation dataset includes 5,000 pixel-level annotated video images, which are divided into 19 categories. 2,975 images may be obtained from the video semantic segmentation dataset as training samples, 500 images may be obtained as cross-validation sets, and 1,525 images may be obtained as test sets for network model testing. Among them, the video semantic segmentation dataset may use the mIoU (mean Intersection-over-Union) score as an evaluation criterion.

[0151] Then, all parameters in the initial 3D aligned convolutional network can be randomly initialized using a Gaussian distribution with a variance of 0.01 and a mean of 0. And the gradient descent method based on SGD (Stochastic Gradient Descent) is used to solve the convolution template parameter w and the bias parameter b in the initial 3D aligned convolutional network. In each iteration, the prediction result error is calculated and back-propagated to the network model, the gradient is calculated and the parameters of the network model are updated until convergence. At this time, the training is completed and the 3D aligned convolutional network can be obtained.

[0152] In one embodiment, if Figure 6 As shown in the figure, the semantic recognition method uses an end-to-end 3D alignment convolutional network to align and fuse features. The front end A receives the target video and then uploads it to the back end. The back end segments the target video through the semantic recognition method and then outputs the segmented results to the front end B.

[0153] As can be seen from the above, the embodiment of the present application can determine a group of images to be processed from the target video, the group of images to be processed includes the target video image and multiple adjacent video images adjacent to the target video image, extract the image features of the video images in the group of images to be processed, and obtain a feature map set, the feature map set includes the feature map corresponding to the target video image and the feature map corresponding to the adjacent video images, divide the feature map set into several sub-feature map sets, and determine the fusion reference feature map corresponding to the sub-feature map set, according to the position information of the pixel points in the fusion reference feature map, align the pixel points of the feature map in the sub-feature map set, and obtain the aligned feature map, fuse the aligned feature map with the fusion reference feature map, and obtain the fused feature map corresponding to the sub-feature map set, and construct the semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the several sub-feature map sets. The network in this scheme adopts a cascade structure, which can accept target videos of any length, thereby improving the flexibility of the semantic recognition method. This scheme can also effectively use adjacent video images to identify occluded or deformed objects in the target video by aligning the pixels of the feature maps in the sub-feature map set and performing convolution in the time dimension. Therefore, this semantic recognition method can be applied to various types of target videos and can improve the accuracy of semantic recognition.

[0154] According to the method described in the previous embodiment, the semantic recognition device will be further described in detail below by taking the example of being specifically integrated into a network device.

[0155] refer to Figure 3 The specific process of the semantic recognition method of the embodiment of the present application can be as follows:

[0156] 301. The network device trains the initial 3D aligned convolutional network to obtain a 3D aligned convolutional network.

[0157] In practical applications, for example, 2975 images can be obtained from the Cityscapes video semantic segmentation dataset as training samples, 500 images can be obtained as cross-validation sets, and 1525 images can be obtained as test sets for network model testing. Then all parameters in the initial 3D aligned convolutional network are randomly initialized using a Gaussian distribution with a variance of 0.01 and a mean of 0. The SGD-based gradient descent method is used to solve the convolution template parameter w and bias parameter b in the initial 3D aligned convolutional network. In each iteration, the prediction result error is calculated and back-propagated to the network model, the gradient is calculated and the parameters of the network model are updated until convergence. At this time, the training is completed and a 3D aligned convolutional network is obtained. Among them, the 3D aligned convolutional network can include a feature extraction network, an alignment convolutional network, and a type prediction network.

[0158] 302. The network device determines a group of images to be processed from the target video.

[0159] In practical applications, for example, a target video that needs to be semantically segmented can be obtained, and the content length of the target video is not limited. Seven consecutive video images are obtained from the target video, and the seven obtained video images are numbered according to the time sequence in the target video, so as to obtain video image 1, video image 2, video image 3, video image 4, video image 5, video image 6 and video image 7.

[0160] After acquiring 7 consecutive video images, one video image can be determined from the 7 video images as the target video image, such as video image 7. If it is necessary to acquire semantic recognition results corresponding to other video images in the target video, the video image for which semantic information acquisition is required can also be used as the target video image, and the semantic recognition result can be acquired again by the semantic recognition method.

[0161] 303. The network device inputs multiple video images in the image group to be processed into a feature extraction network, and extracts a feature map corresponding to each video image based on the feature extraction network.

[0162] In practical applications, for example, after acquiring 7 video images, all 7 video images can be input into a feature extraction network, wherein, in order to reduce the number of network parameters, the feature extraction network can use a 2D convolution layer to extract feature maps, and the number of convolution layers can be adjusted according to the size of the required feature map. In an embodiment of the present application, the feature extraction network may include two layers of 2D convolution layers.

[0163] like Figure 8 As shown in the figure, through the convolution operation of the convolution layer in the feature extraction network, the feature map corresponding to each video image can be extracted respectively. The feature map corresponding to video image 1 Figure 1 , the features corresponding to video image 2 Figure 2 , the features corresponding to video image 3 Figure 3 , Features corresponding to video image 4 Figure 4 , the features corresponding to video image 5 Figure 5 , the features corresponding to video image 6 Figure 6 , and the corresponding features of video image 7 Figure 7 .

[0164] 304. The network device combines the multiple feature maps to obtain multiple sub-feature map sets.

[0165] In practical applications, for example, the 7 acquired feature maps can be combined into a plurality of sub-feature map sets. For example, when the target video image is video image 7, Fig. 9 As shown, the features can be Figure 1 ,feature Figure 2 and Features Figure 3 Combine into sub-feature graph set 1; Figure 2 ,feature Figure 3 and Features Figure 4 Combine into sub-feature graph set 2; Figure 3 ,feature Figure 4 and Features Figure 5 Combine into sub-feature graph set 3; Figure 4 ,feature Figure 5 and Features Figure 6 Combine into sub-feature graph set 4; Figure 5 ,feature Figure 6 and Features Figure 7 Combined into sub-feature map set 5.

[0166] 305. The network device inputs multiple sub-feature map sets into the aligned convolutional network, and obtains a fused feature map corresponding to the sub-feature map sets based on the aligned convolutional network.

[0167] In practical applications, the fusion reference feature map in each sub-feature map set can be first determined. For example, the feature map of the last frame in each sub-feature map set can be used as the fusion reference feature map. That is, the fusion reference feature map in sub-feature map set 1 is the feature map. Figure 3 ; The fused reference feature map in sub-feature map set 2 is the feature Figure 4 ; The fused reference feature map in sub-feature map set 3 is the feature Figure 5 ; The fused reference feature map in sub-feature map set 4 is the feature Figure 6 ; The fused reference feature map in sub-feature map set 5 is the feature Figure 7 .

[0168] The aligned convolution network may include multiple aligned convolution subnetworks, and then the fused feature map corresponding to each sub-feature map set can be obtained through the aligned convolution subnetwork. Among them, the aligned convolution subnetwork includes an offset submodule, an alignment submodule and a fusion submodule. The offset submodule and the fusion submodule are both composed of several 3D convolution layers. The offset submodule can be used to determine the offset of the pixel points in the feature map that needs to be aligned in the sub-feature map set. The alignment submodule can be used to align the pixel points of the feature map in the sub-feature map set to obtain the aligned feature map. Then, the aligned feature map and the fused reference feature map are fused through the fusion submodule to obtain the fused feature map.

[0169] In practical applications, for example, Fig.10 As shown in FIG. 1 , the obtained sub-feature map set 1, sub-feature map set 2, sub-feature map set 3, sub-feature map set 4 and sub-feature map set 5 can be input into the aligned convolution network, and the fused feature map corresponding to each sub-feature map set can be obtained through the aligned convolution subnetwork in the aligned convolution network, wherein the fused feature map can be obtained through the aligned convolution subnetwork in the aligned convolution network. Figure 3 , after fusion Figure 4 , after fusion Figure 5 , after fusion Figure 6 And the fused features Figure 7 Among them, the fused features Figure 3 Corresponding to video image 3; fused features Figure 4 Corresponding to video image 4; fused features Figure 5 Corresponding to video image 5; fused features Figure 6 Corresponding to video image 6; fused features Figure 7 Corresponding to video image 7.

[0170] At this time, the obtained fused feature maps are multiple and do not meet the termination conditions. Therefore, Fig.11 As shown, the fused features can be Figure 3 , after fusion Figure 4 And the fused features Figure 5 Combine into a sub-feature map set 1'; the fused features Figure 4 , after fusion Figure 5 And the fused features Figure 6 Combine into sub-feature map set 2'; the fused features Figure 5 , after fusion Figure 6 And the fused features Figure 7 Combined into a sub-feature map set 3'.

[0171] like Fig.12As shown, the sub-feature map set 1', the sub-feature map set 2' and the sub-feature map set 3' are input into the aligned convolution subnetwork, and the fused features are obtained through the aligned convolution subnetwork. Figure 5 ', after fusion features Figure 6 ' and fusion features Figure 7 '. Among them, the fused features Figure 5 'Corresponding to video image 5; after fusion, features Figure 6 'Corresponding to video image 6; after fusion, features Figure 7 'Corresponding to video image 7.

[0172] At this time, the obtained fused feature maps are multiple and do not meet the termination conditions. Therefore, Fig.13 As shown, the fused features can be Figure 5 ', after fusion features Figure 6 ' and fusion features Figure 7 'Combined into sub-feature map set 1". Fig.14 As shown, the sub-feature map set 1" is then input into the aligned convolution subnetwork, and the fused features are obtained through the aligned convolution subnetwork. Figure 7 Among them, the fused features Figure 7 ” corresponds to video image 7.

[0173] At this point, the obtained fused feature map is 1, which meets the termination condition. So far, the 5 sub-feature map sets are aligned through the convolutional network to obtain the fused feature map corresponding to video image 7. Figure 7 ”.

[0174] In one embodiment, the aligned convolutional network includes multiple aligned convolutional subnetworks, and the number of aligned convolutional subnetworks is not limited. The number of aligned convolutional subnetworks can be determined according to the length of the target video and the step size of the convolution in the time dimension in the 3D convolutional layer.

[0175] 306. The network device inputs the fused feature map into the semantic recognition network, and obtains a semantic recognition result corresponding to the target video image based on the semantic recognition network.

[0176] In practical applications, for example, the fused features can be Figure 7 " is input into the semantic recognition network, wherein the semantic recognition network may include an upsampling subnetwork and a semantic recognition subnetwork, and the fused features can be Figure 7 " is upsampled to obtain the initial upsampled feature map with the same size as the video image, and then the initial upsampled feature map is connected to the feature map through a jump connection. Figure 1 ,feature Figure 2 ,feature Figure 3 ,feature Figure 4 ,feature Figure 5 ,feature Figure 6 ,feature Figure 7 , after fusion Figure 3 , after fusion Figure 4 , after fusion Figure 5 , after fusion Figure 6 , and the fused features Figure 7 The fusion is performed to obtain the upsampled feature map. Then, the semantic information of the pixel points in the upsampled feature map is predicted by the semantic recognition sub-network to obtain the semantic recognition result corresponding to the video image 7.

[0177] In practical applications, for example, after obtaining the semantic recognition result corresponding to video image 7 through the semantic recognition method, the step of determining the image group to be processed from the target video can be returned. At this time, video image 6 can be determined as the target video image, and the adjacent video images can be video image 1, video image 2...video image 5, and then the step of obtaining the video image semantic recognition result is repeated to obtain the semantic recognition result corresponding to video image 6. By analogy, the video semantic recognition results corresponding to multiple video images in the target video are finally obtained, and then the video semantic recognition result corresponding to the target video can be determined.

[0178] As can be seen from the above, the embodiment of the present application can train the initial 3D alignment convolution network through a network device to obtain a 3D alignment convolution network, determine the image group to be processed from the target video, input multiple video images in the image group to be processed into the feature extraction network, and extract the feature map corresponding to each video image based on the feature extraction network, combine multiple feature maps, obtain multiple sub-feature map sets, input multiple sub-feature map sets into the alignment convolution network, and obtain the fused feature map corresponding to the sub-feature map set based on the alignment convolution network, input the fused feature map into the semantic recognition network, and obtain the semantic recognition result corresponding to the target video image based on the semantic recognition network. The network in this scheme adopts a cascade structure and can accept target videos of any length, thereby improving the flexibility of the semantic recognition method. The scheme can also effectively use adjacent video images to identify objects that are blocked or deformed in the target video by aligning the pixel points of the feature map in the sub-feature map set and convolving them in the time dimension. Therefore, the semantic recognition method can be applied to various types of target videos and can improve the accuracy of semantic recognition.

[0179] In order to better implement the above method, an embodiment of the present application may also provide a semantic recognition device, which can be specifically integrated in a network device, which may include a server, a terminal, etc., wherein the terminal may include: a mobile phone, a tablet computer, a laptop computer or a personal computer (PC, Personal Computer), etc.

[0180] For example, Fig.15 As shown, the semantic recognition device may include a determination module 151, an extraction module 152, a division module 153, an alignment module 154, a fusion module 155 and a construction module 156, as follows:

[0181] A determination module 151 is used to determine a to-be-processed image group from a target video, wherein the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image;

[0182] An extraction module 152 is used to extract image features of the video images in the to-be-processed image group to obtain a feature map set, wherein the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video image;

[0183] A division module 153 is used to divide the feature map set into a plurality of sub-feature map sets, and determine the fusion reference feature maps corresponding to the sub-feature map sets;

[0184] An alignment module 154 is used to align the pixel points of the feature maps in the sub-feature map set according to the position information of the pixel points in the fused reference feature map to obtain a feature map after position alignment;

[0185] A fusion module 155 is used to perform image fusion on the position-aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set;

[0186] The construction module 156 is used to construct a semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the plurality of sub-feature map sets.

[0187] In one embodiment, the construction module 156 may include a construction submodule 1561, a first determination submodule 1562, and an identification submodule 1563, as follows:

[0188] A construction submodule 1561 is used to construct a fused feature map set based on the fused feature maps corresponding to the plurality of sub-feature map sets;

[0189] A first determining submodule 1562 is configured to use the fused feature map set as a feature map set, and return to execute the step of dividing the feature map set into a plurality of sub-feature map sets, and determining the fused reference feature maps corresponding to the sub-feature map sets, until the number of images of the fused feature map meets a termination condition;

[0190] The recognition submodule 1563 is used to perform semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image.

[0191] In one embodiment, the division module 153 may include an extraction submodule 1531 and a second determination submodule 1532 as follows:

[0192] An extraction submodule 1531 is used to extract a plurality of sub-feature map sets from the feature map set by sliding through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map;

[0193] The second determination submodule 1532 is used to determine the fused reference feature map corresponding to the sub-feature map set.

[0194] In one embodiment, the extraction submodule 1531 may be specifically used for:

[0195] Determine the preset number of feature maps extracted by the virtual sliding window each time;

[0196] According to the preset number, a plurality of sub-feature map sets are slidably extracted from the feature map set, each sub-feature map set including a preset number of feature maps.

[0197] In one embodiment, the alignment module 154 may be specifically used to:

[0198] Determine the offset of the pixel in the feature map of the sub-feature map set according to the position information of the pixel in the fused reference feature map;

[0199] Based on the offset, the pixel points of the feature map in the sub-feature map set are aligned to obtain a feature map after alignment.

[0200] In one embodiment, the recognition submodule 1563 may include an upsampling submodule 15631 and a semantic recognition submodule 15632, as follows:

[0201] An upsampling submodule 15631 is used to upsample the fused feature map to obtain an upsampled feature map;

[0202] The semantic recognition submodule 15632 is used to perform semantic recognition on the upsampled feature map to obtain a semantic recognition result corresponding to the target video image.

[0203] In one embodiment, the up-sampling submodule 15631 may be specifically used for:

[0204] Upsampling the fused feature map to obtain an initial upsampled feature map;

[0205] The feature map, the fused feature map, and the initial upsampled feature map are fused to obtain an upsampled feature map.

[0206] In one embodiment, the semantic recognition device may further include a video semantic recognition module 157, and the video semantic recognition module 157 may be specifically used for:

[0207] Continue to perform the step of determining the image group to be processed from the target video until a semantic recognition result corresponding to the video image requiring semantic recognition in the target video is constructed;

[0208] According to the semantic recognition result corresponding to the video image requiring semantic recognition in the target video, the video semantic recognition result corresponding to the target video is determined.

[0209] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0210] As can be seen from the above, the embodiment of the present application can determine the image group to be processed from the target video through the determination module 151, the image group to be processed includes the target video image and multiple adjacent video images adjacent to the target video image, and the image features of the video images in the image group to be processed are extracted by the extraction module 152 to obtain a feature map set, the feature map set includes the feature map corresponding to the target video image and the feature map corresponding to the adjacent video image, and the feature map set is divided into several sub-feature map sets by the division module 153, and the fusion reference feature map corresponding to the sub-feature map set is determined, and the pixel points of the feature map in the sub-feature map set are aligned according to the position information of the pixel points in the fusion reference feature map by the alignment module 154 to obtain the position-aligned feature map, and the position-aligned feature map is image-fused with the fusion reference feature map by the fusion module 155 to obtain the fused feature map corresponding to the sub-feature map set, and the semantic recognition result corresponding to the target video image is constructed by the construction module 156 based on the fused feature maps corresponding to several sub-feature map sets. This scheme can improve the accuracy of semantic recognition by aligning the pixel points of the feature map in the sub-feature map set. The network in this scheme adopts a cascade structure and can accept target videos of any length, thereby improving the flexibility of the semantic recognition method. This scheme can also effectively use adjacent video images to identify occluded or deformed objects in the target video by aligning the pixel points of the feature map in the sub-feature map set and performing convolution in the time dimension. Therefore, this semantic recognition method can be applied to various types of target videos and can improve the accuracy of semantic recognition.

[0211] The embodiment of the present application also provides a network device, which can integrate any semantic recognition device provided in the embodiment of the present application.

[0212] For example, Fig.16 As shown, it shows a schematic diagram of the structure of the network device involved in the embodiment of the present application, specifically:

[0213] The network device may include one or more processing core processors 161, one or more computer-readable storage media memories 162, a power supply 163, an input unit 164 and other components. Those skilled in the art will appreciate that Fig.16 The network device structure shown in the figure does not constitute a limitation on the network device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0214] The processor 161 is the control center of the network device. It uses various interfaces and lines to connect various parts of the entire network device. By running or executing software programs and / or modules stored in the memory 162, and calling data stored in the memory 162, it executes various functions of the network device and processes data, thereby performing overall detection of the network device. Optionally, the processor 161 may include one or more processing cores; preferably, the processor 161 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 161.

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

[0216] The network device also includes a power supply 163 for supplying power to each component. Preferably, the power supply 163 can be logically connected to the processor 161 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 163 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0217] The network device may further include an input unit 164, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0218] Although not shown, the network device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 161 in the network device will load the executable files corresponding to the processes of one or more application programs into the memory 162 according to the following instructions, and the processor 161 will run the application programs stored in the memory 162, thereby realizing various functions, as follows:

[0219] A to-be-processed image group is determined from a target video, the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image, image features of the video images in the to-be-processed image group are extracted to obtain a feature map set, the feature map set includes a feature map corresponding to the target video image and feature maps corresponding to adjacent video images, the feature map set is divided into a plurality of sub-feature map sets, and a fused reference feature map corresponding to the sub-feature map set is determined, pixel points of the feature maps in the sub-feature map set are aligned according to position information of pixel points in the fused reference feature map to obtain a position-aligned feature map, the position-aligned feature map is fused with the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set, and a semantic recognition result corresponding to the target video image is constructed based on the fused feature maps corresponding to the plurality of sub-feature map sets.

[0220] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0221] As can be seen from the above, the embodiment of the present application can determine the image group to be processed from the target video, the image group to be processed includes the target video image, and multiple adjacent video images adjacent to the target video image, extract the image features of the video image in the image group to be processed, and obtain a feature map set, the feature map set includes the feature map corresponding to the target video image, and the feature map corresponding to the adjacent video image, divide the feature map set into several sub-feature map sets, and determine the fusion reference feature map corresponding to the sub-feature map set, according to the position information of the pixel points in the fusion reference feature map, the pixel points of the feature map in the sub-feature map set are aligned to obtain the position-aligned feature map, the position-aligned feature map is image-fused with the fusion reference feature map, and the fusion feature map corresponding to the sub-feature map set is obtained, and the semantic recognition result corresponding to the target video image is constructed based on the fusion feature maps corresponding to the several sub-feature map sets. This scheme can improve the accuracy of semantic recognition by aligning the pixel points of the feature map in the sub-feature map set. The network in this scheme adopts a cascade structure and can accept target videos of any length, thereby improving the flexibility of the semantic recognition method. This scheme can also effectively use adjacent video images to identify occluded or deformed objects in the target video by aligning the pixels of the feature maps in the sub-feature map set and performing convolution in the time dimension. Therefore, this semantic recognition method can be applied to various types of target videos and can improve the accuracy of semantic recognition.

[0222] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0223] To this end, an embodiment of the present application provides a computer device, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any of the semantic recognition methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0224] A to-be-processed image group is determined from a target video, the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image, image features of the video images in the to-be-processed image group are extracted to obtain a feature map set, the feature map set includes a feature map corresponding to the target video image and feature maps corresponding to adjacent video images, the feature map set is divided into a plurality of sub-feature map sets, and a fused reference feature map corresponding to the sub-feature map set is determined, pixel points of the feature maps in the sub-feature map set are aligned according to position information of pixel points in the fused reference feature map to obtain a position-aligned feature map, the position-aligned feature map is fused with the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set, and a semantic recognition result corresponding to the target video image is constructed based on the fused feature maps corresponding to the plurality of sub-feature map sets.

[0225] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0226] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0227] Since the instructions stored in the storage medium can execute the steps in any semantic recognition method provided in the embodiments of the present application, the beneficial effects that can be achieved by any semantic recognition method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0228] The above is a detailed introduction to a semantic recognition method, device, and computer storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A semantic recognition method, characterized in that: include: Determine a to-be-processed image group from a target video, the to-be-processed image group comprising a target video image and a plurality of adjacent video images adjacent to the target video image; Extracting image features of the video images in the to-be-processed image group to obtain a feature map set, wherein the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video images; Sliding and extracting a plurality of sub-feature map sets from the feature map set through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map; Determine a fused reference feature map corresponding to the sub-feature map set; Determine the offset of the pixel in the feature map of the sub-feature map set according to the position information of the pixel in the fused reference feature map; Based on the offset, positionally align the pixel points of the feature map in the sub-feature map set to obtain a position-aligned feature map; Performing image fusion on the position-aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set; Based on the fused feature maps corresponding to the sets of several sub-feature maps, a semantic recognition result corresponding to the target video image is constructed.

2. The semantic recognition method according to claim 1, characterized in that: Based on the fused feature maps corresponding to the plurality of sub-feature map sets, a semantic recognition result corresponding to the target video image is constructed, including: Based on the fused feature maps corresponding to the plurality of sub-feature map sets, a fused feature map set is constructed; The fused feature map set is used as a feature map set, and the step of sliding and extracting a plurality of sub-feature map sets from the feature map set by using a virtual sliding window is returned to be executed until the number of images of the fused feature map meets a termination condition; Perform semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image.

3. The semantic recognition method according to claim 2, characterized in that: Performing semantic recognition on the fused feature map to obtain a semantic recognition result corresponding to the target video image includes: Upsampling the fused feature map to obtain an upsampled feature map; Perform semantic recognition on the upsampled feature map to obtain a semantic recognition result corresponding to the target video image.

4. The semantic recognition method according to claim 3, characterized in that: Upsampling the fused feature map to obtain an upsampled feature map includes: Upsampling the fused feature map to obtain an initial upsampled feature map; The feature map corresponding to the target video image, the feature map corresponding to the adjacent video image, the fused feature map, and the initial upsampled feature map are fused to obtain an upsampled feature map.

5. The semantic recognition method according to claim 1, characterized in that: A plurality of sub-feature map sets are extracted from the feature map set by sliding through a virtual sliding window, including: Determine the preset number of feature maps extracted by the virtual sliding window each time; According to the preset number, a plurality of sub-feature map sets are slidably extracted from the feature map set, each sub-feature map set including a preset number of feature maps.

6. The semantic recognition method according to claim 1, characterized in that: After constructing the semantic recognition result corresponding to the target video image based on the fused feature graphs corresponding to the plurality of sub-feature graph sets, the method further includes: Continue to perform the step of determining the image group to be processed from the target video until a semantic recognition result corresponding to the video image requiring semantic recognition in the target video is constructed; According to the semantic recognition result corresponding to the video image requiring semantic recognition in the target video, the video semantic recognition result corresponding to the target video is determined.

7. A semantic recognition device, characterized in that: include: A determination module, used to determine a to-be-processed image group from a target video, wherein the to-be-processed image group includes a target video image and a plurality of adjacent video images adjacent to the target video image; An extraction module, used to extract image features of the video images in the to-be-processed image group to obtain a feature map set, wherein the feature map set includes a feature map corresponding to the target video image and a feature map corresponding to the adjacent video image; A partitioning module is used to slide and extract a plurality of sub-feature map sets from the feature map set through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map; and determine a fused reference feature map corresponding to the sub-feature map set; An alignment module is used to determine the offset of the pixel points in the feature map of the sub-feature map set according to the position information of the pixel points in the fused reference feature map; based on the offset, the pixel points of the feature map in the sub-feature map set are aligned to obtain the feature map after position alignment; A fusion module, used for performing image fusion on the position-aligned feature map and the fused reference feature map to obtain a fused feature map corresponding to the sub-feature map set; A construction module is used to construct a semantic recognition result corresponding to the target video image based on the fused feature maps corresponding to the plurality of sub-feature map sets.

8. A semantic recognition method based on a neural network, characterized in that: include: Determine a to-be-processed image group from a target video, the to-be-processed image group comprising a target video image and a plurality of adjacent video images adjacent to the target video image; Inputting the video images in the to-be-processed image group into a feature extraction network, and extracting a feature map corresponding to each video image based on the feature extraction network; Sliding and extracting a plurality of sub-feature map sets from the feature map set through a virtual sliding window, wherein two adjacent sub-feature map sets include the same feature map; Inputting a plurality of sub-feature map sets into an aligned convolutional network, and obtaining a fused feature map corresponding to the target video image based on the aligned convolutional network; The fused feature map is input into a semantic recognition network, and a semantic recognition result corresponding to the target video image is obtained based on the semantic recognition network.

9. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is enabled to execute the semantic recognition method according to any one of claims 1 to 6.