Dynamic video feature recognition method

By combining the dynamic video feature recognition method with temporal convolution network, long short-term memory network and attention mechanism, the problem of high-dimensional and complex data processing difficulties in dynamic video feature recognition technology is solved, and efficient and accurate feature recognition and tracking are achieved. , improving real-time performance and computing efficiency.

CN118609017APending Publication Date: 2024-09-06NANTONG ZERUI TECH INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410697030.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Dynamic video feature recognition technology faces problems such as difficulty in processing high-dimensional and complex data, low computational efficiency, diversity and uncertainty of dynamic features, and high real-time requirements.

Method used

Combined with the improved temporal convolutional network (TCN), long short-term memory network (LSTM) and attention mechanism, through preprocessing, feature extraction, timing analysis, feature weight optimization and feature matching algorithms, efficient feature recognition and tracking are achieved, using expansion Techniques such as convolutions, residual connections, spatial and channel attention, filters, graph models, and hardware acceleration.

Benefits of technology

It improves the accuracy and efficiency of feature extraction, enhances the model's ability to focus on key features, achieves fast and accurate feature matching and tracking, improves the stability and real-time performance of recognition, and is suitable for a variety of application scenarios.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a dynamic video feature recognition method, which comprises the following steps of: (1) preprocessing an input video sequence, including denoising and resolution adjustment, so as to improve the accuracy of subsequent feature extraction; (2) extracting features in the video sequence by adopting an improved time convolutional network (TCN); (3) performing time sequence analysis on the extracted features by using a long short-term memory (LSTM) network; (4) feature weight distribution is optimized in combination with an attention mechanism, the attention capability of the model on key features is enhanced, and therefore the accuracy of feature recognition is improved; and (5) realizing identification and tracking of dynamic video features through a feature matching algorithm which can effectively measure the similarity between the features and realize efficient feature matching and tracking. The receptive field is increased by using expansion convolution, and residual connection is introduced to relieve the gradient disappearance problem, so that the accuracy and efficiency of feature extraction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dynamic video feature recognition, and in particular to a dynamic video feature recognition method. Background Art

[0002] In today's information age, video data, as an important information carrier, is growing at an explosive rate. For such a large amount of video data, how to effectively extract features and analyze content has become an important research direction in the field of computer vision. Dynamic video feature recognition technology aims to extract valuable information from continuous video frames and analyze and understand it. This has broad application prospects in many fields such as intelligent monitoring, human-computer interaction, and autonomous driving.

[0003] In the early days, dynamic video feature recognition mainly relied on traditional image processing techniques, such as background subtraction, frame difference, optical flow method, etc. Although these methods can detect and track video features to a certain extent, they are usually poorly adaptable to the environment, easily affected by factors such as lighting changes, occlusion, camera motion, etc., and have difficulty in handling complex dynamic scenes.

[0004] With the rise of machine learning and deep learning technologies, dynamic video feature recognition methods based on deep learning have gradually become a hot topic of research. In particular, the development of convolutional neural networks (CNN) and recurrent neural networks (RNN) has provided powerful tools for the automatic extraction and temporal analysis of video features. For example, the three-dimensional convolutional neural network (3D CNN) can capture the spatiotemporal features in the video at the same time by adding convolution operations in the time dimension; and the long short-term memory network (LSTM), as a special type of recurrent neural network, effectively solves the problem of long sequence dependency through a gating mechanism, which is very suitable for processing temporal information in video data.

[0005] Although deep learning technology has made significant progress, dynamic video feature recognition still faces some problems. First, the high dimensionality and complexity of video data require that the feature extraction algorithm not only has sufficient representation capabilities but also has high computational efficiency. Second, the dynamic features in the video are often diverse and uncertain. How to design effective feature matching and tracking strategies is the key to improving recognition performance. In addition, real-time requirements are crucial for many application scenarios, which requires the feature recognition system to be able to quickly and accurately process large amounts of video data in a limited time.

[0006] To solve the above problems, the present invention proposes a dynamic video feature recognition method which combines an improved temporal convolutional network (TCN), a long short-term memory network (LSTM) and an attention mechanism. Summary of the invention

[0007] In view of the above-mentioned deficiencies in the prior art, the present invention provides a dynamic video feature recognition method to solve the above-mentioned problems.

[0008] The objective of the present invention is achieved through the following technical solutions:

[0009] A method for identifying dynamic video features comprises the following steps:

[0010] (1) Preprocessing the input video sequence, including denoising and adjusting the resolution, to improve the accuracy of subsequent feature extraction;

[0011] (2) Using an improved temporal convolutional network (TCN) to extract features from video sequences;

[0012] (3) Use long short-term memory network (LSTM) to perform temporal analysis on the extracted features;

[0013] (4) Combine the attention mechanism to optimize feature weight distribution and enhance the model's ability to focus on key features, thereby improving the accuracy of feature recognition;

[0014] (5) Dynamic video features are recognized and tracked through a feature matching algorithm, which can effectively measure the similarity between features and achieve efficient feature matching and tracking.

[0015] Preferably, the improved temporal convolutional network (TCN) includes using dilated convolution to increase the receptive field, and introducing residual connections to alleviate the gradient vanishing problem.

[0016] Preferably, a long short-term memory network (LSTM) is used to learn long-term dependencies in video sequences and predict feature changes in future frames.

[0017] Preferably, the attention mechanism includes spatial attention and channel attention, which are used to enhance the model's ability to focus on key features.

[0018] Preferably, the feature matching algorithm measures the similarity between features based on cosine similarity or Euclidean distance to achieve efficient feature matching and tracking.

[0019] Preferably, the post-processing and optimization step includes using a filter to remove abnormal matching points and using a graphical model to perform spatial constraint optimization on feature points.

[0020] Preferably, the real-time performance optimization measures include network pruning, weight quantization, and the use of hardware acceleration technologies such as GPU.

[0021] Preferably, the user interaction and feedback step allows the user to manually correct or provide feedback on the recognition results, and enables the system to self-learn and adjust according to the feedback.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] The present invention provides a technical solution for a dynamic video feature recognition method. The invention increases the receptive field by using dilated convolution and introduces residual connection to alleviate the gradient vanishing problem, thereby improving the accuracy and efficiency of feature extraction. The LSTM is used to perform temporal analysis on the extracted features, learn the long-term dependencies in the video sequence, and predict the feature changes of future frames, thereby improving the stability and reliability of recognition. The spatial attention and channel attention mechanisms are used to optimize feature weight distribution, enhance the model's ability to focus on key features, and further improve the accuracy of feature recognition. The similarity between features is measured based on cosine similarity or Euclidean distance, thereby achieving efficient feature matching and tracking, and improving the speed and accuracy of recognition.

[0024] These improved technologies have significantly improved the real-time performance and accuracy of the dynamic video feature recognition method of the present invention, and are particularly suitable for application scenarios that require fast and accurate video analysis. In addition, the present invention also takes into account real-time performance optimization and user interaction design, improves the practicality of the system and user experience, and has important practical value and broad market prospects. DETAILED DESCRIPTION

[0025] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0026] An embodiment provided by the present invention:

[0027] A method for identifying dynamic video features comprises the following steps:

[0028] (1) Preprocess the input video sequence, including denoising and adjusting the resolution, to improve the accuracy of subsequent feature extraction. Video denoising refers to the process of removing noise from the video to improve the video quality. The noise may come from various factors such as the sensor of the shooting device and the compression encoding during the transmission process. By using deep learning video denoising methods, such as the network based on optical flow, the noise in the time domain and spatial domain can be effectively removed.

[0029] Due to different acquisition devices, the input video sequence may have different resolutions. In order to unify the processing standards and optimize computing resources, the video needs to be adjusted to the appropriate resolution. This process can be achieved through traditional interpolation algorithms or more advanced methods such as super-resolution technology. Adjusting the resolution not only helps to reduce the computational burden of subsequent processing, but also ensures scale consistency during feature extraction, thereby improving the accuracy of feature matching.

[0030] The above preprocessing steps not only reduce the interference of noise on feature extraction, but also provide a clear and consistent data foundation for subsequent advanced processing by optimizing video quality;

[0031] (2) An improved temporal convolutional network (TCN) is used to extract features from video sequences. The improved temporal convolutional network (TCN) includes the use of dilated convolutions to increase the receptive field and the introduction of residual connections to alleviate the gradient vanishing problem. TCN increases the receptive field by dilated convolutions and can capture dependencies over a longer time range. At the same time, residual connections are introduced to solve the gradient vanishing problem in deep network training. Through dilated convolutions, TCN can expand the receptive field and capture dependencies over a longer time range without increasing the number of parameters and computational complexity. This structure enables the network to effectively handle long-term correlations in video sequences, thereby better understanding the temporal dynamics in video content. Another key feature of TCN is the use of residual connections. Residual connections allow information to be directly transferred between network layers at different levels, which helps alleviate the gradient vanishing problem common in deep networks. In this way, TCN can maintain smooth gradient transfer even in very deep network structures, thereby supporting a more efficient training process.

[0032] (3) Use the long short-term memory network (LSTM) to perform temporal analysis on the extracted features; the long short-term memory network (LSTM) is used to learn long-term dependencies in video sequences and predict feature changes in future frames. LSTM effectively controls the flow of information by introducing input gates, forget gates, and output gates. The input gate determines when to allow new information to enter the cell state, the forget gate determines when to discard information that is no longer needed, and the output gate controls when to read information from the cell state and output it; the cell state is the core of the LSTM, which is a hidden state that runs horizontally through the entire network and can store information for a long time. This structure enables the LSTM to maintain long-term dependencies when necessary without being affected by gradient vanishing; due to the LSTM's gating structure and cell state design, it can effectively solve the gradient vanishing problem, allowing the network to learn long-term dependencies even when processing very long sequences;

[0033] (4) Combine the attention mechanism to optimize feature weight allocation and enhance the model's ability to focus on key features, thereby improving the accuracy of feature recognition; the attention mechanism includes spatial attention and channel attention, which are used to enhance the model's ability to focus on key features. The attention module calculates the importance of each part of the input data and assigns different weights to different features. The adaptive weight allocation algorithm based on the attention mechanism emphasizes or weakens the contribution of certain input data to the next step of processing by reasonably allocating weights to each module of the neural network. This adaptive weight allocation strategy not only improves the model's ability to focus on key features, but also avoids the problem of overfitting. By concentrating computing resources on those areas with more information, the attention mechanism helps to reduce the overall computational complexity and improve the model's operating efficiency.

[0034] (5) The recognition and tracking of dynamic video features are realized through the feature matching algorithm. The algorithm can effectively measure the similarity between features and realize efficient feature matching and tracking. The feature matching algorithm measures the similarity between features based on cosine similarity or Euclidean distance to realize efficient feature matching and tracking. Feature extraction is the process of extracting key feature points from continuous video frames. These feature points usually have scale, direction and position information, so that they can be accurately detected between different frames. Feature description involves describing the extracted feature points with a set of mathematical vectors to ensure that the vector descriptions of different feature points are unique and the vector differences between similar key points are as small as possible. This lays the foundation for the subsequent matching process. Feature matching is to judge the similarity between feature points by calculating the distance between different feature description vectors. The feature matching algorithm realizes the effective recognition and tracking of features in dynamic videos through precise feature extraction, description and matching. This not only improves the accuracy and efficiency of video analysis, but also provides reliable technical support for a variety of computer vision tasks.

[0035] The post-processing and optimization steps include using filters to remove abnormal matching points and using graph models to optimize spatial constraints on feature points. By applying techniques such as mean filtering, median filtering, or Gaussian filtering, abnormal matching points that are significantly different from surrounding points can be effectively removed. These filters can smooth the data and reduce mismatches caused by noise. Removing abnormal matching points helps improve the accuracy of feature matching because it reduces the impact of mismatches on the final results. Graph models are a powerful tool that can be used to represent and calculate the spatial relationship between feature points. By constructing a graph in which nodes represent feature points and edges represent the relationship between them, graph theory algorithms can be used to optimize the layout of these points so that the entire structure is more in line with actual spatial constraints. This method can enhance the overall consistency of the feature point set, especially when dealing with complex scenes or multiple targets. By considering the spatial relationship between feature points, the accuracy and robustness of feature matching can be significantly improved.

[0036] Among them, real-time performance optimization measures include network pruning, weight quantization, and the use of hardware acceleration technologies such as GPUs. Network pruning is a model compression technology that reduces the size of the model by removing redundant connections or neurons in the neural network. This method can be based on the size of the weight, the second-order derivative of the weight (i.e., the significance of the weight), or the impact on the performance of the validation set. The pruned model is not only smaller in size and easy to deploy on resource-constrained devices, but also usually maintains performance close to that of the original model. This is particularly important for video analysis applications that need to run in real time on edge devices. Weight quantization refers to converting floating-point weights in a neural network into integers with low bit widths, such as from 32-bit floating-point numbers to 8-bit integers. This conversion reduces the storage space requirements of the model and improves computational efficiency. Quantization not only reduces the memory footprint of the model, but also improves the computing speed because it allows neural network reasoning to be quickly performed on devices that do not have floating-point computing capabilities. GPUs are very suitable for performing a large number of matrix operations in deep learning algorithms due to their highly parallel structure. By assigning the computing tasks of the neural network to the GPU, the reasoning speed of the model can be significantly accelerated. Using the GPU for hardware acceleration can greatly increase the throughput of video data processing, thereby achieving real-time or near real-time video analysis.

[0037] The user interaction and feedback step allows users to manually correct or provide feedback on the recognition results, and enables the system to self-learn and adjust based on the feedback. Users can correct the results of the system's automatic recognition, such as adjusting the wrong target bounding box or providing the correct label. This direct feedback can immediately correct the system's errors and improve the accuracy of the current results. The system can self-learn based on user feedback, adjust internal algorithm parameters, and optimize the performance of the model. For example, if users frequently correct a certain type of error, the system can gradually learn to reduce the occurrence of such errors. Good user interaction design can improve user satisfaction and engagement. When users find that their feedback can be effectively used by the system, they are more willing to use the system for a long time and provide more feedback information. User feedback can serve as additional training data to increase the diversity and richness of model training. Especially in the case of data scarcity, manual annotation by users can significantly improve the generalization ability of the model. In some application scenarios with high real-time requirements, such as security monitoring or autonomous driving, fast and accurate user feedback can help the system adjust its strategy in time to avoid potential risks or losses. By analyzing user feedback habits, the system can provide more personalized services for different users. For example, based on past user feedback, the system can predict and prioritize events that users may be concerned about. Machine learning models can make systematic errors due to biases in the training data. User feedback can help identify and reduce these biases, making the models more fair and accurate.

[0038] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.

Claims

1. A method for identifying dynamic video features, characterized in that: The following steps are involved: (1) Preprocessing the input video sequence, including denoising and adjusting the resolution, to improve the accuracy of subsequent feature extraction; (2) Using an improved temporal convolutional network (TCN) to extract features from video sequences; (3) Use long short-term memory network (LSTM) to perform temporal analysis on the extracted features; (4) Combine the attention mechanism to optimize feature weight distribution and enhance the model's ability to focus on key features, thereby improving the accuracy of feature recognition; (5) Dynamic video features are recognized and tracked through a feature matching algorithm, which can effectively measure the similarity between features and achieve efficient feature matching and tracking.

2. A dynamic video feature recognition method according to claim 1, characterized in that: The improved temporal convolutional network (TCN) includes the use of dilated convolution to increase the receptive field and the introduction of residual connections to alleviate the gradient vanishing problem.

3. A dynamic video feature recognition method according to claim 1, characterized in that: The Long Short-Term Memory (LSTM) network is used to learn long-term dependencies in video sequences and predict feature changes in future frames.

4. A method for dynamic video feature recognition according to claim 1, characterized in that: The attention mechanism includes spatial attention and channel attention, which are used to enhance the model's ability to focus on key features.

5. A dynamic video feature recognition method according to claim 1, characterized in that: The feature matching algorithm measures the similarity between features based on cosine similarity or Euclidean distance to achieve efficient feature matching and tracking.

6. A method for dynamic video feature recognition according to claim 1, characterized in that: The post-processing and optimization steps include using filters to remove abnormal matching points and using graph models to perform spatial constraint optimization on feature points.

7. A method for dynamic video feature recognition according to claim 1, characterized in that: Real-time performance optimization measures include network pruning, weight quantization, and the use of hardware acceleration technologies such as GPU.

8. A method for dynamic video feature recognition according to claim 1, characterized in that: The user interaction and feedback step allows the user to manually correct or provide feedback on the recognition results, and enables the system to self-learn and adjust based on the feedback.