Abnormal driving state recognition method based on global-local selection scale attention
Through the selective scale attention method that combines global and local features in the identification of abnormal driving conditions, the convolution features and fusion scale features of video frames are extracted, which solves the problem of insufficient global features in the existing technology and improves the identification of abnormal driving behaviors. Accuracy.
Patent Information
- Application Number
- CN202410699447.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing abnormal driving state recognition methods only use global image features and cannot make full use of image information, resulting in low recognition accuracy.
A method based on global-local selective scale attention is used to extract video frame convolution features, fuse scale global features and local features, and combine with the Transformer model to calculate fusion scale global and local attention features for identifying abnormal driving behaviors.
It improves the recognition accuracy of abnormal driving conditions, can make better use of image information, pay attention to local detailed features of specific scales of drivers, and identify abnormal conditions such as distraction and fatigue.
Smart Images

Figure CN118537844A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of state recognition information technology, and in particular to a method for identifying abnormal driving states based on global-local selective scale attention. Background Art
[0002] With the rapid development of the automotive industry and the increasing adoption of intelligent transportation systems, road traffic safety is receiving increasing attention. Abnormal driving behavior, such as distracted and fatigued driving, is one of the main causes of frequent traffic accidents. Traditional traffic monitoring and management methods often rely on manual patrols and camera surveillance, but these methods suffer from inefficiency and slow response, making it difficult to effectively identify and address abnormal driving behavior in real time. Therefore, it is particularly important to develop an algorithm that can automatically and in real time detect abnormal driving behavior. The research and application of abnormal driving detection algorithms can not only improve road traffic safety and reduce the occurrence of traffic accidents, but also provide traffic management departments with scientific and efficient data support to optimize traffic management and planning.
[0003] In the field of driver fatigue behavior detection, people have proposed many methods to deal with this problem. Chinese patent application publication number CN117831007A "A fatigue driving detection method based on driver's facial time series sequence" proposes a detection method using facial key points. This method uses key points to calculate the fatigue feature parameter time series sequence over time, and inputs the time series sequence into the Transformer model to obtain the final fatigue status result. Chinese patent application publication number CN117789181A "Driving fatigue detection method and system based on lightweight neural network image enhancement" proposes a detection method using a lightweight convolutional network. This method inputs a facial image stream into a preset facial key feature point extraction network model, extracts the facial key feature points of each frame of the facial image stream, and judges whether the driver is fatigued based on the facial key feature points.
[0004] However, in the process of identifying abnormal driving conditions, the above patent only uses global image features, which cannot fully utilize the image information and has low accuracy. This article also adds local image features to the network and uses global-local information to improve accuracy. Summary of the Invention
[0005] The purpose of the present invention is to remedy the defects of the existing technology and provide a method for identifying abnormal driving states based on global-local selective scale attention.
[0006] The present invention is achieved through the following technical solutions:
[0007] A method for identifying abnormal driving states based on global-local selective scale attention specifically includes the following steps:
[0008] S1: Extract convolutional features of video frames;
[0009] S2: Extract fusion scale global features;
[0010] S3: Extract fusion scale local features;
[0011] S4: Training abnormal driving behavior detection model;
[0012] S5: Detect abnormal driving behavior.
[0013] The specific content of extracting the video frame convolution features described in step S1 is as follows:
[0014] S1-1: During driving, use an infrared camera located in front of the driver's right side to obtain a video set of the driver's driving behavior and input a video of abnormal driving behavior;
[0015] S1-2: Constructing a video frame set of abnormal driving behavior;
[0016] S1-2-1: Divide the video into multiple non-overlapping frames;
[0017] S1-2-2: Randomly sample each segment to obtain a video frame set n ={I n,p}, n=1,...,N, p=1,...,P; and crop the image of the video frame set to a size of H×W;
[0018] S1-2-3: Label all video frames with the true value of abnormal driving behavior 1 means the driver is driving normally. 2 means the driver is driving while fatigued. A value of 3 indicates that the driver is distracted;
[0019] S1-3: Use the ResNet50 model to extract the convolutional features X of the video frame:
[0020] X=ResNet(I n,p ).
[0021] The extraction and fusion of scale global features described in step S2 is as follows:
[0022] S2-1: Divide the global area and use the convolution feature X as the global information input, where the global area is the entire image;
[0023] S2-2: Extract global attention features at each scale;
[0024] S2-2-1: Extracting single-scale global attention features, calculated based on the Transformer model
[0025] Query, Key, Value:
[0026]
[0027] Among them, W q ,W k ,W v is the parameter matrix;
[0028] S2-2-2: Calculate the global attention features of a single scale:
[0029]
[0030] Where T is the transpose and d is the dimension;
[0031] S2-2-3: Extract the global attention features of each scale, and downsample the input convolution feature X three times to obtain the scales of Repeat step S2-2-2 to obtain the global attention features of each scale Where s = {S1, S2, S3, S4}, S1 = H × W is scale 1, For scale two, For scale three, is scale 4, H×W is the image size;
[0032] S2-3: Using the global attention features of the four scales S1, S2, S3, and S4, calculate the fusion scale global cross attention:
[0033]
[0034] Among them, Conv is the convolution with a kernel size of 1×1, and GAP is the global average pooling;
[0035] S2-4: Calculate the global cross attention of the four scales S1, S2, S3, and S4:
[0036]
[0037] Among them, Conv is 1×1 convolution;
[0038] S2-5: Calculate the selected scale global attention features of the four scale features S1, S2, S3, and S4:
[0039]
[0040] Where, · is the dot product;
[0041] S2-6: Using the selected scale global attention features of the four scale features, extract the fusion scale global attention features:
[0042]
[0043] Among them, Concat is a concatenation operation and upsampling is upsampling.
[0044] The specific contents of extracting and fusing scale local features described in step S3 are as follows:
[0045] S3-1: Input the convolution feature X of all video frames, and divide the convolution feature X into 4 local features of equal size. Block i = {1, 2, 3, 4}, where block 1 represents the upper left corner of the video frame, block 2 represents the upper right corner, block 3 represents the lower left corner, and block 4 represents the lower right corner;
[0046] S3-2: For the local blocks divided above, apply the multi-scale local attention mechanism to extract important local information, that is, extract the local attention features of each scale:
[0047] S3-2-1: Based on the Transformer model, calculate the query, key, and value.
[0048]
[0049] Among them, W q,i ,W k,i ,W v,i is the parameter matrix;
[0050] S3-2-2: For the local blocks divided in S3-1, calculate the local attention features of each local block i:
[0051]
[0052] Among them, T is transpose and softmax is a linear function;
[0053] S3-2-3: Extract attention features of each scale of each local block:
[0054] The features After three downsamplings, the scale sizes are Repeat step S3-2-2 to obtain the local attention features of each block at each scale where s′={s1,s2,s3,s4}, For scale one, For scale two, For scale three, For scale four;
[0055] S3-3: For each scale of the divided local block, calculate the local cross attention of the fusion scale of the i-th local block:
[0056]
[0057] Among them, Conv is convolution and GAP is global average pooling;
[0058] S3-4: Calculate the global cross attention of the i-th local block feature at the four scales s1, s2, s3, and s4, that is, extract the selected scale local cross attention:
[0059]
[0060] Among them, Conv is 1×1 convolution;
[0061] S3-5: Calculate the selected scale local attention feature of the i-th local block:
[0062]
[0063] Where, · is the dot product, s′ represents the four scales, s′={s1,s2,s3,s4};
[0064] S3-6: Calculate the fused scale local features of the i-th scale, and then splice the fused scale local features of the four local blocks into the original image size features:
[0065]
[0066] Among them, X L,f is the feature after the four blocks are spliced together, add i To concatenate the four block features, Concat is concatenation and upsampling is upsampling.
[0067] The specific contents of the abnormal driving behavior detection model training described in step S4 are as follows:
[0068] S4-1: Input abnormal driving behavior video set;
[0069] S4-2: Execute step S1 to segment, sample, and extract features from the video set obtained in S4-1 to obtain convolution features X;
[0070] S4-3: Execute step S2 to extract the fusion scale global feature X from the video frame convolution feature X obtained in S4-2 G,f ;
[0071] S4-4: Execute step S3 to extract the fused scale local feature X from the video frame convolution feature X obtained in S4-2 L,f ;
[0072] S4-5: Extracting fusion scale global and local features X G,L,f :
[0073] X G,L,f =Concat(X G,f ,X L,f )
[0074] S4-6: Calculate the abnormal driving behavior prediction score:
[0075] score=Softmax(FC(X G,L,f )),
[0076] Among them, Softmax is the activation function and FC is the fully connected layer;
[0077] S4-7: Calculate the loss value Loss:
[0078]
[0079] in, is the true label of abnormal driving behavior;
[0080] S4-8: Use the loss value Loss as the gradient, calculate the gradient based on the loss, backpropagate the gradient to each layer of the model through the chain rule, and use the optimizer to update the model parameters based on the gradient; when the training is completed, obtain the optimal parameter set of the model.
[0081] The specific contents of detecting abnormal driving behavior in step S5 are as follows:
[0082] S5-1: Input abnormal behavior test video set;
[0083] S5-2: Execute step S1 to segment, sample, and extract features from the video set obtained in S5-1 to obtain video frame convolution features X;
[0084] S5-3: Execute step S2 using the model with trained parameters, obtain a set of abnormal driving behavior video frames from S5-2, and execute step S1-3 to extract convolution features of the video frames;
[0085] S5-4: Execute step S3, and extract fusion-scale global features using the trained parameters for the video frame features obtained in S5-3;
[0086] S5-5: Execute step S4, use the trained parameters to extract the fusion scale local features for the convolution features obtained in S5-3;
[0087] S5-6: Execute step S4-5, use the trained parameters, and fuse the fused scale global features and fused scale local features obtained in steps S5-4 and S5-5 to obtain fused multi-scale global and local features;
[0088] S5-7: Execute step S4-6 to calculate the abnormal driving behavior prediction score;
[0089] S5-8: The abnormal driving behavior is scored and the highest score is regarded as the abnormal driving behavior.
[0090] The advantages of the present invention are as follows: when using local processing, the present invention first performs grid division to obtain the local area of the head, generates a multi-scale local image, calculates the selective attention of each scale of the local image features, and finally obtains the local features of each scale fused together. The present invention focuses on the selection process of multi-scale attention, which can pay attention to the local detailed features of the driver at a specific scale, and is used to identify abnormal states such as distraction and fatigue. Based on the Transformer, the present invention adds global-local selective scale attention, and by selecting and fusing scale global features with scale local features, it better utilizes all image information, thereby improving the recognition accuracy of abnormal driving conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 Flowchart of abnormal driving state recognition based on global-local selection scale attention;
[0092] Figure 2 Flowchart for extracting convolutional features of video frames;
[0093] Figure 3 Flowchart for extracting and fusing global features;
[0094] Figure 4 Flowchart for extracting fusion scale local features;
[0095] Figure 5 Flowchart for training abnormal driving behavior detection model;
[0096] Figure 6 Flowchart for detecting abnormal driving behavior. DETAILED DESCRIPTION
[0097] like Figure 1 As shown, a method for identifying abnormal driving states based on global-local selective scale attention specifically includes the following steps:
[0098] S1: Extract convolutional features of video frames;
[0099] S1-1: During driving, use the infrared camera located in front of the driver to obtain the driver's driving behavior video set, and input the abnormal driving behavior video, such as Figure 2 As shown;
[0100] S1-2: Constructing a video frame set of abnormal driving behavior;
[0101] S1-2-1: Divide the video into multiple non-overlapping frames;
[0102] S1-2-2: Randomly sample each segment to obtain a video frame set n ={I n,p},n=1,...,N,p=1,...,P; where I n,p Represents the p-th frame image of the n-th video clip; and crops the image of the video frame set to a size of H×W;
[0103] S1-2-3: Label all video frames with the true value of abnormal driving behavior 1 means the driver is driving normally. 2 means the driver is driving while fatigued. A value of 3 indicates that the driver is distracted;
[0104] S1-3: Use the ResNet50 model to extract the convolutional features X of the video frame:
[0105] X=ResNet(I n,t )
[0106] S2: Extract fusion scale global features, such as Figure 3 As shown;
[0107] S2-1: Divide the global region and input the feature X as global information, where the global region is the entire image;
[0108] S2-2: Extract global attention features at each scale;
[0109] S2-2-1: Extract single-scale global attention features and calculate Query, Key, and Value based on the Transformer model:
[0110]
[0111] Among them, W q ,W k ,W v is the parameter matrix;
[0112] S2-2-2: Calculate the global attention features of a single scale (GlobalAttentionFeatures):
[0113]
[0114] Where T is the transpose and d is the dimension;
[0115] S2-2-3: Extract the global attention features of each scale, and downsample the input X three times to obtain the scales of Repeat step S2-2-2 to get the Global Attention of each Scale feature Where s = {S1, S2, S3, S4}, S1 = H × W is scale 1, For scale two, For scale three, is scale 4, H×W is the image size;
[0116] S2-3: Using the global attention features of the four scales S1, S2, S3, and S4, calculate the fusion-scale global cross-attention (Fusion-Scale for Global Cross-Attention):
[0117]
[0118] Among them, Conv is the convolution with a kernel size of 1×1, and GAP is the global average pooling;
[0119] S2-4: Calculate the global cross-attention of the four scales S1, S2, S3, and S4 (Select-Scale Global Cross-Attention):
[0120]
[0121] Among them, Conv is 1×1 convolution,
[0122] S2-5: Calculate the Select-Scale Global Attention Features of the four scale features S1, S2, S3, and S4:
[0123]
[0124] Where, · is the dot product;
[0125] S2-6: Extract fusion-scale global attention features using the selected scale global attention features of the four scale features:
[0126]
[0127] Among them, Concat is a concatenation operation, and upsampling is upsampling;
[0128] S3: Extract fusion scale local features;
[0129] S3-1: Input all video frame features X, and divide feature X into 4 local features of equal size Block i = {1, 2, 3, 4}, where block 1 represents the upper left corner of the video frame, block 2 represents the upper right corner, block 3 represents the lower left corner, and block 4 represents the lower right corner. Figure 4 Local area shown;
[0130] S3-2: For the above divided local blocks, a multi-scale local attention mechanism is applied to extract important local information, that is, to extract local attention features at each scale:
[0131] S3-2-1: Based on the Transformer model, calculate the query, key, and value.
[0132]
[0133] Among them, W q,i ,W k,i ,W v,i is the parameter matrix;
[0134] S3-2-2: For the local blocks divided in S3-1, calculate the local attention features (LocalAttentionFeatures) of each local block i:
[0135]
[0136] Among them, T is transpose and softmax is a linear function;
[0137] S3-2-3: Extract attention features of each scale of each local block:
[0138] The features After three downsamplings, the scale sizes are Repeat step S3-2-2 to obtain the local attention features of each block at each scale where s′={s1,s2,s3,s4}, For scale one, For scale two, For scale three, For scale four;
[0139] S3-3: For each scale of the divided local block, calculate the fusion-scale local cross-attention of the i-th local block:
[0140]
[0141] Among them, Conv is convolution and GAP is global average pooling;
[0142] S3-4: Calculate the global cross-attention of the i-th local block feature at the four scales s1, s2, s3, and s4, that is, extract the Select-Scale Local Cross-Attention:
[0143]
[0144] Among them, Conv is 1×1 convolution;
[0145] S3-5: Calculate the Select-Scale Local Attention Features of the i-th local block:
[0146]
[0147] Where, · is the dot product, s′ represents the four scales, s′={s1,s2,s3,s4};
[0148] S3-6: Calculate the fusion-scale local features of the i-th scale, and then splice the fusion-scale local features of the four local blocks into the original image size features, such as Figure 4 As shown:
[0149]
[0150] Among them, X L,f is the feature after the four blocks are spliced together, add i To concatenate the four block features, Concat is concatenation and upsampling is upsampling;
[0151] S4: Train abnormal driving behavior detection model, such as Figure 5 As shown;
[0152] S4-1: Input abnormal driving behavior video set;
[0153] S4-2: Execute step S1 to segment, sample, and extract features from the video set obtained in S4-1 to obtain feature X;
[0154] S4-3: Execute step S2 to extract the fusion scale global feature X from the video frame feature X obtained in S4-2 G,ff ;
[0155] S4-4: Execute step S3 to extract fusion-scale local features X from the video frame features X obtained in S4-2 L,f ;
[0156] S4-5: Extracting fusion scale global and local features X G,L,f :
[0157] X G,L,f =Concat(X G,f ,X L,f )
[0158] S4-6: Calculate the abnormal driving behavior prediction score:
[0159] score=Softmax(FC(X G,L,f )),
[0160] Among them, Softmax is the activation function and FC is the fully connected layer;
[0161] S4-7: Calculate the loss value Loss:
[0162]
[0163] in, is the true label of abnormal driving behavior;
[0164] S4-8: Use the loss value as the gradient, calculate the gradient based on the loss, propagate the gradient back to each layer of the model using the chain rule, and use the optimizer to update the model parameters based on the gradient. When training is complete, the optimal set of model parameters is obtained.
[0165] S5: Detect abnormal driving behavior, such as Figure 6 As shown;
[0166] S5-1: Input abnormal behavior test video set;
[0167] S5-2: Execute step S1 to segment, sample, and extract features from the video set obtained in S5-1 to obtain a video frame X;
[0168] S5-3: Execute step S2 using the model with trained parameters, obtain the abnormal driving behavior video frame set in S5-2, and execute step S1-3 to extract video frame features;
[0169] S5-4: Execute step S3, and extract fusion-scale global features using the trained parameters for the video frame features obtained in S5-3;
[0170] S5-5: Execute step S4, use the trained parameters to extract the fusion scale local features for the convolution features obtained in S5-3;
[0171] S5-6: Execute step S4-5, use the trained parameters, and fuse the fused scale global features and fused scale local features obtained in steps S5-4 and S5-5 to obtain fused multi-scale global and local features;
[0172] S5-7: Execute step S4-6 to calculate the abnormal driving behavior prediction score;
[0173] S5-8: The abnormal driving behavior is scored and the highest score is regarded as the abnormal driving behavior.
Claims
1. A method for identifying abnormal driving states based on global-local selective scale attention, characterized in that: The specific steps include: S1: extract video frame convolution features; S2: Extract fusion scale global features; S3: Extract fusion scale local features; S4: Training abnormal driving behavior detection model; S5: Detect abnormal driving behavior.
2. The abnormal driving state recognition method based on global-local selective scale attention according to claim 1, characterized in that: The specific contents of extracting the video frame convolution features described in step S1 are as follows: S1-1: During driving, use an infrared camera located in front of the right side of the driver to obtain a video set of the driver's driving behavior and input a video of abnormal driving behavior; S1-2: Construct abnormal driving behavior video frame set; S1-2-1: Divide the video into multiple non-overlapping segments; S1-2-2: Randomly sample each segment to obtain a video frame set n = {I n,p },n=1,...,N,p=1,...,P; where I n,p Represents the p-th frame image of the n-th video clip; and crops the image of the video frame set to a size of H×W; S1-2-3: Label all video frames with the true value of abnormal driving behavior 1 means the driver is driving normally. 2 means the driver is driving while fatigued. 3 means the driver is distracted; S1-3: Use the ResNet50 model to extract the convolutional features X of the video frame: X=ResNet(I n,p )。 3. The abnormal driving state recognition method based on global-local selective scale attention according to claim 2 is characterized in that: The specific contents of extracting the fusion scale global features described in step S2 are as follows: S2-1: Divide the global area and use the convolution feature X as the global information input, where the global area is the entire image; S2-2: Extract global attention features at each scale; S2-2-1: Extracting single-scale global attention features, calculated based on the Transformer model Query, Key, Value: Among them, W q ,W k ,W v is the parameter matrix; S2-2-2: Calculate the global attention features of a single scale: Where T is the transpose and d is the dimension; S2-2-3: Extract the global attention features of each scale, and downsample the input convolution feature X three times to obtain the scales of Repeat step S2-2-2 to obtain the global attention features of each scale Where s = {S1, S2, S3, S4}, S1 = H × W is scale 1, For scale two, For scale three, is scale 4, H×W is the image size; S2-3: Using the global attention features of the four scales S1, S2, S3, and S4, calculate the fusion scale global cross attention: Among them, Conv is a convolution with a kernel size of 1×1, and GAP is a global average pooling; S2-4: Calculate the global cross attention of the four scales S1, S2, S3, and S4: Among them, Conv is 1×1 convolution; S2-5: Calculate the selected scale global attention features of the four scale features S1, S2, S3, and S4: Where, · is the dot product; S2-6: Use the selected scale global attention features of the four scale features to extract the fusion scale global attention features: Among them, Concat is a concatenation operation and upsampling is upsampling.
4. The abnormal driving state recognition method based on global-local selective scale attention according to claim 3 is characterized by: The specific contents of extracting and fusing the scale local features described in step S3 are as follows: S3-1: Input the convolution feature X of all video frames, and divide the convolution feature X into four local features of equal size. Block i = {1, 2, 3, 4}, where block 1 represents the upper left corner of the video frame, block 2 represents the upper right corner, block 3 represents the lower left corner, and block 4 represents the lower right corner; S3-2: For the above divided local blocks, apply the multi-scale local attention mechanism to extract important local information, that is, extract the local attention features of each scale: S3-2-1: Based on the Transformer model, calculate the query, key, and value. Among them, W q,i ,W k,i ,W v,i is the parameter matrix; S3-2-2: For the local blocks divided in S3-1, calculate the local attention features of each local block i: Among them, T is transposed, and softmax is a linear function; S3-2-3: Extract the attention features of each scale of each local block: The characteristics After three downsamplings, the scale sizes are Repeat step S3-2-2 to obtain the local attention features of each block at each scale where s′={s1,s2,s3,s4}, For scale one, For scale two, For scale three, for scale four; S3-3: For each scale of local attention features of each divided local block, calculate the local cross attention of the fusion scale of the i-th local block: Among them, Conv is convolution, GAP is global average pooling; S3-4: Calculate the global cross attention of the i-th local block feature at the four scales s1, s2, s3, and s4, that is, extract the selected scale local cross attention: Among them, Conv is 1×1 convolution; S3-5: Calculate the selected scale local attention feature of the i-th local block: Where, · is the dot product, s′ represents four scales, s′={s1,s2,s3,s4}; S3-6: Calculate the fused scale local features of the i-th scale, and then concatenate the fused scale local features of the four local blocks into the original image size features: Among them, X L,f is the feature after the four blocks are spliced together, add i To concatenate the four block features, Concat means concatenation and upsampling means upsampling.
5. The abnormal driving state recognition method based on global-local selective scale attention according to claim 4 is characterized in that: The specific contents of the abnormal driving behavior detection model training described in step S4 are as follows: S4-1: Input abnormal driving behavior video set; S4-2: Execute step S1, segment, sample and extract features from the video set obtained in S4-1 to obtain convolution feature X; S4-3: Execute step S2 to extract the fusion scale global feature X from the video frame convolution feature X obtained in S4-2 G,f ; S4-4: Execute step S3 to extract the fused scale local feature X from the video frame convolution feature X obtained in S4-2 L,f ; S4-5: Extracting fusion scale global and local features X G,L,f : X G,L,f =Concat(X G,f ,X L,f ) S4-6: Calculate the abnormal driving behavior prediction score: score=Softmax(FC(X G,L,f )), Among them, Softmax is the activation function and FC is the fully connected layer; S4-7: Calculate the loss value Loss: in, is the true label of abnormal driving behavior; S4-8: Use the loss value Loss as the gradient, calculate the gradient based on the loss, backpropagate the gradient to each layer of the model through the chain rule, and use the optimizer to update the model parameters according to the gradient; when the training is completed, the optimal parameter set of the model is obtained.
6. The abnormal driving state recognition method based on global-local selective scale attention according to claim 5 is characterized by: The abnormal driving behavior detection described in step S5 is specifically as follows: S5-1: Input abnormal behavior test video set; S5-2: Execute step S1, segment, sample and extract features from the video set obtained in S5-1 to obtain the video frame convolution feature X; S5-3: Execute step S2 using the model with trained parameters, obtain a set of abnormal driving behavior video frames from S5-2, execute step S1-3, and extract convolution features of the video frames; S5-4: Execute step S3, and extract fusion scale global features using the trained parameters for the video frame features obtained in S5-3; S5-5: Execute step S4, and use the trained parameters to extract the fusion scale local features for the convolution features obtained in S5-3; S5-6: Execute step S4-5, use the trained parameters, fuse steps S5-4 and S5-5 to obtain fused scale global features and fused scale local features, and obtain fused multi-scale global and local features; S5-7: Execute step S4-6 to calculate the abnormal driving behavior prediction score; S5-8: Based on the abnormal driving behavior scores, the highest score is regarded as the abnormal driving behavior.
Citation Information
Patent Citations
Driver attention prediction method based on multi-scale fusion
CN116824540A
Dangerous driving behavior detection method based on multi-scale dynamic convolution attention weighting
CN117576666A
Driver fatigue detection method and system based on combining a pseudo-3d convolutional neural network and an attention mechanism
US20230154207A1
Cited By
Video anomaly detection method based on Mask grid stability
CN121259736A
