Visual perception method and system for concentration ability of motor vehicle driver
Through the combination of the visual perception unit and the head posture estimation module, the concentration ability of the motor vehicle driver is detected in real time, which solves the problem of difficulty in rapid and accurate detection in the existing technology and realizes the real-time monitoring and reminder of the driver's attention state. , improving road traffic safety.
Patent Information
- Application Number
- CN202410720860.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-03
AI Technical Summary
Existing technology is difficult to quickly and accurately detect the concentration ability of motor vehicle drivers, and cannot monitor and remind drivers of inattention or fatigue in real time, leading to potential safety hazards.
Using the visual perception unit and head pose estimation module, it collects and preprocesses visual image data, extracts face images and key point information, calculates the 3D head pose, and combines it with GPS positioning information to use the full face line of sight based on the attention mechanism. The estimation method detects the driver's concentration ability in real time and provides voice broadcasts and prompts.
It realizes real-time detection and reminder of driver's concentration ability, helps develop good driving habits, reduces accident risks, improves road traffic safety level, and has broad application prospects.
Smart Images

Figure CN118587687A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual perception technology, and more specifically to a method and system for visually perceiving the concentration ability of a motor vehicle driver. Background Art
[0002] As the number of vehicles per capita increases, people pay more and more attention to the safety of vehicles and drivers. Using computer vision technology to detect the driver's concentration ability has become a research hotspot.
[0003] Therefore, how to quickly and accurately detect the driver's concentration ability is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0004] In view of this, the present invention provides a visual perception method and system for the concentration ability of motor vehicle drivers, which integrates computer technology, image processing, machine learning, data calculation and display technologies to achieve integrated measurement and control, and can monitor the visual concentration ability of the driver in the car in real time, and output the results of these tests in real time.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A method for visually perceiving a motor vehicle driver's concentration ability comprises the following steps:
[0007] Step 1: Collect visual image data, preprocess and enhance the visual image data, and extract face images and face key point information;
[0008] Step 2: Mapping key point 3D position information according to the face image and the face key point information, and calculating the head 3D posture;
[0009] Step 3: according to the facial key point information of the facial image, a full-face gaze estimation method based on an attention mechanism is adopted to obtain the gaze direction;
[0010] Step 4: Obtain vehicle data and GPS positioning information, and determine head movements based on the head's 3D posture and line of sight direction to obtain concentration ability test results.
[0011] Preferably, the preprocessing and enhancement in step 1 include sequentially using a face detection algorithm to obtain a face image, and using a face key point extraction algorithm to obtain face key point information. The face key point information is the face key point coordinates obtained by identifying the face area of the face; there are 81 key points in the face, and 6 of them are selected to obtain their corresponding face key point information, and the selected key points include the tip of the nose, the chin, the left corner of the eye, the right corner of the eye, the left corner of the mouth, and the right corner of the mouth.
[0012] Preferably, the face detection algorithm adopts the Cascate CNN model, and the face key point extraction algorithm adopts the FEC-CNN model.
[0013] Preferably, the specific steps of step 2 include:
[0014] Step 21: constructing a 3D face model using a Volumetric CNN model according to the face image and the face key point information, and obtaining 3D position information of the key points;
[0015] Step 22: Calculate the 3D posture of the head using the PnP algorithm based on the 3D position information of the key points, and calculate the rotation angle based on the 3D posture of the head.
[0016] Preferably, in step 21, a Volumetric CNN model is used to perform 3D face reconstruction according to the face image; the loss function of the Volumetric CNN model is the pixel loss of the reconstructed 3D face model and the input face image, and key point loss and coefficient regularization loss may also be added as constraints; the steps include:
[0017] Step 211: The face image passes through the Deep Encoder of the Volumetric CNN model to extract the semantic correlation coefficient;
[0018] Step 212: The semantic correlation coefficient is passed through the decoder of the Volumetric CNN model to project the three-dimensional model to the two-dimensional image, and reconstruct the 3D face model;
[0019] Step 213: Determine the 3D key points mapped on the 3D face model according to the facial key point information, and obtain the 3D position information of the key points.
[0020] Preferably, the step 22 comprises:
[0021] Step 221: calibrate the camera, and use the PnP algorithm to solve the 3D head posture according to the 3D key points of the face and the information of the key points of the face;
[0022] Step 222: Calculate the translation vector and rotation vector of the head when it moves relative to the camera using a posture estimation algorithm according to the 3D posture of the head;
[0023] Step 223: convert the rotation vector into a rotation matrix according to the Rodriguez formula, and concatenate the rotation matrix with the translation vector to obtain an external parameter matrix;
[0024] Step 224: Calculate the Euler angle using the decomposeProjectionMatrix function according to the external parameter matrix to obtain the rotation angle.
[0025] In step 2, the facial key point information is mapped to a 3D universal head rigid body model, the 3D position information of the key points is obtained, and the 3D posture of the head is calculated. The specific steps include:
[0026] Step 21: determining the 3D position information of the key points mapped with the facial key point information in the 3D general head rigid body model;
[0027] Step 22: Calculate the conversion relationship according to the facial key point information and the key point 3D position information to obtain an R matrix and a T matrix;
[0028] Step 23: Calculate the rotation vector and the translation vector using a posture estimation algorithm according to the facial key point information, the key point 3D position information, the R matrix, the T matrix and the set distortion parameters;
[0029] Step 24: convert the rotation vector into a rotation matrix according to the Rodriguez formula, and concatenate the rotation matrix with the translation vector to obtain an external parameter matrix;
[0030] Step 25: Calculate the Euler angle using the decomposeProjectionMatrix function according to the external parameter matrix to obtain the rotation angle.
[0031] Preferably, in step 3, the full-face gaze estimation method adopts a deep learning model based on the attention mechanism to predict the gaze direction according to the face image; based on the attention mechanism, the weights of each position in the face area are learned through a branch to increase the weight of the eye area; the deep learning model adopts an end-to-end learning strategy according to the face image to obtain the gaze direction in the camera coordinate system.
[0032] Preferably, the concentration ability test result includes determining whether the driver has engaged in dangerous maneuvers.
[0033] A visual perception system for the concentration ability of a motor vehicle driver, comprising a visual perception unit, a head posture estimation module, a signal processing control module and a human-computer interaction device;
[0034] A visual perception unit collects visual image data through a visual perception device, pre-processes and enhances the visual image data, and extracts facial images and facial key point information;
[0035] A head action estimation module, which uses a PnP algorithm to solve the 3D head posture according to the face image and the face key point information, and uses a full-face sight line estimation method based on an attention mechanism according to the visual image data to obtain the sight line direction;
[0036] The signal processing control module obtains vehicle data and GPS positioning information, and determines the head movement based on the head's 3D posture and line of sight direction to obtain the concentration ability test results.
[0037] Preferably, it also includes a human-computer interaction device, which receives the concentration ability test result and performs voice broadcast and voice prompt.
[0038] Through the above technical scheme, it can be known that compared with the prior art, the present invention discloses a visual perception method and system for the concentration ability of motor vehicle drivers, which is a detection of the concentration ability of drivers. The visual perception unit and the head posture estimation module are used to detect the driving concentration of drivers in real time. For the driver's inattention, fatigue or distraction during driving, real-time reminders are given and corresponding safety measures are taken, which helps the driver to develop good driving habits and prevent accidents. The present invention is conducive to the scientific and comprehensive detection of the visual behavior of the driver, outputs the driver's concentration ability, facilitates the real-time monitoring of the driving behavior safety and the standardization and correction of the driving behavior, helps the driver to develop good safe driving habits, and is of great significance to improving the road traffic safety level of the whole society, and has significant social benefits; at the same time, the system can also be expanded to output to other devices, and applied to various industries that need to detect the concentration ability, such as mechanical operation, logistics vehicle operation and other special operations, so the present invention has a wide range of applications and a very large market prospect. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0040] Figure 1 A flow chart of a method for visually perceiving a motor vehicle driver's concentration ability provided by the present invention;
[0041] Figure 2 A schematic diagram of face detection using the Cascate CNN model provided by the present invention;
[0042] Figure 3 A schematic diagram of facial key point extraction of the FEC-CNN model provided by the present invention;
[0043] Figure 4 A schematic diagram of a 3D face model provided by the present invention;
[0044] Figure 5 A schematic diagram of the head posture estimation process provided by the present invention;
[0045] Figure 6 A schematic diagram of line of sight estimation provided by the present invention;
[0046] Figure 7 Schematic diagram of full-face gaze estimation based on the attention mechanism provided by the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] The embodiment of the present invention discloses a visual perception system for the concentration ability of a motor vehicle driver, comprising a visual perception unit, a head posture estimation module, a signal processing control module and a human-computer interaction device.
[0049] Visual perception methods based on this system include Figure 1 As shown, the following steps are included:
[0050] 1. The visual perception unit mainly uses visual perception equipment to obtain visual image data of the head. By installing a vehicle-mounted visual perception device in front of the main driving position and debugging it so that it can capture the driver's head, real-time visual image data is obtained, and the visual image data is appropriately preprocessed and enhanced by performing face detection and face key point extraction. Face detection and face key point extraction (still belonging to the visual perception module, it is necessary to detect the face first and obtain the face key point information for data preparation later) mainly detect the face area and obtain the key point coordinate information of the face. The present invention uses the image training face detection Cascate CNN and key point extraction FEC-CNN network model in seetaface2 (open source face recognition library), and uses the two trained models to detect and extract the real-time collected images, realize face detection and detection of 81 key points of the face, and finally select the nose tip, chin, left eye corner, right eye corner, left mouth corner, and right mouth corner when doing head posture estimation. 6 face key points. The following is a description of the face detection and face key point extraction algorithm:
[0051] A. Face detection uses Cascate CNN architecture, such as Figure 2As shown in the figure, the model divides the face recognition image into three stages, performs one recognition in each stage, and concatenates the image features of each stage with the features learned in the previous stage and performs softmax. 12×12, 24×24 and 48×48 networks are used respectively to perform three-stage recognition of face images.
[0052] B. Face key point extraction uses a fully end-to-end cascade convolutional neural network: FEC-CNN network architecture, such as Figure 3 As shown; the forward convolutional neural network connects multiple residual learning blocks in series, using the deep representation of the model's deep learning image.
[0053] Compared with the method of manually extracting features and then using classifiers for classification, the FEC-CNN network directly uses images as input and feature points as output, integrating the process of feature extraction and classification into the network. The network includes several sub-CNNs, represented as After the network is cascaded, the total network is formed, denoted as H, whose goal is to fit the nonlinear mapping relationship from image to feature points, as shown in the following formula:
[0054]
[0055] △S t =F t (Θ(I,S t-1 )),t=1,...,T
[0056] S t =S t-1 +△S t ,t=1,…,T
[0057] Among them, ΔS t represents the correction value of S by the tth network; F t represents the tth CNN; Θ(I, S t-1 ) represents the image block extraction function, which is used to extract the feature area in the image; S t It represents the feature points after correction by the tth CNN. The extraction results of the feature points are as follows: Figure 2 As shown in the points;
[0058] 2. Head movement estimation, including head posture estimation and gaze direction estimation.
[0059] 1) Use the PnP algorithm to solve the head posture estimation based on the face image and face key point information;
[0060] A. Head posture estimation mainly calculates the inclination of the driver's head relative to the camera. In the process of head posture estimation, in addition to using the face key point detection module to select the positions of the six 2D key points of the face, the 3D position information corresponding to the six 2D key points is also required (i.e., the coordinates of the six 3D key points). Therefore, VolumetricCNN (Volumetric Convolutional Neural Network) is used to reconstruct the 2D face image into a 3D face to obtain the 3D position information of the key points corresponding to the face key points;
[0061] Volumetric CNN maps the features extracted by the encoder into three-dimensional space to generate the corresponding 3D face model. This process mainly involves steps such as feature extraction, spatial reconstruction, refinement optimization, and integration of context information to achieve the conversion from a flat image to a three-dimensional model, where:
[0062] Feature extraction: Through the encoder part of Volumetric CNN, features are extracted from the input 2D face image. These features include facial contour, texture, lighting and other information, which can help the network understand the shape and appearance characteristics of the face;
[0063] Spatial reconstruction: The decoder part of the Volumetric CNN can map the features extracted by the encoder into a three-dimensional volume space through operations such as deconvolution, and generate voxel grids or point cloud data corresponding to the face, thereby reconstructing the corresponding 3D face model;
[0064] Refinement and optimization: After the initial 3D face model is generated, further refinement and optimization can be performed to improve the quality and accuracy of the model. This may include smoothing the reconstructed volume data, removing noise, filling in gaps, and using iterative algorithms or optimization methods to adjust the model to better conform to the input 2D image.
[0065] Integrate contextual information: Volumetric CNN may also use other information to assist in 2D to 3D face reconstruction, such as facial posture, expression, lighting and other contextual information. This information can help the network understand the three-dimensional form of the face more accurately, thereby improving the quality and accuracy of reconstruction.
[0066] The specific process is as follows Figure 4As shown in the figure, the input first passes through a Deep Encoder to extract semantically relevant coefficients, which include information such as face posture, shape, expression, skin, scene lighting, etc.; then the coefficients are input into the model-based decoder to realize the projection of the three-dimensional model to the two-dimensional image. The model can use the 3DMM model; the final loss is based on the pixel loss of the reconstructed image and the input image. Of course, key point loss and coefficient regularization loss can also be added as constraints;
[0067] B. For the calibration camera, the 3D position information of the key points of the six 3D key points on the human face and the 2D projection of the face in the image are used to solve the 3D posture of the human head using the PnP algorithm. The translation vector and rotation vector of the driver's head when it moves relative to the camera can be calculated through the posture estimation algorithm. By converting the rotation vector into Euler angles (pitch, yaw and roll angles), the rotation angle information is calculated at the same time, laying a data foundation for the subsequent judgment of the head movement. The input of the PnP algorithm is usually a set of known three-dimensional points (key points on the target object) and their projections in the image (corresponding two-dimensional image points), as well as the intrinsic parameters of the camera (such as the focal length of the camera, the position of the principal point, etc.). The goal is to calculate the position and direction of the camera based on these input data, that is, the camera's posture, and use the camera's posture to infer the head posture estimation through the posture estimation algorithm.
[0068] Head posture estimation is to obtain the posture angle of the head through a facial image. In 3D space, the rotation of an object can be represented by three Euler angles: pitch (rotation around the X-axis), yaw (rotation around the Y-axis) and roll (rotation around the Z-axis), which are scientifically known as pitch angle, yaw angle and roll angle, respectively. In layman's terms, it is raising the head, shaking the head and turning the head, as shown in the figure Figure 5 As shown;
[0069] 2) Use facial key point information to map the 3D general head rigid model for pose estimation;
[0070] (1) The 3D general head rigid body model used is a head model established in the world coordinate system. The coordinates of each point of the model in the world coordinate system are fixed. The corresponding world coordinate system in the 3D model can be found through the feature points detected in the above face. For example, the coordinates of the nose tip in the 2D key point are (u, v), and the 3D key point coordinates of the nose tip position in the model can be (Uc, Vc, Wc), thus forming a point pair. When there are enough point pairs, the corresponding R matrix and T matrix can be solved to perform posture estimation;
[0071] (2) Solve the transformation relationship between the 3D point and the corresponding 2D point; the attitude estimation algorithm can be used to calculate the translation vector and rotation vector of the driver's head when it moves relative to the camera;
[0072] Combining 2D key points, 3D key points, intrinsic matrix, and distortion parameters, the rotation vector and translation vector are obtained, and the rotation vector is converted into a rotation matrix according to the Rodriguez formula;
[0073] (3) Solve the Euler angles based on the rotation matrix;
[0074] Whether it is a rotation matrix or a rotation vector, although they can describe rotation, they are very unintuitive to humans. When you see a rotation matrix or a rotation vector, it is difficult to imagine what the rotation is like. When they transform, you don't know in which direction the object is rotating. The Euler angle provides a very intuitive way to describe rotation - it uses three separate angles to decompose a rotation into three rotations around different axes.
[0075] The rotation matrix and translation vector are concatenated to obtain the external parameter matrix, and then decomposeProjectionMatrix is called to obtain the Euler angle, that is, pitch, yaw, and roll.
[0076] C. Use the face image to estimate the head gaze through a deep learning convolutional neural network and obtain the gaze direction.
[0077] The goal of 3D line of sight estimation is to derive the line of sight direction of a person from an eye image or a face image. Usually, this line of sight direction is represented by two angles, pitch (vertical direction) and yaw (horizontal direction), such as Figure 6 (a); It should be noted that in the camera coordinate system, the direction of sight depends not only on the state of the eyes (eyeball position, eye opening degree, etc.), but also on the head posture, such as Figure 6 As shown in (b), although the eyes are slanted relative to the head, in the camera coordinate system, he is looking straight ahead;
[0078] The following is a full-face gaze estimation method based on the attention mechanism. The main idea of the attention mechanism here is to learn the weights of each position in the face region through a branch, with the goal of increasing the weight of the eye region and suppressing the weights of other regions that are not related to gaze; the network input is visual image data and adopts an end-to-end learning strategy to directly learn the gaze in the final camera coordinate system; Figure 7 shown.
[0079] The specific process is:
[0080] (1) Designing an attention module in a convolutional neural network (CNN) or other deep learning models so that the network can adaptively focus on key areas in the image. Common attention mechanisms include self-attention and attention-guided spatial transformer networks.
[0081] (2) Feature extraction: Extract feature representations of key areas of the input face image through convolutional neural networks (CNN) or other deep learning models. These feature representations should be able to capture the appearance and structural information of the face.
[0082] (3) Using the feature representation of the key area focused by the attention module, the position of the gaze point is predicted through a regression function to obtain the line of sight direction. This regression task can be achieved using structures such as fully connected layers, convolutional layers, or recurrent neural networks (RNNs);
[0083] (4) Loss function: Define a suitable loss function to measure the difference between the estimated gaze point and the true gaze point to improve the accuracy of gaze direction prediction. Commonly used loss functions include mean squared error (MSE) or other regression loss functions.
[0084] 3. The signal processing control module is responsible for the acquisition and control of the entire vehicle signal
[0085] A. The signal processing control module can control each distributed sensor to collect and transmit signals, and analyze, process and calculate the signals sent by each signal collector. It mainly receives vehicle data uploaded by the lower computer and positioning information sent by GPS;
[0086] B. Based on the data from various signal sensors, combined with the head gaze area and head posture estimation, the head movement is determined to determine whether some of the driver's operations are dangerous, and communicate with the human-computer interaction device to perform voice broadcasts and voice prompts. Combining head posture estimation and head gaze area, head movements can be determined more accurately. For example, when the head is facing the right side of the screen and the eyes are looking at the right side of the screen, it can be considered to be looking at the right side; when the head is facing the right side of the screen but the eyes are looking at the left side of the screen, it can be considered to be looking at the left side.
[0087] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0088] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for visually perceiving a motor vehicle driver's concentration ability, characterized in that: The following steps are involved: Step 1: Collect visual image data, preprocess and enhance the visual image data, and extract face images and face key point information; Step 2: Mapping key point 3D position information according to the face image and the face key point information, and calculating the head 3D posture; Step 3: obtaining the gaze direction by using a full-face gaze estimation method based on an attention mechanism according to the face image; Step 4: Obtain vehicle data and GPS positioning information, and determine head movements based on the head's 3D posture and line of sight direction to obtain concentration ability test results.
2. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: The preprocessing and enhancement in step 1 include sequentially using a face detection algorithm to obtain a face image, and using a face key point extraction algorithm to obtain face key point information.
3. The visual perception method of a motor vehicle driver's concentration ability according to claim 2 is characterized in that: The face detection algorithm adopts the Cascate CNN model, and the face key point extraction algorithm adopts the FEC-CNN model.
4. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: The specific steps of step 2 include: Step 21: constructing a 3D face model using a Volumetric CNN model according to the face image and the face key point information, and obtaining 3D position information of the key points; Step 22: Calculate the 3D posture of the head using the PnP algorithm based on the 3D position information of the key points, and calculate the rotation angle based on the 3D posture of the head.
5. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: In step 21, a volumetric CNN model is used to perform 3D face reconstruction according to the face image; the loss function of the volumetric CNN model is the pixel loss of the 3D face model and the face image, and key point loss and coefficient regularization loss may also be added as constraints; the steps include: Step 211: The face image passes through the Deep Encoder of the Volumetric CNN model to extract the semantic correlation coefficient; Step 212: The semantic correlation coefficient is passed through the decoder of the Volumetric CNN model to map the two-dimensional image to the three-dimensional model, and reconstruct the 3D face model; Step 213: Determine the 3D key points mapped on the 3D face model according to the facial key point information, and obtain the 3D position information of the key points.
6. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: The step 22 comprises: Step 221: calibrate the camera, and use the PnP algorithm to solve the 3D posture of the head according to the 3D position information of the key points and the key point information of the face; Step 222: Calculate the translation vector and rotation vector of the head when it moves relative to the camera using a posture estimation algorithm according to the 3D posture of the head; Step 223: Convert the rotation vector into a rotation matrix according to the Rodriguez formula, and concatenate the rotation matrix with the translation vector to obtain an external parameter matrix. Step 224: Calculate the Euler angle using the decomposeProjectionMatrix function according to the external parameter matrix to obtain the rotation angle.
7. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: In step 2, the facial key point information is mapped to a 3D universal head rigid body model to obtain the 3D position information of the key points and calculate the 3D head posture. The specific steps include: Step 21: determining the 3D position information of the key points mapped with the facial key point information in the 3D general head rigid body model; Step 22: Calculate the conversion relationship according to the facial key point information and the key point 3D position information to obtain an R matrix and a T matrix; Step 23: Calculate the rotation vector and the translation vector using a posture estimation algorithm according to the facial key point information, the key point 3D position information, the R matrix, the T matrix and the set distortion parameters; Step 24: convert the rotation vector into a rotation matrix according to the Rodriguez formula, and concatenate the rotation matrix with the translation vector to obtain an external parameter matrix; Step 25: Calculate the Euler angle using the decomposeProjectionMatrix function according to the external parameter matrix to obtain the rotation angle.
8. The visual perception method of a motor vehicle driver's concentration ability according to claim 1, characterized in that: In step 3, the full-face gaze estimation method adopts a deep learning model based on the attention mechanism to predict the gaze direction according to the face image; based on the attention mechanism, the weights of each position in the face area are learned through a branch to increase the weight of the eye area; the deep learning model adopts an end-to-end learning strategy according to the face image to obtain the gaze direction in the camera coordinate system.
9. A visual perception system for the concentration ability of a motor vehicle driver, characterized in that: A visual perception method for the concentration ability of a motor vehicle driver according to any one of claims 1 to 8, comprising a visual perception unit, a head posture estimation module, a signal processing control module and a human-computer interaction device; A visual perception unit collects visual image data through a visual perception device, pre-processes and enhances the visual image data, and extracts facial images and facial key point information; A head action estimation module, which uses a PnP algorithm to solve the 3D head posture according to the face image and the face key point information, and uses a full-face sight line estimation method based on an attention mechanism according to the visual image data to obtain the sight line direction; The signal processing control module obtains vehicle data and GPS positioning information, and determines the head movement based on the head's 3D posture and line of sight direction to obtain the concentration ability test results.
10. The visual perception system for the concentration ability of a motor vehicle driver according to claim 9, characterized in that: It also includes a human-computer interaction device that receives the concentration ability test result and performs voice broadcast and voice prompt.
