Multi-feature fusion algorithm for pedestrian intention recognition
Through a multi-feature fusion algorithm, combining spatiotemporal features and physical features of the picture, and using LSTM and attention mechanism module weighting processing, it solves the problems of insufficient generalization ability and large computing resource usage of pedestrian intention recognition in the existing technology, and achieves high accuracy. Efficient and efficient pedestrian intention prediction.
Patent Information
- Application Number
- CN202410567040.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-09
AI Technical Summary
Existing pedestrian intention recognition technology has insufficient generalization capabilities due to a single feature input and deep network structure, cannot fully capture dynamic environment and contextual information, and consumes a large amount of computing resources, making it difficult to achieve high-accuracy prediction of pedestrian intentions.
A multi-feature fusion algorithm is used to extract spatio-temporal features, physical features of the picture, combined with traditional machine learning and shallow networks, and use LSTM and attention mechanism module weighting processing to improve the accuracy and computational efficiency of pedestrian intention prediction.
It improves the accuracy and calculation speed of pedestrian intention prediction, enhances the interpretability and transferability of the model, and is suitable for pedestrian recognition tasks in road scenes.
Smart Images

Figure CN118608906A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of pedestrian intention prediction, and in particular relates to a multi-feature fusion algorithm for pedestrian intention recognition. Background Art
[0002] Pedestrian intention recognition is an important research topic in the field of intelligent transportation systems and autonomous driving technology. This technology is crucial to improving road safety, reducing traffic accidents, and enhancing the decision-making ability of autonomous vehicles.
[0003] Currently, due to environmental factors, the diversity of pedestrian behaviors and real-time requirements, the factors for pedestrian intention recognition are relatively simple. Common pedestrian intentions include crossing the road, unknown state, and stationary, etc.
[0004] Volz et al. used the distance between pedestrians and vehicles relative to the crosswalk as input and used a dense neural network to determine whether pedestrians would cross the road. However, using only distance as input may not provide sufficient contextual information, and does not take into account the complexity of the dynamic environment. The generalization ability and real-time performance are relatively weak, and the interpretability is not strong.
[0005] Ghori et al. constructed an LSTM pedestrian intention prediction model based on skeleton information sequence, and realized the prediction of multiple pedestrian intentions in one model. However, the above studies only used the posture features of a single human body, such as bones, to predict pedestrian intentions; considering that the dynamic changes in the actual traffic environment may change the pedestrian's walking intention, the skeleton features cannot describe the changes in the environment space in a timely manner. Therefore, intention prediction based on a single posture feature of the human body has certain limitations.
[0006] In recent years, methods that consider spatiotemporal features have gradually been proposed. Ankur et al. used pedestrian postures, bounding box coordinates, and global context to make predictions based on ResNET. Although ResNet performs well in image recognition tasks, it may not be able to fully capture all relevant features when dealing with more complex tasks such as pedestrian intention prediction. Insufficient context information is captured, and the deep network structure will lead to overfitting and insufficient generalization. Summary of the invention
[0007] The purpose of the present invention is to provide a multi-feature fusion algorithm for pedestrian intention recognition, which is based on a multi-feature fusion method to understand and analyze the intention trend of pedestrians in a video. To achieve the above purpose, the technical solution adopted is:
[0008] A multi-feature fusion algorithm for pedestrian intention recognition includes the following steps:
[0009] Step 1: Extract two spatiotemporal features for identifying pedestrian intentions, including the following steps:
[0010] Based on the optical flow frame of the video frame, the feature map of the image frame stream is analyzed by LSTM to extract the temporal information feature T of the video frame. * ;
[0011] Based on the image stream frame of the video frame, extract the spatial information feature T of the video frame;
[0012] Step 2: Based on the video frame, the robot learning module extracts the physical features D of the video frame;
[0013] Step 3: D and T * , T weighted processing, and obtain the pedestrian’s intention based on the weighted results.
[0014] Preferably, the input of the LSTM further includes: a first priori operator α and a second priori operator β;
[0015] The output of the priori operator module is the first priori operator α and the second priori operator β; the input of the priori operator module is the video frame;
[0016]
[0017] β=[x,v x , a x ,y,v y , a y ]
[0018] Among them, h p - height of pedestrians;
[0019] v h -The rate at which the height of pedestrians in the field of view changes;
[0020] a h -The acceleration of the height change of pedestrians in the field of view;
[0021] v x -The component of the pedestrian's relative velocity in the x direction;
[0022] v y -The component of the pedestrian's relative velocity in the y direction;
[0023] a x -The component of the pedestrian's relative motion acceleration in the x direction.
[0024] a y -The component of the pedestrian's relative motion acceleration in the y direction.
[0025] Preferably, the solution process of the first priori operator α is specifically as follows:
[0026] Step 1A: Incorporate the relative motion between people and vehicles into the influencing factors of pedestrians’ intentions;
[0027] Step 1B, establish an expression for the relative motion law between a person and a vehicle;
[0028]
[0029]
[0030] Among them, L c -Fixed body length;
[0031] Y d -The projection length of the distance between pedestrians and vehicles on the Y axis;
[0032] k-proportion coefficient of similar triangles;
[0033] Step 1C: Derive operator components
[0034]
[0035] h z =kh p
[0036]
[0037]
[0038] Preferably, a first 3DCNN and a first attention mechanism module are arranged between the optical flow frame and the LSTM.
[0039] Preferably, the image frame stream is input into the second 3DCNN, and the output end of the second 3DCNN is connected to the second attention mechanism module.
[0040] Preferably, the input of the robot learning module is a four-dimensional motion state vector The set M of
[0041]
[0042] Among them, V θ -The angular velocity of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V;
[0043] a θ -The angular acceleration of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V;
[0044] v c - Current vehicle speed.
[0045] Preferably, after step 3, the method further comprises the following steps:
[0046] Step 4: Based on the weighted results, select ACC and F1 as evaluation indicators.
[0047] Compared with the prior art, the advantages of the present invention are:
[0048] 1. Based on the fusion of three features, the intention trend of pedestrians in the video is understood and analyzed, thereby improving the accuracy of prediction.
[0049] 2. A set of key feature operators is proposed to solve the problem of difficulty in extracting key features.
[0050] 3. Integrate traditional machine learning methods with shallow networks to improve computing speed, optimize computing resources, and provide strong interpretability.
[0051] 4. It has strong transferability to the problem of pedestrian recognition in road scenes. The algorithm proposed by the present invention can be generally applied to road video scenes, and thus can be well transferred to other methods; it can be widely used in the problem of pedestrian recognition in road scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A side view of the relative relationship between man and vehicle;
[0053] Figure 2 A bird's-eye view of the relative relationship between people and vehicles;
[0054] Figure 3 This is the overall network architecture diagram on which the algorithm is based;
[0055] Figure 4 This is the architecture diagram of the first attention mechanism model. DETAILED DESCRIPTION
[0056] The following will be described in more detail with reference to the schematic diagram of the multi-feature fusion algorithm for pedestrian intention recognition of the present invention, wherein the preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein, while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art, and not as a limitation of the present invention.
[0057] A multi-feature fusion algorithm for pedestrian intention recognition, the network architecture based on which the algorithm is based, such as Figure 3 As shown, it mainly includes the following components:
[0058] 1) Traditional machine learning module: It uses various physical quantities to transform the coordinate system (i.e., M) to describe the spatial motion relationship between people and vehicles, determine the movement trend of pedestrians, and perform computational analysis.
[0059] 2) Spatiotemporal feature extraction module:
[0060] Spatial features: The spatial information of visual images is extracted through the image frame stream;
[0061] Temporal features: The temporal information is processed through optical flow and LSTM analysis of the feature map of the image frame stream.
[0062] 3) Intent prediction module: Pedestrian intention is calculated by weighted average of feature information output by traditional machine learning module, LSTM, and second attention mechanism module.
[0063] The present invention trains pedestrian intention prediction as a binary classification task.
[0064] For each video S i , the kth pedestrian observed in the jth frame is recorded as P jk (j∈{S i}, k∈N + ).
[0065] In the method model, the marked bbox annotation information is B ijk , the visual features of other objects are recorded as F i , the extracted directly related high-level features are recorded as D.
[0066] The multi-feature fusion algorithm includes the following steps:
[0067] Step 1: Extract two features for identifying pedestrian intentions, namely, spatiotemporal features.
[0068] The specific steps include:
[0069] Based on the optical flow frame of the video frame, the feature map of the image frame stream is analyzed by LSTM to extract the temporal information feature T of the video frame. * .
[0070] The first 3DCNN and the first attention mechanism module are set between the optical flow frame and the LSTM.
[0071] Based on the image stream frame of the video frame, the spatial information feature T of the video frame is extracted. The image stream frame is input into the second 3DCNN, and the output end of the second 3DCNN is connected to the second attention mechanism module.
[0072] Among them, extracting optical flow and image frame flow from images respectively belongs to the existing technology.
[0073] Furthermore, the input of LSTM also includes: a first priori operator α and a second priori operator β.
[0074] The first prior operator α is used to describe the impact and changes that occur when the relative distance changes.
[0075] The second prior operator β is used to describe the absolute motion of pedestrians.
[0076] The output of the priori operator module is the first priori operator α and the second priori operator β; the input of the priori operator module is the video frame;
[0077]
[0078] β=[x,v x , a x ,y,v y , a y ]
[0079] Among them, h p - height of pedestrians;
[0080] v h -The rate at which the height of pedestrians in the field of view changes;
[0081] a h -The acceleration of the height change of pedestrians in the field of view;
[0082] (x, y) - world coordinates of the pedestrian;
[0083] v x -The component of the pedestrian's relative velocity in the x direction;
[0084] v y -The component of the pedestrian's relative velocity in the y direction;
[0085] a x -The component of the pedestrian's relative motion acceleration in the x direction.
[0086] a y -The component of the pedestrian's relative motion acceleration in the y direction.
[0087] The solution process of the first priori operator α is as follows:
[0088] Step 1A: Incorporate the relative motion between people and vehicles into the influencing factors of pedestrian intention.
[0089] In the case of directly analyzing the human-vehicle relationship model (such as Figure 1 As shown in the figure, it is found that the closer the relative distance between a person and a vehicle is, the easier it is to change the intention, resulting in an acceleration or deceleration change in the relative distance perpendicular to the vehicle's travel direction.
[0090] Step 1B: Establish an expression for the relative motion law between people and vehicles, that is, Figure 2 The relationship between similar triangles in can be expressed as:
[0091]
[0092]
[0093] Where: L c -Fixed body length;
[0094] Y d -The projection length of the distance between pedestrians and vehicles on the Y axis;
[0095] k-proportion coefficient of similar triangles;
[0096] Step 1C: Derive operator components process:
[0097] In a large number of experiments, the present invention found that Y d The first and second derivatives with respect to t have a considerable influence on the result prediction.
[0098] Y d The reasoning about the first-order derivative of t is as follows:
[0099]
[0100] By h z =kh p This can be deduced:
[0101]
[0102] Similarly, bring in h z =kh p It can be deduced that:
[0103]
[0104] In addition, a person's absolute movement can also be an important reference factor for intention.
[0105] The farther the pedestrian is from the road, the lower the probability of crossing the road; conversely, the closer the pedestrian is to the road or is already on the road, the higher the probability of intending to cross the road.
[0106] Attached Figure 2 In the coordinate system established with the current vehicle as the origin and the positive direction of the driving speed as the y-axis, the absolute movement changes of the person can be reflected.
[0107] The center point O(x, y) constituting the pedestrian's motion trajectory and its first-order derivative and second-order derivative can fully characterize the pedestrian's motion characteristics. The calculation method is similar to the first priori operator α described above.
[0108] The second prior operator β is mainly extracted from pedestrian data, specifically:
[0109] For each video S i , the number of video frames is recorded as Ni , the coordinates of the kth pedestrian observed in the jth frame are marked as (x jk ,y jk )
[0110] The speed of each pedestrian in each frame is recorded as v, and the speed of the pedestrian in the x and y directions can be recorded as {v xj |v x , 0≤j <N i -1}, {v yj |v y , 0≤j <N i -1}:
[0111]
[0112]
[0113] Where Δt is the time difference between each two frames. Similarly, if the acceleration of each pedestrian in each frame is denoted as a, the acceleration of the pedestrian in the x and y directions can be denoted as {a xj |a x , 1≤j <N i -1}, {a yj |a y , 1≤j <N i -1}:
[0114]
[0115]
[0116] Therefore, a second prior operator β describing the absolute motion of pedestrians can be obtained:
[0117] β=[x,v x , a x ,y,v y , a y ]
[0118] It should be noted that h z Changes will also have an impact on O(x, y).
[0119] In h z When θ remains unchanged, the change of O(x, y) can fully reflect the absolute movement of the pedestrian.
[0120] In the present invention, regarding the spatiotemporal characteristics (T * The specific scheme is as follows:
[0121] The input stream is a video sequence S, S = {s1, s2, ..., s N}
[0122] For each sequence s i , which contains consecutive frames (f i1 , f i2 , ..., f iT ), where each frame has parameter features (α, β)
[0123] s i ={(f i1 , f i2 , ..., f iT )|f it =(α, β)}
[0124] The parameter matrix M = (α, β) is preprocessed by standardization:
[0125]
[0126] Among them, r-matrix rows; c-matrix columns;
[0127] μ c - parameter mean of the corresponding column of the matrix;
[0128] σ c - Standard deviations of corresponding columns of the matrix.
[0129] The preprocessed sequence S is used as part of the input data X and input into the LSTM network.
[0130] The LSTM network processes the input sequence X and updates its hidden state h at each time step t. t and cell state c t :
[0131] h t , c t =LSTM(x t ,h t-1 , c t-1 )
[0132] Finally, the LSTM network generates the final prediction result through a connection layer Dense All prediction results The collection of time information features T * .
[0133]
[0134] Experiments show that (α, β) not only has good generalization ability for pedestrian intention detection, but also has good optimization ability for pedestrian trajectory prediction algorithm model.
[0135] In the task of pedestrian intention recognition, detection accuracy is particularly important.
[0136] In order to improve the accuracy, the present invention comprehensively considers the temporal and spatial information of the video to correct the final pedestrian intention estimation and adopts a shallow network algorithm model.
[0137] The input video stream size is c×1×h×w.
[0138] Among them, c is the number of channels, 1 is the number of video frames, and h and w are the height and width of a single frame.
[0139] First, the image frames of the original video and the extracted optical flow map are fed into the C3D convolutional network to extract appearance features and motion features.
[0140] In order to suppress unnecessary redundant information, a spatial attention mechanism is introduced in the C3D network.
[0141] The features extracted from the C3D network are then trained through the attention mechanism to obtain new features with enhanced weights, which are then input into the fully connected layer to learn higher semantic features.
[0142] Inspired by the successful application of attention mechanism in natural language processing, we introduce spatial attention mechanism into the network and redistribute weights according to the importance of feature interest regions extracted from C3D network.
[0143] The importance of the features of the action area in the video is significantly higher than other parts of the video scene. The spatial attention mechanism is used to assign higher attention scores to the features of important areas, thereby increasing the significance of the features in the area, thereby suppressing irrelevant redundant information and improving network efficiency and performance.
[0144] The structure of the first attention mechanism module is the same as that of the second attention mechanism module.
[0145] Let’s take the first attention mechanism module as an example:
[0146] Attached Figure 4 As shown in Figure 3, the model mainly consists of an encoder consisting of 8 convolutional layers, which can re-assign weights to the input features.
[0147] The input of the encoder is to receive the features extracted from the C3D network in Indicates video S i In the feature set of , * denotes optical flow. In the second attention mechanism module, * denotes RGB image.
[0148] The function of the decoder is to provide the final weight for the re-weighted features. The calculation formula is as follows:
[0149]
[0150]
[0151] Conv(·) - basic convolutional network;
[0152] -The weight vector calculated by the convolutional network;
[0153] -The attention weight coefficient obtained by normalizing the weight vector calculated by the convolutional network using the activation function;
[0154] - original input features;
[0155] at last, Multiply by the corresponding original input features to obtain the features of the reallocated attention weights. The formula is expressed as:
[0156]
[0157] T * -Reassign attention weights to features.
[0158] In addition, in the preprocessing stage of the original video stream, adjustments are made based on the C3D algorithm to better extract visual features and optical flow features. The public network parameters are shown in Table 1.
[0159] Table 1 Public network parameters
[0160] Network Layer Convolution Kernel enter Output Activation Function conv_1 64*3*3*3 3,16,112,112 64,16,112112 ReLU pool_1 1*2*2 64,16,112112 64,16,56,56 conv_2 128*3*3*3 64,16,56,56 128,16,56,56 ReLU pool_2 2*2*2 128,16,56,56 128,8,28,28 conv_3a 256*3*3*3 128,8,28,28 256,8,28,28 ReLU conv_3b 256*3*3*3 256,8,28,28 256,8,28,28 ReLU pool_3 2*2*2 256,8,28,28 256,4,14,14 conv_4a 512*3*3*3 256,4,14,14 512,4,14,14 ReLU conv_4b 512*3*3*3 512,4,14,14 512,4,14,14 ReLU pool_4 2*2*2 512,4,14,14 512,2,7,7 conv_5a 512*3*3*3 512,2,7,7 512,2,7,7 ReLU conv_5b 512*3*3*3 512,2,7,7 512,2,7,7 ReLU pool_5 2*2*2 512,2,7,7 512,1,4,4 view 512,1,4,4 1,8192 fc6 1,8192 1,4096 ReLU+dropout0.5 fc7 1,4096 1,4096 ReLU+dropout0.5 fc8 1,4096 1,487 softmax
[0161] A spatial attention mechanism (Spatial Transformer Networks) is used for the extracted features to increase the spatial invariance of the network model; the weights of the features extracted by the C3D network are redistributed according to the importance of the focus area to improve the feature significance of the area:
[0162] 1. Add an STN module to each convolutional block of the C3D network. The input of the STN module is the feature map X of the convolutional block.
[0163] 2.STN module through the positioning network f loc Get the affine matrix A θ :
[0164] A θ =f loc (X)
[0165] Then with the grid generator f grid Extract the sampling grid G:
[0166] G=f grid (Aθ )
[0167] Then introduce them into the new feature map Y
[0168] 3. Finally, bilinear interpolation is applied using a sampler to resolve the issue of decimal places in the mesh generator module transformation (pixels must be integers).
[0169] Step 2: Based on the video frame, the robot learning module is used to extract the physical features D of the video frame.
[0170] Among them, the video frame is preprocessed to form a four-dimensional motion state vector and input it into the robot learning module.
[0171] The input of the robot learning model is all four-dimensional motion state vectors The set M of
[0172]
[0173] Among them, V θ -The angular velocity of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V;
[0174] a θ -The angular acceleration of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V;
[0175] v c - Current vehicle speed.
[0176] d-relative distance along the X axis at a certain time t, h z It is fixed and its value is d.
[0177] Among them, get The steps include:
[0178] In h z Under the condition that the x,y is unchanged, the change of O(x,y) can fully reflect the absolute movement of pedestrians. Based on the two characteristic operators, several more general physical quantities can be abstracted on the basis of statistics to intuitively describe the spatial logical relationship between people and cars.
[0179] Standardize the original feature matrix X to obtain the standardized numerical matrix Z:
[0180]
[0181] where μ and σ are the mean and standard deviation.
[0182] Then its covariance matrix C can be expressed as:
[0183]
[0184] Where n is the number of samples.
[0185] Then the principal component PC is selected by calculating the eigenvalue λ and the eigenvector V:
[0186] C·V=λ·V
[0187] PC=Z·V
[0188] Through calculation and analysis, several important components are obtained: the angular velocity V of the angle between the line connecting the person and the car's velocity vector θ and angular acceleration a θ , relative distance d and current vehicle speed v c , forming a new motion state description vector
[0189] For each pedestrian P in all video frames jk , there is a corresponding motion state vector Describe the spatial logical relationship between people and cars.
[0190]
[0191] -The 4D motion state vector of the kth pedestrian observed in the jth frame.
[0192] In addition, the robot learning module uses the Kd-tree algorithm for calculation and estimation This enables rapid prediction of pedestrian intentions.
[0193] According to the prior art, the specific process of the Kd-tree algorithm is:
[0194] Divide M into a four-dimensional hyperspace, calculate the variance of each dimension, and in each partition, take the dimension with the largest variance as the partition dimension to divide the elements in the set into subtrees from small to large on the left, until only one motion state vector is retained in each leaf node.
[0195] The segmented tree can easily query the set of N nearest points adjacent to the query point, thereby achieving fast prediction of pedestrian intentions.
[0196] D = f(P, B)
[0197] Y=kd(D)
[0198] Where f(·) is the preprocessing method for pedestrian and bbox annotation,
[0199] KD is the Kd-tree algorithm model, and Y is the output pedestrian intention result matrix.
[0200] The computational time complexity of the algorithm is only o(log n).
[0201] Step 3: D and T * , T trains the weight matrix, and selects cross entropy as the loss function. Finally, the pedestrian intention is obtained based on the weighted result.
[0202] like Figure 3 As shown, traditional machine learning methods are used to extract the physical features of the picture, which has the characteristics of high reliability, high interpretability and high processing speed.
[0203] At the same time, it is combined with a shallow neural network, not only relying on a single feature or pedestrian trajectory for prediction, but fully considering the spatiotemporal and semantic features in the video and making comprehensive use of them.
[0204] Step 4: Based on the weighted results (network output), select ACC and F1 as evaluation indicators.
[0205]
[0206]
[0207] Among them, P (True Positives): True positives refers to the number of samples correctly predicted by the model as positive. This means that the pedestrian is correctly judged to cross the street.
[0208] TN (True Negatives): True negative examples refer to the number of samples that the model correctly predicts as negative. This means that the pedestrian was correctly judged not to cross the street.
[0209] FP (False Positives): False positives, also known as false alarms, refer to the model incorrectly predicting that pedestrians are about to cross the street.
[0210] FN (False Negatives): False negatives, also known as missed reports, refer to the model incorrectly predicting that pedestrians should not cross the street.
[0211] Precision: Precision is the proportion of samples that are actually positive among those predicted by the model. The formula is
[0212] Recall: Recall is the ratio of samples correctly identified as positive by the model to all actual positive samples. The formula is:
[0213] Specifically, the present invention is based on the PSI public dataset which is relatively important in pedestrian intention detection, and conducts a comparative evaluation on three algorithms that perform well on PSI.
[0214] PIE uses the extended visual information and pedestrian bounding box locations around pedestrians and uses an LSTM encoder-decoder to predict pedestrian intentions.
[0215] VR-GCN applies multi-element visualization features in video roads to create spatiotemporal graphs for reasoning and, similar to PIE, also uses an LSTM encoder-decoder for prediction.
[0216] eP2P applies a ResNet-50 convolutional network as a feature extractor and uses an LSTM encoder-decoder framework.
[0217] Table 2 Comparison results with three advanced algorithm prediction models
[0218]
[0219] Table 2 shows the experimental results of pedestrian intention prediction. The present invention follows the same training, validation and test set splitting method as the three algorithm models to ensure a fair comparison.
[0220] For the three-classification task of pedestrian intention, the accuracy of the present invention is 0.61 and the F1 score is 0.56.
[0221] In the annotation of the PSI dataset under three categories, the annotation of "crossing the street" is relatively strict, which brings many challenges to network prediction. In the two-category task, the performance of the present invention is compared with the other three algorithm models on PSI. As shown in Table 2, the algorithm model of the present invention can achieve a good accuracy (0.85) and F1 score (0.76).
[0222] In order to verify whether each module of the network model of the present invention plays the expected role, the present invention conducts an ablation experiment for testing. From the three-class comparison in Table 3, it can be seen that using only C3D is not ideal, but after adding LSTM, the accuracy is slightly improved. In terms of two-classification, it can be clearly seen that the addition of the spatial attention mechanism has a significant impact on the accuracy of C3D+LSTM.
[0223] Table 3 Comparison of intention prediction results using different modules
[0224]
[0225] The above is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any technician in the relevant technical field, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present invention, which does not depart from the content of the technical solution of the present invention and still falls within the protection scope of the present invention.
Claims
1. A multi-feature fusion algorithm for pedestrian intention recognition, characterized in that: The following steps are involved: Step 1: Extract two spatiotemporal features for identifying pedestrian intentions, including the following steps: Based on the optical flow frame of the video frame, the feature map of the image frame stream is analyzed by LSTM to extract the temporal information feature T of the video frame. * ; Based on the image stream frame of the video frame, extract the spatial information feature T of the video frame; Step 2: Based on the video frame, the robot learning module extracts the physical features D of the video frame; Step 3: D and T * , T weighted processing, and obtain the pedestrian’s intention based on the weighted results.
2. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 1 is characterized in that: The input of LSTM also includes: the first prior operator α and the second prior operator β; The output of the priori operator module is the first priori operator α and the second priori operator β; the input of the priori operator module is the video frame; β=[x,v x ,a x ,y,v y ,a y ] Among them, h p - height of pedestrians; v h -The rate at which the height of pedestrians in the field of view changes; a h -The acceleration of the height change of pedestrians in the field of view; v x -The component of the pedestrian's relative velocity in the x direction; v y -The component of the pedestrian's relative velocity in the y direction; a x -The component of the pedestrian's relative motion acceleration in the x direction; a y -The component of the pedestrian's relative motion acceleration in the y direction.
3. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 2 is characterized in that: The solution process of the first priori operator α is as follows: Step 1A: Incorporate the relative motion between people and vehicles into the influencing factors of pedestrians’ intentions; Step 1B, establish an expression for the relative motion law between a person and a vehicle; Among them, L c -Fixed body length; Y d -The projection length of the distance between pedestrians and vehicles on the Y axis; k-proportion coefficient of similar triangles; Step 1C: Derive operator components h z =kh p 4. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 1 is characterized in that: The first 3DCNN and the first attention mechanism module are set between the optical flow frame and the LSTM.
5. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 1 is characterized in that: The image frame stream is input into the second 3DCNN, and the output of the second 3DCNN is connected to the second attention mechanism module.
6. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 1 is characterized in that: The input of the robot learning module is the four-dimensional motion state vector The set M of Among them, V θ -The angular velocity of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V; a θ -The angular acceleration of the angle between the line connecting the person and the vehicle and the vehicle velocity vector V; v c - Current vehicle speed.
7. The multi-feature fusion algorithm for pedestrian intention recognition according to claim 1 is characterized in that: After step 3, the following steps are also included: Step 4: Based on the weighted results, select ACC and F1 as evaluation indicators.
Citation Information
Patent Citations
System and method for pedestrian navigation based on multiple sensors
CN105241454A
Handling of vehicle storage space
CN111016801A
Pedestrian intention multi-task identification and trajectory prediction method under view angle of intelligent automobile
CN114120439A
Pedestrian crossing intention prediction method, model and device based on two channels
CN116824541A
Pedestrian crossing intention recognition method based on multi-source information fusion
CN117173663A
Cited By
Pedestrian intention prediction method for complex traffic scene
CN120071262A
A pedestrian intention prediction method for complex traffic scenarios
CN120071262B
