Integrated digital video management system and method
Through the integrated digital video management system, non-local neural network models and classifiers are used to detect the driver's facial features, achieving timely and accurate detection of the driver's fatigue status, and solving the existing system's lack of reliability and accuracy in fatigue detection. problems and improve traffic safety.
Patent Information
- Application Number
- CN202410952002.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-16
AI Technical Summary
Existing digital video surveillance systems have insufficient reliability, accuracy and practicality in detecting driver fatigue, resulting in frequent false detections and missed detections, affecting traffic safety.
An integrated digital video management system is designed. By obtaining the driver's face monitoring video, extracting key frames and performing target detection, the non-local neural network model is used to obtain the high-dimensional global correlation feature vector of the driver's face, and combined with the classifier, the driver's face is realized. Timely detection and warning of fatigue status.
It improves the accuracy and practicality of driver fatigue detection, reduces false detections and missed detections, and enhances traffic safety.
Smart Images

Figure CN118486007B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of digital video technology, and more specifically, to an integrated digital video management system and method. Background Art
[0002] Integrated digital video management refers to integrating various video management functions and tools to integrate the creation, editing, storage, distribution, and analysis of video content into a unified platform or system in order to more effectively manage and utilize video resources. This management approach aims to improve the production efficiency, management efficiency, and user experience of video content, while helping organizations better utilize video content to achieve their business goals.
[0003] Safe driving depends on many factors. In addition to natural factors such as vehicle condition and road conditions, the human factor of the driver plays a decisive role. A large number of analytical studies have shown that driver fatigue driving is one of the main causes of traffic accidents, especially on highways, where nearly half of traffic fatalities are attributed to fatigue driving. The digital video monitoring system first proposed the idea of modular management, managing the video module, audio module, alarm module, PTZ and lens control module, action output module, remote control switch module, etc. through computers, greatly reducing the difficulty of work and making construction simpler.
[0004] However, some existing technologies use contact detection methods, which affect the normal behavior of drivers; some systems are not real-time or accurate enough, resulting in a low detection rate of the system, and false detection and missed detection often occur in actual applications.
[0005] Therefore, an integrated digital video management system and method are desired to improve the reliability, accuracy and practicality of the system, thereby better helping drivers avoid fatigue driving and improving the level of traffic safety. Summary of the invention
[0006] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides an integrated digital video management system and method, which can detect fatigue status by analyzing the driver's facial monitoring video, realize timely warning, and improve driving safety.
[0007] Accordingly, according to one aspect of the present application, an integrated digital video management system is provided, comprising:
[0008] A digital video acquisition module is used to obtain driver's facial monitoring video;
[0009] A digital video processing module, used for extracting key frames from the driver's face monitoring video and then performing target detection to obtain a driver's face related feature map;
[0010] A digital video high-dimensional feature module, used for passing the driver's facial correlation feature map through a non-local neural network model to obtain a driver's facial high-dimensional global correlation feature vector;
[0011] A digital video optimization module, used for optimizing the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face;
[0012] A digital video analysis module, used for passing the optimized high-dimensional global correlation feature vector of the driver's face through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the driver is in a fatigue state;
[0013] Wherein, the digital video optimization module includes:
[0014] Performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the driver's face high-dimensional global correlation feature vector to obtain an optimization factor; and
[0015] The optimization factor is used as a weight to weight the driver's facial high-dimensional global correlation feature vector to obtain an optimized driver's facial high-dimensional global correlation feature vector.
[0016] In the above-mentioned integrated digital video management system, the digital video processing module includes: a key frame extraction unit, which is used to extract multiple mouth key frames, multiple left eye key frames and multiple right eye key frames from the driver's face monitoring video at a predetermined sampling frequency; a target detection unit, which is used to obtain multiple mouth area of interest maps, multiple left eye area of interest maps and multiple right eye area of interest maps through target detection from the multiple mouth key frames, the multiple left eye key frames and the multiple right eye key frames respectively; a convolution coding unit, which is used to convolutionally encode the multiple mouth area of interest maps, the multiple left eye area of interest maps and the multiple right eye area of interest maps respectively to obtain mouth dynamic feature maps, left eye dynamic feature maps and right eye dynamic feature maps; a feature fusion unit, which is used to fuse the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map to obtain the driver's face associated feature map.
[0017] In the above-mentioned integrated digital video management system, the target detection unit includes: a mouth target detection subunit, which is used to pass the multiple mouth key frames through the mouth target detection network respectively to obtain the multiple mouth regions of interest; a left eye target detection subunit, which is used to pass the multiple left eye key frames through the left eye target detection network respectively to obtain the multiple left eye regions of interest; and a right eye target detection subunit, which is used to pass the multiple right eye key frames through the right eye target detection network respectively to obtain the multiple right eye regions of interest.
[0018] In the above-mentioned integrated digital video management system, the convolution encoding unit includes: a mouth input tensor subunit, which is used to arrange the multiple mouth area of interest maps into a mouth input tensor and then obtain the mouth dynamic feature map by using a first convolutional neural network with a three-dimensional convolution kernel; a left eye input tensor subunit, which is used to arrange the multiple left eye area of interest maps into a left eye input tensor by using a second convolutional neural network with a three-dimensional convolution kernel to obtain the left eye dynamic feature map; a right eye input tensor subunit, which is used to arrange the multiple right eye area of interest maps into a right eye input tensor by using a third convolutional neural network with a three-dimensional convolution kernel to obtain the right eye dynamic feature map.
[0019] In the above-mentioned integrated digital video management system, the mouth input tensor subunit is used to: use each layer of the three-dimensional convolutional neural network to perform convolution processing, pooling processing and nonlinear activation processing based on the three-dimensional convolution kernel on the input data in the forward transmission of the layer so as to output the mouth dynamic feature map by the last layer of the three-dimensional convolution kernel.
[0020] In the above-mentioned integrated digital video management system, the feature fusion unit is used to calculate the position-weighted sum of the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map as the driver's face-related feature map.
[0021] In the above-mentioned integrated digital video management system, the digital video high-dimensional feature module includes: a point convolution processing unit, which is used to perform a first point convolution processing, a second point convolution processing and a third point convolution processing on the driver's facial association feature map respectively to obtain a first facial association feature map, a second facial association feature map and a third facial association feature map; a feature map position weighting unit, which is used to calculate the position weighted sum between the first facial association feature map and the second facial association feature map to obtain a fused feature map; a softmax function unit, which is used to input the fused feature map into a softmax function to map the feature values of each position in the fused feature map to a probability space to obtain a normalized fused feature map; a position point multiplication unit, which is used to calculate the normalized A re-fused feature map is obtained by multiplying the fused feature map and the third face-associated feature map by position points; a global similarity feature unit is used to embed the re-fused feature map into a Gaussian similarity function to obtain a global similarity feature map; a channel number adjustment unit is used to perform a fourth point convolution process on the global similarity feature map to adjust the number of channels of the global similarity feature map to obtain a channel-adjusted global similarity feature map; a high-dimensional feature calculation unit is used to calculate the position-weighted sum of the channel-adjusted global similarity feature map and the driver's face-associated feature map to obtain a high-dimensional global associated feature map of the driver's face; a driver's face high-dimensional feature pooling unit is used to pool the high-dimensional global associated feature map of the driver's face to obtain a high-dimensional global associated feature vector of the driver's face.
[0022] In the above-mentioned integrated digital video management system, the high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on the auxiliary analysis of the feature attribute layout to obtain an optimization factor, including: multiplying the high-dimensional global correlation feature vector of the driver's face with the classification weight matrix of the classifier to obtain a high-dimensional global correlation weight feature vector of the driver's face; cascading the high-dimensional global correlation feature vector of the driver's face and the high-dimensional global correlation weight feature vector of the driver's face to obtain a high-dimensional global correlation feature-weight information joint vector of the driver's face; passing the high-dimensional global correlation feature-weight information joint vector of the driver's face through a first fully connected layer and then through a sigmoid function to obtain a first activation output value; adding the high-dimensional global correlation feature vector of the driver's face and the high-dimensional global correlation weight feature vector of the driver's face by position to obtain a high-dimensional global correlation feature-weight information sum vector of the driver's face; and concatenating the high-dimensional global correlation feature-weight information joint vector of the driver's face. The weighted information sum vector passes through the second fully connected layer and then through the sigmoid function to obtain a second activation output value; the mean of the first activation output value and the second activation output value is calculated, and 1 is subtracted from the mean to obtain a first weighting coefficient; the mean of the first activation output value and the second activation output value is calculated to obtain a second weighting coefficient; the natural exponential function value is calculated with the eigenvalue of the driver's face high-dimensional global association weight feature vector as a power to obtain a first-index driver's face high-dimensional global association weight feature vector; the natural exponential function value is calculated with the eigenvalue of the driver's face high-dimensional global association feature vector as a power to obtain a second-index driver's face high-dimensional global association feature vector; based on the first weighting coefficient and the second weighting coefficient, the weighted sum of the first-index driver's face high-dimensional global association weight feature vector and the second-index driver's face high-dimensional global association feature vector is calculated to obtain a weighted sum feature vector, and the bi-norm of the weighted sum feature vector is calculated to obtain an optimization factor.
[0023] In the above-mentioned integrated digital video management system, the digital video analysis module includes: using the classifier to process the optimized driver's facial high-dimensional global correlation feature vector using the following classification formula to obtain the classification result;
[0024] Among them, the classification formula is: ,in, arrive is the weight matrix, arrive is the bias vector, To optimize the high-dimensional global correlation feature vector of the driver’s face, represents the normalized exponential function, Indicates the classification result.
[0025] According to another aspect of the present application, an integrated digital video management method is also provided, which includes:
[0026] Obtain driver's facial surveillance video;
[0027] Extracting key frames from the driver's face monitoring video and performing target detection to obtain a driver's face related feature map;
[0028] The driver's facial correlation feature map is passed through a non-local neural network model to obtain a high-dimensional global correlation feature vector of the driver's face;
[0029] Optimizing the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector;
[0030] Passing the optimized high-dimensional global correlation feature vector of the driver's face through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the driver is in a fatigue state;
[0031] The step of optimizing the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector comprises:
[0032] Performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the driver's face high-dimensional global correlation feature vector to obtain an optimization factor; and
[0033] The optimization factor is used as a weight to weight the driver's facial high-dimensional global correlation feature vector to obtain an optimized driver's facial high-dimensional global correlation feature vector.
[0034] Compared with the prior art, the present application provides an integrated digital video management system and method, which obtains the driver's facial monitoring video, extracts key frames and performs target detection, uses a non-local neural network model to obtain the driver's face high-dimensional global correlation feature vector, and finally uses a classifier to obtain a classification result of whether the driver is in a fatigue state, thereby achieving timely fatigue driving detection and alarm, and improving the level of traffic safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0036] Figure 1 It is a block diagram of an integrated digital video management system according to an embodiment of the present application.
[0037] Figure 2 Schematic diagram of a block diagram of a digital video processing module in an integrated digital video management system according to an embodiment of the present application.
[0038] Figure 3 Schematic diagram of a block diagram of a target detection unit in an integrated digital video management system according to an embodiment of the present application.
[0039] Figure 4 Schematic diagram of a block diagram of a convolutional encoding unit in an integrated digital video management system according to an embodiment of the present application.
[0040] Figure 5 The figure is a flow chart of an integrated digital video management method according to an embodiment of the present application. DETAILED DESCRIPTION
[0041] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0042] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0043] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0044] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0045] Figure 1 FIG. 1 is a block diagram of an integrated digital video management system according to an embodiment of the present application. Figure 1As shown, the integrated digital video management system 100 according to the embodiment of the present application includes: a digital video acquisition module 110, which is used to obtain a driver's face monitoring video; a digital video processing module 120, which is used to extract key frames from the driver's face monitoring video and then obtain a driver's face correlation feature map through target detection; a digital video high-dimensional feature module 130, which is used to obtain a driver's face high-dimensional global correlation feature vector through a non-local neural network model; a digital video optimization module 140, which is used to optimize the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector; The digital video analysis module 150 is used to pass the optimized high-dimensional global correlation feature vector of the driver's face through a classifier to obtain a classification result, and the classification result is used to indicate whether the driver is in a fatigue state; wherein, the high-dimensional global correlation feature vector of the driver's face is optimized to obtain the optimized high-dimensional global correlation feature vector of the driver's face, including: performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the high-dimensional global correlation feature vector of the driver's face to obtain an optimization factor; and, using the optimization factor as a weight, weighting the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face.
[0046] In the embodiment of the present application, the digital video acquisition module 110 is used to obtain the driver's facial monitoring video. It should be understood that by monitoring the driver's facial expressions and eye activities and other features, the system can detect signs of fatigue driving, such as frequent blinking, closing eyes for too long, etc., which helps prevent traffic accidents. The facial monitoring video can monitor the driver's status in real time, detect fatigue driving in time, and take corresponding measures to ensure driving safety. The system can be equipped with an automated warning system, which can immediately issue an alarm when fatigue driving is detected, remind the driver to pay attention, and take timely measures to avoid danger. Fatigue driving is one of the important causes of traffic accidents. Timely monitoring and warning of fatigue driving can effectively prevent the occurrence of traffic accidents and ensure driving safety. The system detects the fatigue state and sends an alarm signal in time to wake up the driver to remind him to drive safely, while alerting other passengers and prompting the driver to rest, thereby effectively avoiding the occurrence of traffic accidents.
[0047] In the embodiment of the present application, the digital video processing module 120 is used to extract key frames from the driver's face monitoring video and then obtain the driver's face associated feature map through target detection. It should be understood that by extracting key frames and performing target detection, the key features of the driver's face, such as eyes, mouth, etc., can be effectively captured, which helps to identify the driver's expression and state. After obtaining the facial associated feature map, the fatigue state can be detected by analyzing the driver's facial expressions and features, including eye closure time, blinking frequency, etc., so as to issue an alarm in time to remind the driver. Target detection technology can help accurately locate the driver's facial area, thereby improving the accuracy and precision of recognition and ensuring accurate monitoring of the driver's state. Through real-time monitoring of the facial associated feature map, the system can continuously track the driver's state changes during driving and detect fatigue driving in time. This technology can help improve driving safety, reduce the dangers caused by fatigue driving, and ensure the safety of drivers and passengers.
[0048] Specifically, in one embodiment of the present application, Figure 2 FIG. 1 is a block diagram of a digital video processing module in an integrated digital video management system according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned integrated digital video management system 100, the digital video processing module 120 includes: a key frame extraction unit 121, which is used to extract multiple mouth key frames, multiple left eye key frames and multiple right eye key frames from the driver's face monitoring video at a predetermined sampling frequency; a target detection unit 122, which is used to obtain multiple mouth area of interest maps, multiple left eye area of interest maps and multiple right eye area of interest maps through target detection from the multiple mouth key frames, the multiple left eye key frames and the multiple right eye key frames respectively; a convolution coding unit 123, which is used to convolutionally encode the multiple mouth area of interest maps, the multiple left eye area of interest maps and the multiple right eye area of interest maps respectively to obtain mouth dynamic feature maps, left eye dynamic feature maps and right eye dynamic feature maps; a feature fusion unit 124, which is used to fuse the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map to obtain the driver's face associated feature map.
[0049] Accordingly, in a specific example of the present application, the key frame extraction unit 121 is used to extract multiple mouth key frames, multiple left eye key frames and multiple right eye key frames from the driver's face monitoring video at a predetermined sampling frequency. It should be understood that the key frame extraction of different parts can help the system analyze the changes in the driver's facial features more carefully. The dynamic features of the mouth, left eye and right eye can provide rich information, such as blinking frequency, mouth activity, etc., which helps to more comprehensively evaluate the driver's state. By extracting multiple mouth, left eye and right eye key frames, the system can identify different facial movements, such as opening the mouth, closing the eyes, etc., so as to infer the driver's emotions and attention state. Extracting multiple key frames can monitor the driver's facial expressions and states from different angles, which helps to more accurately analyze the driver's fatigue level, distraction, etc., and improve the accuracy of monitoring. Extracting multiple key frames and performing dynamic feature analysis helps to perform time series analysis, and the system can better capture the continuous changes in states such as fatigue driving, and make timely warnings and interventions. The final driver's facial correlation feature map is obtained by fusing the dynamic feature maps of the mouth, left eye and right eye. This can comprehensively consider the information of different parts and improve the accuracy and robustness of monitoring.
[0050] Accordingly, in a specific example of the present application, the target detection unit 122 is used to obtain multiple mouth region of interest maps, multiple left eye region of interest maps and multiple right eye region of interest maps from the multiple mouth key frames, the multiple left eye key frames and the multiple right eye key frames through target detection. It should be understood that the target detection technology can effectively locate the position of a specific target in the image. By detecting the mouth and eyes in the key frames, these important facial feature areas can be accurately located, thereby providing accurate areas for subsequent analysis. The region of interest map obtained by target detection can extract the mouth and eye areas in the key frames. These areas contain important information of facial key features, which is conducive to subsequent feature extraction and analysis. Obtaining the region of interest map through target detection can reduce the computational complexity of subsequent processing, because only the mouth and eye areas need to be focused on, and the entire image does not need to be processed, thereby improving processing efficiency. By extracting the regions of interest of the mouth and eyes, the system can focus more on the analysis of these key features, thereby more accurately inferring the driver's state, such as fatigue, concentration, etc. The facial features of different drivers may be different. The region of interest map obtained through target detection can support personalized processing, adapt to the feature differences of different drivers, and improve the accuracy and applicability of monitoring.
[0051] further, Figure 3 FIG. 1 is a block diagram of a target detection unit in an integrated digital video management system according to an embodiment of the present application. Figure 3As shown, in the digital video processing module 120 of the above-mentioned integrated digital video management system 100, the target detection unit 122 includes: a mouth target detection subunit 1221, which is used to pass the multiple mouth key frames through the mouth target detection network respectively to obtain the multiple mouth regions of interest; a left eye target detection subunit 1222, which is used to pass the multiple left eye key frames through the left eye target detection network respectively to obtain the multiple left eye regions of interest; a right eye target detection subunit 1223, which is used to pass the multiple right eye key frames through the right eye target detection network respectively to obtain the multiple right eye regions of interest.
[0052] Specifically, the mouth target detection subunit 1221 is used to pass the multiple mouth key frames through the mouth target detection network to obtain the multiple mouth interest regions. It should be understood that the mouth is a very important area in the face because it involves speech recognition, emotional expression and other aspects. By passing the multiple mouth key frames through the mouth target detection network, the mouth area in each key frame can be accurately located to ensure accurate capture of the dynamic information of the mouth. The mouth position, size, shape and other features of different drivers may be different. Through the mouth target detection network, personalized processing can be performed for the characteristics of each driver to ensure accurate detection and extraction of the mouth area. The mouth target detection network is specially designed to detect and locate the mouth area. Compared with the general target detection network, it focuses more on the extraction of mouth features, so it can improve accuracy and detection efficiency. The mouth is an important expression area in the face. By extracting the mouth interest area, the driver's facial expression information can be better captured, which is helpful for emotion recognition and driver status monitoring. After obtaining the mouth region of interest, further analysis such as mouth dynamic feature extraction and emotion recognition can be performed to provide richer information for the system's subsequent processing and decision-making.
[0053] Specifically, the left eye target detection subunit 1222 is used to pass the multiple left eye key frames through the left eye target detection network to obtain the multiple left eye regions of interest. It should be understood that the eyes are one of the most expressive and emotional parts of the face, and the left eye and the right eye play an important role in driver status monitoring. By performing target detection on the left eye, important information about eye features can be captured, which is helpful for analyzing the driver's attention, fatigue level, etc. The position, size and shape of each person's eyes are different. By detecting the left eye of each driver through the left eye target detection network, personalized processing can be achieved to ensure that the characteristics of the left eye are accurately captured. The target detection network designed specifically for the left eye can locate the left eye more accurately, and can improve the accuracy and reliability of detection compared to the general target detection network. The eyes are an important part of facial emotional expression, and the driver's eye state can reflect his emotional state and concentration. By obtaining the left eye region of interest, the driver's emotional expression and state can be better analyzed. After obtaining the left eye ROI, subsequent processing such as eye movement analysis and pupil size analysis can be performed to gain a more comprehensive understanding of the driver's status and behavior.
[0054] Specifically, the right eye target detection subunit 1223 is used to pass the multiple right eye key frames through the right eye target detection network to obtain the multiple right eye regions of interest. It should be understood that the right eye is also one of the regions with important features in the face, which is of great significance for the monitoring and analysis of the driver's status. By performing target detection on the right eye part, important information about the driver's eye features can be obtained. The features of the right eye part of each driver may be different. By detecting the right eye part of each driver through the right eye target detection network, personalized processing can be achieved to ensure that the features of the right eye part are accurately captured. The target detection network specially designed for the right eye part can locate the right eye part more accurately, and can improve the accuracy and reliability of detection compared to the general target detection network. The right eye can also reflect the driver's emotional state and concentration, so obtaining the right eye region of interest helps to better analyze the driver's emotional expression and state. By obtaining the right eye region of interest, it can be comprehensively analyzed with the information of the left eye part to more comprehensively understand the driver's eye state, emotional changes and attention level.
[0055] Accordingly, in a specific example of the present application, the convolutional coding unit 123 is used to convolutionally encode the multiple mouth region of interest maps, the multiple left eye region of interest maps, and the multiple right eye region of interest maps to obtain a mouth dynamic feature map, a left eye dynamic feature map, and a right eye dynamic feature map. It should be understood that convolutional coding is an effective feature extraction method, and representative features can be learned from the original image through a convolutional neural network. By convolutionally encoding the region of interest maps of the mouth, left eye, and right eye, the dynamic features of these regions can be extracted, which helps to capture key expressions, motion information, etc. The convolutional neural network can effectively retain the spatial information of the image, and the dynamic feature map obtained by convolutional coding can better reflect the spatial structure and changes of the mouth, left eye, and right eye regions, which is helpful for subsequent analysis and recognition. The dimension of the original region of interest map can be reduced by convolutional coding to obtain a more compact dynamic feature representation, which is conducive to subsequent processing and analysis. By extracting the dynamic feature maps of the mouth, left eye and right eye separately, they can be uniformly represented as an abstract form, which is conducive to the subsequent feature fusion and model training. After obtaining the dynamic feature maps of the mouth, left eye and right eye, they can be combined for comprehensive analysis to more comprehensively understand the driver's facial expression, attention state and other information.
[0056] further, Figure 4 FIG. 1 is a block diagram of a convolutional coding unit in an integrated digital video management system according to an embodiment of the present application. Figure 4 As shown, in the digital video processing module 120 of the above-mentioned integrated digital video management system 100, the convolution encoding unit 123 includes: a mouth input tensor subunit 1231, which is used to arrange the multiple mouth area of interest maps into a mouth input tensor and then obtain the mouth dynamic feature map by using a first convolutional neural network with a three-dimensional convolution kernel; a left eye input tensor subunit 1232, which is used to arrange the multiple left eye area of interest maps into a left eye input tensor by using a second convolutional neural network with a three-dimensional convolution kernel to obtain the left eye dynamic feature map; a right eye input tensor subunit 1233, which is used to arrange the multiple right eye area of interest maps into a right eye input tensor by using a third convolutional neural network with a three-dimensional convolution kernel to obtain the right eye dynamic feature map.
[0057] Specifically, the mouth input tensor subunit 1231 is used to arrange the multiple mouth interest region maps into a mouth input tensor and then obtain the mouth dynamic feature map by using the first convolutional neural network with a three-dimensional convolution kernel. It should be understood that the mouth is one of the parts of the face with important expression information. By arranging multiple mouth interest region maps into a mouth input tensor, the spatial information of the mouth area can be retained. The convolutional neural network using a three-dimensional convolution kernel can effectively extract features from the three-dimensional space, which helps to capture the dynamic features of the mouth area. The convolutional neural network is a powerful feature extractor that can gradually extract abstract features in the image through multi-layer convolution operations. For feature extraction of the mouth area, the use of the first convolutional neural network can help capture the specific dynamic features of the mouth and represent it as a mouth dynamic feature map. After arranging multiple mouth interest region maps into a mouth input tensor, they can be mapped to a mouth dynamic feature map of the corresponding dimension through a convolution operation, achieving dimensional matching and conversion, which is convenient for subsequent processing and analysis. Different drivers may have different mouth expression features. By processing the mouth separately, personalized feature extraction of the mouth area can be achieved to better reflect the dynamic features of the driver's mouth. Combining the mouth dynamic feature map with the dynamic feature maps of other facial areas can obtain more comprehensive facial dynamic feature information, which is helpful for comprehensive analysis and identification of the driver's facial expression and state. Accordingly, the mouth input tensor subunit is used to: use each layer of the three-dimensional convolutional neural network to perform convolution processing, pooling processing and nonlinear activation processing based on the three-dimensional convolution kernel on the input data in the forward transfer of the layer to output the mouth dynamic feature map by the last layer of the three-dimensional convolution kernel.
[0058] Specifically, the left eye input tensor subunit 1232 is used to arrange the multiple left eye region of interest maps into a left eye input tensor by using a second convolutional neural network with a three-dimensional convolution kernel to obtain the left eye dynamic feature map. It should be understood that the left eye is an important local area in the face and contains rich information, such as eye posture, blinking frequency, etc. By arranging multiple left eye region of interest maps into a left eye input tensor, the local features of the left eye area can be retained. The dynamic features of the left eye area can be extracted in a targeted manner using the second convolutional neural network. The convolutional neural network with a three-dimensional convolution kernel can effectively extract features from the three-dimensional space, which helps to capture the spatial structure and dynamic changes of the left eye area. In this way, the features of the left eye can be better understood, such as eye movements, blinking and other actions. After arranging multiple left eye region of interest maps into a left eye input tensor through a convolution operation, it can be converted into a left eye dynamic feature map of the corresponding dimension after being processed by the second convolutional neural network, thereby realizing feature mapping and extraction. Different drivers may have different left eye features. By processing the left eye separately, we can achieve personalized feature extraction of the left eye area and better reflect the dynamic features of the driver's left eye. Combining the left eye dynamic feature map with the dynamic feature maps of other facial areas can obtain more comprehensive facial dynamic feature information, which is helpful for comprehensive analysis and recognition of the driver's facial expression and state.
[0059] Specifically, the right eye input tensor subunit 1233 is used to arrange the multiple right eye region of interest maps into a right eye input tensor by using a third convolutional neural network with a three-dimensional convolution kernel to obtain the right eye dynamic feature map. It should be understood that the right eye is an important local area in the face and contains rich information, such as eye posture, blinking frequency, etc. By arranging multiple right eye region of interest maps into a right eye input tensor, the local features of the right eye area can be retained. The third convolutional neural network can be used to extract the dynamic features of the right eye area in a targeted manner. The convolutional neural network with a three-dimensional convolution kernel can effectively extract features from the three-dimensional space, which helps to capture the spatial structure and dynamic changes of the right eye area. In this way, the features of the right eye can be better understood, such as eye movements, blinking and other actions. After arranging multiple right eye region of interest maps into a right eye input tensor through a convolution operation, it can be converted into a right eye dynamic feature map of the corresponding dimension after being processed by the third convolutional neural network, thereby realizing feature mapping and extraction. Different drivers may have different right eye features. By processing the right eye separately, we can achieve personalized feature extraction of the right eye area and better reflect the dynamic features of the driver's right eye. Combining the right eye dynamic feature map with the dynamic feature maps of other facial areas can obtain more comprehensive facial dynamic feature information, which is helpful for comprehensive analysis and recognition of the driver's facial expression and state.
[0060] Accordingly, in a specific example of the present application, the feature fusion unit 124 is used to fuse the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map to obtain the driver's face correlation feature map. It should be understood that fusing the dynamic feature maps of the mouth, left eye and right eye can provide more comprehensive facial dynamic information. The mouth, left eye and right eye are important parts of the face, and their dynamic features reflect the different expressions and states of the driver. Comprehensive analysis of these features helps to understand the driver's facial behavior more comprehensively. Fusion of dynamic feature maps of different parts can help capture the correlation features between different facial regions. The correlation information between different facial regions is crucial to understanding the overall facial expression and state of the driver. Fusion of this information can improve the accuracy and comprehensiveness of the driver's state. By fusing the dynamic feature maps of the mouth, left eye and right eye, a comprehensive analysis of multiple key facial regions can be achieved. This helps to identify the synergy between different facial regions and improve the recognition ability of the driver's emotions, fatigue state, etc. The dynamic features of different facial regions are complementary, and they contain information at different levels and angles. Fusing these features together can make the final driver face-related feature map richer and more representative. Fusing the dynamic features of multiple facial regions can provide richer information for subsequent decisions. For example, decisions such as emotion recognition and fatigue detection can be made based on the driver face-related feature map, thereby improving driving safety and comfort. Specifically, the feature fusion unit is used to calculate the position-weighted sum of the mouth dynamic feature map, the left eye dynamic feature map, and the right eye dynamic feature map as the driver face-related feature map.
[0061] In the embodiment of the present application, the digital video high-dimensional feature module 130 is used to obtain a high-dimensional global correlation feature vector of the driver's face by passing the driver's facial correlation feature map through a non-local neural network model. It should be understood that the non-local neural network model can capture the long-distance dependencies between different spatial positions, which helps to establish the association between features in a global range. In this way, the global structure and association of the driver's facial features can be better understood, and more representative high-dimensional global correlation features can be extracted. There may be long-distance dependencies between different areas of the face, such as emotional expressions, micro-expressions, etc. between different parts of the face. The non-local neural network can effectively capture this long-distance dependency, which helps to comprehensively analyze the correlation features between different areas. By processing the driver's facial correlation feature map through the non-local neural network model, the correlation features of different parts can be effectively integrated to generate a more representative and distinguishing high-dimensional global correlation feature map. This helps to improve the abstract representation and understanding of the driver's facial features. The non-local neural network model can comprehensively consider the correlation information between different facial areas to achieve global analysis and comprehensive recognition of the driver's facial features. This comprehensive analysis helps to more accurately understand important information such as the driver's emotions and attention status. Generating a high-dimensional global correlation feature vector of the driver's face can provide a richer and more representative facial feature representation. This high-dimensional global correlation feature map can provide a more powerful feature representation for subsequent driver state analysis and decision-making.
[0062] Accordingly, in one embodiment of the present application, the digital video high-dimensional feature module 130 includes: a point convolution processing unit, which is used to perform a first point convolution processing, a second point convolution processing and a third point convolution processing on the driver's facial association feature map to obtain a first facial association feature map, a second facial association feature map and a third facial association feature map; a feature map position weighting unit, which is used to calculate the position weighted sum between the first facial association feature map and the second facial association feature map to obtain a fused feature map; a softmax function unit, which is used to input the fused feature map into a softmax function to map the feature values of each position in the fused feature map to a probability space to obtain a normalized fused feature map; a position point multiplication unit, which is used to calculate the normalized A re-fused feature map is obtained by multiplying the position points between the fused feature map and the third face-related feature map; a global similarity feature unit is used to embed the re-fused feature map into a Gaussian similarity function to obtain a global similarity feature map; a channel number adjustment unit is used to perform a fourth point convolution on the global similarity feature map to adjust the number of channels of the global similarity feature map to obtain a channel-adjusted global similarity feature map; a high-dimensional feature calculation unit is used to calculate the position-weighted sum of the channel-adjusted global similarity feature map and the driver's face-related feature map to obtain a high-dimensional global related feature vector of the driver's face; a driver's face high-dimensional feature pooling unit is used to pool the high-dimensional global related feature map of the driver's face to obtain a high-dimensional global related feature vector of the driver's face.
[0063] In the embodiment of the present application, the digital video optimization module 140 is used to optimize the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face. The digital video optimization module 140 includes: performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the high-dimensional global correlation feature vector of the driver's face to obtain an optimization factor; and using the optimization factor as a weight, weighting the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face.
[0064] In particular, the high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on auxiliary analysis of feature attribute layout to obtain an optimization factor, including: multiplying the high-dimensional global correlation feature vector of the driver's face with the classification weight matrix of the classifier to obtain a high-dimensional global correlation weight feature vector of the driver's face; cascading the high-dimensional global correlation feature vector of the driver's face and the high-dimensional global correlation weight feature vector of the driver's face to obtain a high-dimensional global correlation feature-weight information joint vector of the driver's face; passing the high-dimensional global correlation feature-weight information joint vector of the driver's face through a first fully connected layer and then through a sigmoid function to obtain a first activation output value; adding the high-dimensional global correlation feature vector of the driver's face and the high-dimensional global correlation weight feature vector of the driver's face by position to obtain a high-dimensional global correlation feature-weight information sum vector of the driver's face; and adding the high-dimensional global correlation feature vector of the driver's face to the high-dimensional global correlation weight information sum vector of the driver's face. The amount passes through the second fully connected layer and then through the sigmoid function to obtain a second activation output value; the mean of the first activation output value and the second activation output value is calculated, and 1 is subtracted from the mean to obtain a first weighting coefficient; the mean of the first activation output value and the second activation output value is calculated to obtain a second weighting coefficient; the natural exponential function value is calculated by raising the eigenvalue of the driver's face high-dimensional global association weight feature vector to a power to obtain a first-index driver's face high-dimensional global association weight feature vector; the natural exponential function value is calculated by raising the eigenvalue of the driver's face high-dimensional global association feature vector to a power to obtain a second-index driver's face high-dimensional global association feature vector; based on the first weighting coefficient and the second weighting coefficient, the weighted sum of the first-index driver's face high-dimensional global association weight feature vector and the second-index driver's face high-dimensional global association feature vector is calculated to obtain a weighted sum feature vector, and the bi-norm of the weighted sum feature vector is calculated to obtain an optimization factor.
[0065] More specifically, in the technical solution of the present application, considering that the features of the mouth, left eye and right eye are extracted from different regions, these regions may have differences in facial expressions, lighting conditions, facial orientation, etc., resulting in inconsistent distribution of feature vectors in high-dimensional space. Convolutional neural networks using three-dimensional convolution kernels are used for feature extraction. These networks are usually highly nonlinear and may result in complex and irregular distribution in feature space. There are significant differences in facial features of different drivers, including facial structure, expression habits, etc., and these differences may be difficult to uniformly represent in feature vectors. Factors such as lighting and camera angles in the monitoring environment will also affect feature extraction, resulting in inconsistent distribution of high-dimensional global correlation feature vectors of the driver's face. Due to the inconsistent distribution of high-dimensional global correlation feature vectors of the driver's face in high-dimensional space, it may be difficult for the classifier to find a clear decision boundary, thereby affecting the accuracy of classification. That is, the manifold geometric consistency of the overall feature distribution of the high-dimensional global correlation feature vector of the driver's face is poor, resulting in poor regression standardization relative to the class label of the classifier when it is classified and regressed through the classifier, affecting the accuracy of the classification result. Based on this, the high-dimensional global correlation feature vector of the driver's face is converted into the class label regression domain based on the auxiliary analysis of feature attribute layout.
[0066] The high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on a feature attribute layout auxiliary analysis to obtain an optimization factor, including: the high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on a feature attribute layout auxiliary analysis using the following optimization formula, wherein the optimization formula is: in, represents the high-dimensional global correlation feature vector of the driver's face, represents the classification weight matrix of the classifier, represents matrix multiplication, It means adding by position. represents a cascade function, represents the first weight matrix of the first fully connected layer, represents the first bias vector of the first fully connected layer, represents the first activation output value, represents the second weight matrix of the second fully connected layer, represents the second bias vector of the second fully connected layer, represents the second activation output value, represents the sigmoid function, represents the two-norm of a vector, Represents the optimization factor.
[0067] That is, in the technical solution of the present application, the manifold geometric consistency of the overall feature distribution of the high-dimensional global correlation feature vector of the driver's face is poor, resulting in poor standardization of the class label regression relative to the classifier when it is classified and regressed through the classifier, affecting the accuracy of the classification result. Therefore, in the technical solution of the present application, the high-dimensional global correlation feature vector of the driver's face is converted to the class label regression domain based on the auxiliary analysis of the feature attribute layout, which is performed by using the classification weight matrix of the classifier to perform an auxiliary analysis of the feature attribute layout of the high-dimensional global correlation feature vector of the driver's face, and the statistical norm of the differential features between the auxiliary analysis result and the original high-dimensional global correlation feature vector of the driver's face in the class high-dimensional space is used to perform backward correlation prediction, so as to improve the description significance of the improved high-dimensional global correlation feature vector of the driver's face to the class probability of the predetermined class of the classifier. In this way, maintaining the geometric consistency of the high-dimensional global correlation feature vector of the driver's face in the process of migration transformation to the class label regression domain of the classifier not only helps to reduce the regression bias in the classification process, but also can improve the generalization ability of the classifier to new data, and finally achieve more accurate classification results.
[0068] In the embodiment of the present application, the digital video analysis module 150 is used to pass the optimized driver's face high-dimensional global correlation feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the driver is in a fatigue state. It should be understood that the optimized driver's face high-dimensional global correlation feature vector contains rich facial feature information, and these complex feature representations can be converted into more intuitive classification results through a classifier. The classifier can learn how to best divide different feature spaces, thereby achieving accurate classification of fatigue states. The classifier can map complex high-dimensional features to simple decision spaces, making it more intuitive and operational to determine whether the driver is in a fatigue state. The classification result can serve as an important basis for decision makers to determine whether corresponding measures need to be taken. The classifier can learn the characteristic patterns of the driver's fatigue state, so that accurate predictions can be made in unknown situations. Through the classifier, the association between different facial features and fatigue states can be identified, thereby achieving automatic detection of fatigue states. The classifier can achieve real-time monitoring of the driver's state and timely discover possible fatigue states. This helps to improve driving safety and take necessary measures in time to avoid potential dangers. Based on the classification results, the system can automatically make corresponding decisions, such as reminding the driver to rest, adjusting the driving environment, etc., to ensure that the driver is in the best condition and reduce the risk of accidents.
[0069] Accordingly, in one embodiment of the present application, the digital video analysis module 150 includes: using the classifier to process the optimized driver's face high-dimensional global correlation feature vector using the following classification formula to obtain the classification result;
[0070] Among them, the classification formula is: ,in, arrive is the weight matrix, arrive is the bias vector, To optimize the high-dimensional global correlation feature vector of the driver’s face, represents the normalized exponential function, Indicates the classification result.
[0071] In summary, based on the integrated digital video management system and method of the embodiment of the present application, it obtains the driver's facial monitoring video, extracts key frames and performs target detection, uses a non-local neural network model to obtain the driver's face high-dimensional global correlation feature vector, and finally uses a classifier to obtain a classification result of whether the driver is in a fatigue state, thereby realizing timely fatigue driving detection and alarm, and improving the level of traffic safety.
[0072] As described above, the integrated digital video management system 100 according to the embodiment of the present application can be implemented in various terminal devices, such as a server of the integrated digital video management system. In one example, the integrated digital video management system 100 can be integrated into the terminal device as a software module and / or a hardware module. For example, the integrated digital video management system 100 can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the integrated digital video management system 100 can also be one of the many hardware modules of the terminal device.
[0073] Alternatively, in another example, the integrated digital video management system 100 and the terminal device may be separate devices, and the integrated digital video management system 100 may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in a predetermined data format.
[0074] Figure 5 FIG. 1 is a flow chart of an integrated digital video management method according to an embodiment of the present application. Figure 5As shown, the integrated digital video management method according to the embodiment of the present application includes the following steps: S110, obtaining a driver's face monitoring video; S120, extracting key frames from the driver's face monitoring video and performing target detection to obtain a driver's face correlation feature map; S130, passing the driver's face correlation feature map through a non-local neural network model to obtain a driver's face high-dimensional global correlation feature vector; S140, optimizing the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector; S150, The high-dimensional global correlation feature vector of the driver's face is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the driver is in a fatigue state; wherein the high-dimensional global correlation feature vector of the driver's face is optimized to obtain an optimized high-dimensional global correlation feature vector of the driver's face, including: performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the high-dimensional global correlation feature vector of the driver's face to obtain an optimization factor; and using the optimization factor as a weight, weighting the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face.
[0075] Here, those skilled in the art will appreciate that the specific operations of each step in the above-mentioned integrated digital video management method have been described in detail in the above reference. Figures 1 to 4 The integrated digital video management system has been described in detail, and therefore, its repeated description will be omitted.
[0076] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0078] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0080] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0081] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0082] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An integrated digital video management system, characterized in that: include: A digital video acquisition module is used to obtain driver's facial monitoring video; A digital video processing module, used for extracting key frames from the driver's face monitoring video and then performing target detection to obtain a driver's face related feature map; A digital video high-dimensional feature module, used for passing the driver's facial correlation feature map through a non-local neural network model to obtain a driver's facial high-dimensional global correlation feature vector; A digital video optimization module, used for optimizing the high-dimensional global correlation feature vector of the driver's face to obtain an optimized high-dimensional global correlation feature vector of the driver's face; A digital video analysis module, used for passing the optimized high-dimensional global correlation feature vector of the driver's face through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the driver is in a fatigue state; Wherein, the digital video optimization module includes: Performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the driver's face high-dimensional global correlation feature vector to obtain an optimization factor; and Using the optimization factor as a weight, weighting the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector; Among them, the high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on the auxiliary analysis of feature attribute layout to obtain the optimization factor, including: Multiplying the driver's face high-dimensional global correlation feature vector with a classification weight matrix of a classifier to obtain a driver's face high-dimensional global correlation weight feature vector; Cascading the driver's face high-dimensional global correlation feature vector and the driver's face high-dimensional global correlation weight feature vector to obtain a driver's face high-dimensional global correlation feature-weight information joint vector; Passing the high-dimensional global correlation feature-weight information joint vector of the driver's face through the first fully connected layer and then through the sigmoid function to obtain a first activation output value; Adding the driver's face high-dimensional global correlation feature vector and the driver's face high-dimensional global correlation weight feature vector according to position to obtain a driver's face high-dimensional global correlation feature-weight information sum vector; Passing the high-dimensional global correlation feature-weight information sum vector of the driver's face through the second fully connected layer and then through the sigmoid function to obtain a second activation output value; Calculating a mean of the first activation output value and the second activation output value, and subtracting the mean from 1 to obtain a first weighting coefficient; Calculating a mean of the first activation output value and the second activation output value to obtain a second weighting coefficient; Calculate the natural exponential function value by raising the eigenvalue of the driver's face high-dimensional global association weight feature vector to a power to obtain a first exponent driver's face high-dimensional global association weight feature vector; Calculate the natural exponential function value by raising the eigenvalue of the driver's face high-dimensional global correlation feature vector to a power to obtain a second exponential driver's face high-dimensional global correlation feature vector; Based on the first weighting coefficient and the second weighting coefficient, the weighted sum of the first index driver face high-dimensional global correlation weight feature vector and the second index driver face high-dimensional global correlation feature vector is calculated to obtain a weighted sum feature vector, and the bi-norm of the weighted sum feature vector is calculated to obtain an optimization factor.
2. The integrated digital video management system according to claim 1, characterized in that: The digital video processing module comprises: A key frame extraction unit, used for extracting a plurality of mouth key frames, a plurality of left eye key frames and a plurality of right eye key frames from the driver face monitoring video at a predetermined sampling frequency; an object detection unit, configured to obtain a plurality of mouth region-of-interest maps, a plurality of left-eye region-of-interest maps, and a plurality of right-eye region-of-interest maps from the plurality of mouth key frames, the plurality of left-eye key frames, and the plurality of right-eye key frames through object detection, respectively; A convolutional coding unit, configured to perform convolutional coding on the multiple mouth region of interest maps, the multiple left eye region of interest maps, and the multiple right eye region of interest maps to obtain a mouth dynamic feature map, a left eye dynamic feature map, and a right eye dynamic feature map; A feature fusion unit is used to fuse the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map to obtain the driver's face related feature map.
3. The integrated digital video management system according to claim 2, characterized in that: The target detection unit comprises: A mouth target detection subunit, configured to pass the plurality of mouth key frames through a mouth target detection network respectively to obtain the plurality of mouth regions of interest; A left eye target detection subunit, configured to pass the plurality of left eye key frames through a left eye target detection network respectively to obtain the plurality of left eye regions of interest; The right eye target detection subunit is used to pass the multiple right eye key frames through the right eye target detection network respectively to obtain the multiple right eye regions of interest.
4. The integrated digital video management system according to claim 3, characterized in that: The convolutional coding unit comprises: A mouth input tensor subunit, used for arranging the plurality of mouth region of interest maps into a mouth input tensor and obtaining the mouth dynamic feature map by using a first convolutional neural network with a three-dimensional convolution kernel; A left eye input tensor subunit, used for arranging the plurality of left eye region of interest maps into a left eye input tensor by using a second convolutional neural network with a three-dimensional convolution kernel to obtain the left eye dynamic feature map; The right eye input tensor subunit is used to arrange the multiple right eye area of interest maps into a right eye input tensor by using a third convolutional neural network with a three-dimensional convolution kernel to obtain the right eye dynamic feature map.
5. The integrated digital video management system according to claim 4, characterized in that: The mouth input tensor subunit is used to: use each layer of the three-dimensional convolutional neural network to perform convolution processing, pooling processing and nonlinear activation processing based on the three-dimensional convolution kernel on the input data in the forward transmission of the layer, so as to output the mouth dynamic feature map by the last layer of the three-dimensional convolution kernel.
6. The integrated digital video management system according to claim 5, characterized in that: The feature fusion unit is used to calculate the position-weighted sum of the mouth dynamic feature map, the left eye dynamic feature map and the right eye dynamic feature map as the driver's face-related feature map.
7. The integrated digital video management system according to claim 6, characterized in that: The digital video high-dimensional feature module comprises: A point convolution processing unit, used for performing a first point convolution processing, a second point convolution processing and a third point convolution processing on the driver's facial association feature map to obtain a first facial association feature map, a second facial association feature map and a third facial association feature map; a feature map position weighting unit, configured to calculate a position weighted sum between the first face-associated feature map and the second face-associated feature map to obtain a fused feature map; A softmax function unit is used to input the fused feature map into a softmax function to map the feature values of each position in the fused feature map to a probability space to obtain a normalized fused feature map; A position point multiplication unit, used for calculating the position point multiplication between the normalized fused feature map and the third face-related feature map to obtain a re-fused feature map; A global similarity feature unit, used for embedding the re-fused feature map into a Gaussian similarity function to obtain a global similarity feature map; A channel number adjustment unit, used for performing a fourth point convolution process on the global similarity feature map to adjust the number of channels of the global similarity feature map to obtain a channel-adjusted global similarity feature map; A high-dimensional feature calculation unit is used to calculate the position-weighted sum of the channel-adjusted global similarity feature map and the driver's face correlation feature map to obtain a high-dimensional global correlation feature map of the driver's face; The driver's face high-dimensional feature pooling unit is used to pool the driver's face high-dimensional global correlation feature map to obtain the driver's face high-dimensional global correlation feature vector.
8. The integrated digital video management system according to claim 7, characterized in that: The digital video analysis module is used to: use the classifier to process the optimized driver's facial high-dimensional global correlation feature vector using the following classification formula to obtain the classification result; wherein the classification formula is: ,in, arrive is the weight matrix, arrive is the bias vector, To optimize the high-dimensional global correlation feature vector of the driver’s face, represents the normalized exponential function, Indicates the classification result.
9. An integrated digital video management method, characterized in that: include: Obtain driver's facial surveillance video; Extracting key frames from the driver's face monitoring video and performing target detection to obtain a driver's face related feature map; The driver's facial correlation feature map is passed through a non-local neural network model to obtain a high-dimensional global correlation feature vector of the driver's face; Optimizing the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector; Passing the optimized high-dimensional global correlation feature vector of the driver's face through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the driver is in a fatigue state; The step of optimizing the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector comprises: Performing a class label regression domain conversion based on feature attribute layout auxiliary analysis on the driver's face high-dimensional global correlation feature vector to obtain an optimization factor; and Using the optimization factor as a weight, weighting the driver's face high-dimensional global correlation feature vector to obtain an optimized driver's face high-dimensional global correlation feature vector; Among them, the high-dimensional global correlation feature vector of the driver's face is converted into a class label regression domain based on the auxiliary analysis of feature attribute layout to obtain the optimization factor, including: Multiplying the driver's face high-dimensional global correlation feature vector with a classification weight matrix of a classifier to obtain a driver's face high-dimensional global correlation weight feature vector; Cascading the driver's face high-dimensional global correlation feature vector and the driver's face high-dimensional global correlation weight feature vector to obtain a driver's face high-dimensional global correlation feature-weight information joint vector; Passing the high-dimensional global correlation feature-weight information joint vector of the driver's face through the first fully connected layer and then through the sigmoid function to obtain a first activation output value; Adding the driver's face high-dimensional global correlation feature vector and the driver's face high-dimensional global correlation weight feature vector according to position to obtain a driver's face high-dimensional global correlation feature-weight information sum vector; Passing the high-dimensional global correlation feature-weight information sum vector of the driver's face through the second fully connected layer and then through the sigmoid function to obtain a second activation output value; Calculating a mean of the first activation output value and the second activation output value, and subtracting the mean from 1 to obtain a first weighting coefficient; Calculating a mean of the first activation output value and the second activation output value to obtain a second weighting coefficient; Calculate the natural exponential function value by raising the eigenvalue of the driver's face high-dimensional global association weight feature vector to a power to obtain a first exponent driver's face high-dimensional global association weight feature vector; Calculate the natural exponential function value by raising the eigenvalue of the driver's face high-dimensional global correlation feature vector to a power to obtain a second exponential driver's face high-dimensional global correlation feature vector; Based on the first weighting coefficient and the second weighting coefficient, the weighted sum of the first index driver face high-dimensional global correlation weight feature vector and the second index driver face high-dimensional global correlation feature vector is calculated to obtain a weighted sum feature vector, and the bi-norm of the weighted sum feature vector is calculated to obtain an optimization factor.
Citation Information
Patent Citations
Muck truck transportation management system and management method thereof
CN115311609A
