Method, device and equipment for estimating sight outside vehicle cabin and storage medium
Through a two-camera system and a preset line of sight estimation model, combined with feature extraction and attention calculation network, the accuracy problem of driver's line of sight estimation in the vehicle cockpit is solved, improving the estimation accuracy and reducing the cost.
Patent Information
- Application Number
- CN202410707012.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult to accurately estimate the driver's line of sight direction in the vehicle cockpit with existing technology, which affects driving safety.
A two-camera system is used to obtain the driver's image and the vehicle's front view image. The driver's gaze target is determined through a preset line of sight estimation model. Feature extraction, attention calculation and perceptron network are used to improve the estimation accuracy and reduce the need for pitch angle and deflection. Dependence on navigation angle.
It improves the accuracy of estimating the driver's line of sight outside the vehicle cockpit, reduces costs, and eliminates the need to mark the pitch angle and yaw angle of the driver's line of sight.
Smart Images

Figure CN118570859A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, equipment and storage medium for estimating the line of sight outside a vehicle cabin. Background Art
[0002] With the rapid growth of car ownership, driving safety has become one of the social security issues that all mankind is concerned about. Eye-line estimation has a wide range of applications in driving safety. Eye-line estimation refers to predicting the three-dimensional eye-line direction based on the face or eye image. Eye-line direction is an important clue to understanding human cognition and behavior. The eye-line direction of the driver in the vehicle cabin is one of the important clues to reflect the driver's behavior. Therefore, how to estimate the driver's line of sight in the cabin has become a technical problem that technicians in this field need to solve urgently. Summary of the invention
[0003] Based on this, embodiments of the present application provide a method, device, equipment and storage medium for estimating the line of sight outside a vehicle cabin.
[0004] In a first aspect, an embodiment of the present application provides a method for estimating a line of sight outside a vehicle cabin, wherein the vehicle includes a first camera and a second camera, and the method includes:
[0005] Acquire the driver image captured by the first camera and the vehicle front view image captured by the second camera;
[0006] Determining a face image in the driver image and a plurality of target images in the vehicle front view image;
[0007] For each target image, determining a predicted probability that the target image is a driver's gaze target in the vehicle's front view image according to the face image, the target image, the vehicle's front view image, and a preset sight line estimation model; wherein the preset sight line estimation model is trained based on training data;
[0008] According to each prediction probability, a driver's gaze target in the vehicle front view image is determined.
[0009] In a second aspect, an embodiment of the present application provides a vehicle cabin external sight line estimation device, the vehicle comprising a first camera and a second camera, the device comprising:
[0010] An acquisition module, used to acquire the driver image acquired by the first camera and the vehicle front view image acquired by the second camera;
[0011] A processing module is used to determine a facial image in the driver image and multiple target images in the vehicle front view image; for each target image, based on the facial image, the target image, the vehicle front view image and a preset line of sight estimation model, determine the predicted probability that the target image is the driver's gaze target in the vehicle front view image; based on each predicted probability, determine the driver's gaze target in the vehicle front view image; wherein the preset line of sight estimation model is trained based on training data.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the vehicle cabin outside line of sight estimation method provided in the first aspect of the embodiment of the present application are implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the vehicle cabin outside line of sight estimation method provided in the first aspect of the embodiment of the present application are implemented.
[0014] The technical solution provided in the embodiment of the present application obtains a driver image captured by the first camera and a vehicle front view image captured by the second camera according to a first camera and a second camera included in the vehicle, determines a facial image in the driver image and multiple target images in the vehicle front view image, and for each target image, determines a predicted probability that the target image is the driver's gaze target in the vehicle front view image according to the facial image, the target image, the vehicle front view image and a preset line of sight estimation model, and determines the driver's gaze target in the vehicle front view image according to each predicted probability, that is, converts the driver's line of sight estimation into a target estimation. Compared with the traditional method of determining the driver's line of sight by vector estimation, there is no need to mark the pitch angle and yaw angle of the driver's line of sight, which not only improves the accuracy of the driver's line of sight estimation outside the vehicle cabin, but also reduces the cost of driver line of sight estimation. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a flow chart of a method for estimating the sight line outside a vehicle cabin provided in an embodiment of the present application;
[0016] Figure 2 A schematic diagram of a process for determining target image prediction probability provided by an embodiment of the present application;
[0017] Figure 3 A schematic diagram of a principle of a method for estimating the sight line outside a vehicle cabin provided in an embodiment of the present application;
[0018] Figure 4 A schematic diagram of a flow chart of a preset sight line estimation model training process provided in an embodiment of the present application;
[0019] Figure 5 A schematic diagram of a structure of a vehicle cabin external sight line estimation device provided in an embodiment of the present application;
[0020] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application are further described in detail through the following embodiments and in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all structures.
[0022] The embodiments of the present application can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor devices, and distributed computing environments including any of the above devices or equipment.
[0023] Embodiments of the present application may be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. Embodiments of the present application may also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0024] Figure 1 A schematic flow chart of a method for estimating the line of sight outside a vehicle cabin provided in an embodiment of the present application.
[0025] like Figure 1 As shown, the method may include:
[0026] S101, obtaining a driver image captured by a first camera and a vehicle front view image captured by a second camera.
[0027] The vehicle of the embodiment of the present application may be equipped with two cameras to collect image data, namely, a first camera and a second camera. The first camera may be set in the cockpit to collect image data including the driver. The second camera may be a forward-looking camera set outside the cockpit. For example, the second camera may be set at the center of the upper edge of the front windshield. Of course, it may also be installed in other positions, as long as it can collect the driver's line of sight outside the cockpit. The second camera is used to collect image data outside the vehicle cockpit. The vehicle's forward-looking image may include targets such as pedestrians, cars, obstacles, road signs, animals or signs. The range of data collection by the second camera may be the range within the line of sight of the vehicle driver outside the vehicle cockpit.
[0028] Optionally, the first camera and the second camera can capture images at the same acquisition frequency, so that the frames of images captured by the first camera and the second camera are basically at the same time. Therefore, the driver image and the vehicle front view image at the same time can be matched to participate in the subsequent driver's line of sight estimation process outside the cockpit.
[0029] Optionally, the first camera and the second camera may also capture images at different acquisition frequencies, that is, the frames of images captured by the first camera and the second camera may be different in time. To this end, the image captured by the first camera and the image captured by the second camera may be matched according to the time difference between the two, and the two images with a time difference value less than a preset threshold are taken as matching images.
[0030] By matching the acquired driver image and the vehicle front view image in time, data asynchrony can be avoided and the accuracy of the driver's line of sight estimation outside the vehicle cabin can be improved.
[0031] S102: Determine a face image in the driver image and a plurality of target images in the vehicle front view image.
[0032] After acquiring the driver image and the vehicle front view image, the face image in the driver image and the targets contained in the vehicle front view image, such as pedestrians, cars, obstacles, road signs, animals or signs, can be acquired to obtain the corresponding target images.
[0033] Optionally, the face image in the driver image can be determined by a face detection model, and the target detection model can be used to perform target detection on the vehicle front view image to obtain multiple target images in the vehicle front view image. The face detection model can be a pre-trained model for recognizing face images. For example, the face detection model can be Dlib, MTCNN (Multi-task Cascaded Convolutional Networks), OpenCV, RetinaFace, or CenterFace. The target detection model can be a pre-trained model for detecting multiple targets in an image. For example, the target detection model can be Fast R-CNN, Mask-R-CNN, Faster R-CNN, or Yolo (You Only Look Once), etc.
[0034] S103 . For each target image, determine a predicted probability that the target image is a driver's gaze target in the vehicle's front view image based on the face image, the target image, the vehicle's front view image, and a preset line of sight estimation model.
[0035] The preset sight line estimation model is a model that is pre-trained based on training data and is used to determine the predicted probability that the target image is the driver's gaze target in the vehicle's front view image.
[0036] One of the target images is selected, and the face image, the target image, and the front view image of the vehicle are input into a preset sight line estimation model for processing to obtain the predicted probability that the target image is the driver's gaze target in the front view image of the vehicle. The next target image is selected, and the above process is repeated until the last target image, thereby obtaining the predicted probability corresponding to each target image.
[0037] In this embodiment, the driver's gaze target is comprehensively determined through the driver image data in the cockpit, the panoramic image data outside the cockpit, and the target image data. The image data outside the cockpit is introduced to pay attention to the changes in the driver's line of sight during driving, making the line of sight estimation result more accurate.
[0038] S104: Determine the driver's gaze target in the vehicle front view image according to each prediction probability.
[0039] After obtaining the prediction probabilities corresponding to the multiple target images, the prediction probabilities can be sorted in a preset order, and the driver's gaze target in the vehicle front view image can be determined based on the sorting result. Optionally, the target image with the largest prediction probability can be determined as the driver's gaze target in the vehicle front view image.
[0040] The method for estimating the line of sight outside the vehicle cabin provided in an embodiment of the present application obtains a driver image captured by the first camera and a vehicle front view image captured by the second camera according to a first camera and a second camera included in the vehicle, determines a face image in the driver image and multiple target images in the vehicle front view image, and for each target image, determines a predicted probability that the target image is a gaze target of the driver in the vehicle front view image according to the face image, the target image, the vehicle front view image and a preset line of sight estimation model, and determines the gaze target of the driver in the vehicle front view image according to each predicted probability, that is, converts the driver's line of sight estimation into a target estimation. Compared with the traditional method of determining the driver's line of sight by vector estimation, there is no need to mark the pitch angle and yaw angle of the driver's line of sight, which not only improves the accuracy of the driver's line of sight estimation outside the vehicle cabin, but also reduces the cost of driver line of sight estimation.
[0041] In one embodiment, optionally, the preset sight estimation model may include: a feature extraction network, an attention calculation network, and a perceptron network. Figure 2 As shown, the above-mentioned method of determining the predicted probability that the target image is the driver's gaze target in the vehicle front view image based on the face image, the target image, the vehicle front view image and the preset sight line estimation model may include:
[0042] S201. Perform feature extraction on the face image, the vehicle front view image and the target image respectively through a feature extraction network to obtain corresponding face image features, panoramic image features and target image features.
[0043] Optionally, the feature extraction network may be a convolutional neural network, such as ResNet-18.
[0044] See also Figure 3 The feature extraction network may include a first feature extraction network, a second feature extraction network and a third feature extraction network. The face image is input into the first feature extraction network for processing to obtain face image features. The front view image of the vehicle is input into the second feature extraction network for processing to obtain panoramic image features. The target image is input into the third feature extraction network for processing to obtain target image features.
[0045] S202, performing attention calculation on facial image features, panoramic image features and target image features through an attention calculation network to obtain fusion features.
[0046] By introducing the attention mechanism to process facial image features, panoramic image features and target image features, the weights of important features are increased and the weights of unimportant features are weakened. At the same time, the facial image features in the cockpit and the panoramic image features and target image features outside the cockpit are comprehensively considered, and the fused features are used for prediction to improve the accuracy of the prediction results.
[0047] Optionally, the above S202 may include: using the facial image features as the Q (query) vector of the attention calculation network, and the sum of the panoramic image features and the target image features as the K (key) vector and V (value) vector of the attention calculation network, performing attention calculation on the facial image features, the panoramic image features and the target image features through the attention calculation network to obtain fused features.
[0048] That is, the facial image feature is used as the Q vector of the attention calculation network, and the sum of the panoramic image feature and the target image feature is used as the K vector and V vector of the attention calculation network. The attention calculation result is obtained based on the attention calculation formula. This attention calculation result represents the attention representation of the facial image feature under the action of the panoramic image feature and the target image feature (i.e., the fusion feature). Optionally, the above attention calculation formula can be to splice the Q vector and the K vector on the vertical axis, make a linear change, and then process it with softmax, and perform tensor multiplication of the softmax processing result with the V vector.
[0049] S203, processing the fused features through a perceptron network to obtain a predicted probability that the target image is the driver's gaze target in the vehicle's front view image.
[0050] Optionally, the perceptron network may be a linear variation layer. After obtaining the fused features, the fused features are input into the perceptron network for processing to obtain a predicted probability that the target image is the driver's gaze target in the vehicle front view image.
[0051] In this embodiment, by introducing the attention mechanism, the driver's facial image features in the cockpit and the panoramic image features and target image features outside the cockpit are fused, and the driver's gaze target outside the cockpit is estimated based on the fused features, thereby further improving the accuracy of the driver's line of sight estimation.
[0052] In one embodiment, optionally, Figure 4 As shown, the above preset sight estimation model is trained through the following steps:
[0053] S401, obtaining training data; wherein the training data includes sample face images in sample driver images, sample vehicle front view images, sample target images in sample vehicle front view images, and annotation results of whether the sample target images are the driver's gaze targets in the sample vehicle front view images.
[0054] In an embodiment of the present application, the training data may include a sample driver image captured by the first camera and a sample vehicle front view image captured by the second camera. Further, a sample face image in the sample driver image and a sample target image in the sample vehicle front view image may be determined, and the real gaze target of the driver in the sample vehicle front view image may be annotated, that is, a manual annotation method may be used to generate an annotation result of whether the sample target image is the gaze target of the driver in the sample vehicle front view image.
[0055] S402, taking the sample face image, the sample vehicle front view image and the sample target image as the input of the preset line of sight estimation model, taking the annotation result as the expected output of the preset line of sight estimation model, and training the preset line of sight estimation model based on the preset loss function.
[0056] The sample face image, the sample vehicle front view image and the sample target image are input into the preset line of sight estimation model to obtain the prediction result (i.e., the prediction probability) that the sample target image is the driver's gaze target in the sample vehicle front view image, the loss function value between the prediction result and the annotation result is calculated based on the preset loss function, the parameters of the preset line of sight estimation model are adjusted based on the loss function value, and after the adjustment, the second set of training data is input into the preset line of sight estimation model for processing, and the loss function value of the second set of training data is calculated, and the parameters of the preset line of sight estimation model are adjusted using the loss function value of the second set of training data, and the above steps are repeated in sequence to continuously adjust the parameters of the preset line of sight estimation model according to the loss function value calculated for each set until the preset convergence condition is reached to obtain a trained preset line of sight estimation model.
[0057] That is, in this embodiment, only the gaze target outside the driver's cabin needs to be marked, and there is no need to mark the pitch angle and yaw angle of the driver's line of sight. By continuously adjusting the parameters of the preset line of sight estimation model, the preset line of sight estimation model can be trained better, thereby improving the accuracy of the preset line of sight estimation model.
[0058] Figure 5 A schematic diagram of a structure of a vehicle cabin external sight line estimation device provided in an embodiment of the present application. The vehicle includes a first camera and a second camera, such as Figure 5 As shown, the device includes: an acquisition module 501 and a processing module 502.
[0059] Specifically, the acquisition module 501 is used to acquire the driver image acquired by the first camera and the vehicle front view image acquired by the second camera;
[0060] The processing module 502 is used to determine the facial image in the driver image and multiple target images in the vehicle front view image; for each target image, based on the facial image, the target image, the vehicle front view image and a preset line of sight estimation model, determine the predicted probability that the target image is the driver's gaze target in the vehicle front view image; based on each predicted probability, determine the driver's gaze target in the vehicle front view image; wherein the preset line of sight estimation model is trained based on training data.
[0061] Based on the above embodiment, optionally, the preset sight estimation model includes: a feature extraction network, an attention calculation network and a perceptron network;
[0062] The processing module 502 is also used to perform feature extraction on the facial image, the vehicle front view image and the target image respectively through the feature extraction network to obtain corresponding facial image features, panoramic image features and target image features; perform attention calculation on the facial image features, the panoramic image features and the target image features through the attention calculation network to obtain fused features; and process the fused features through the perceptron network to obtain the predicted probability that the target image is the driver's gaze target in the vehicle front view image.
[0063] Based on the above embodiment, optionally, the processing module 502 is also used to use the facial image features as the Q vector of the attention calculation network, and the sum of the panoramic image features and the target image features as the K vector and V vector of the attention calculation network, and perform attention calculation on the facial image features, the panoramic image features and the target image features through the attention calculation network to obtain fusion features.
[0064] Optionally, the feature extraction network is a convolutional neural network.
[0065] On the basis of the above embodiment, optionally, the processing module 502 is further configured to determine the target image with the largest predicted probability as the driver's gaze target in the vehicle front view image.
[0066] Based on the above embodiment, optionally, the processing module 502 is further used to determine a face image in the driver image by using a face detection model; and to determine a plurality of target images in the vehicle front view image by using a target detection model.
[0067] Based on the above embodiment, optionally, the device further includes a training module.
[0068] The acquisition module 501 is also used to acquire training data; wherein the training data includes a sample face image in a sample driver image, a sample vehicle front view image, a sample target image in the sample vehicle front view image, and a labeling result of whether the sample target image is a gaze target of the driver in the sample vehicle front view image;
[0069] The training module is used to use the sample face image, the sample vehicle front view image and the sample target image as the input of the preset line of sight estimation model, and the annotation result as the expected output of the preset line of sight estimation model, and train the preset line of sight estimation model based on a preset loss function.
[0070] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, the device includes a processor 60, a memory 61, an input device 62 and an output device 63; the number of the processor 60 in the device can be one or more. Figure 6 A processor 60 is taken as an example; the processor 60, memory 61, input device 62 and output device 63 in the device can be connected by a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0071] The memory 61 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the vehicle cockpit external sight line estimation method in the embodiment of the present application (for example, the acquisition module 501 and the processing module 502 in the vehicle cockpit external sight line estimation device). The processor 60 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 61, that is, realizing the above-mentioned vehicle cockpit external sight line estimation method.
[0072] The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created during the vehicle cockpit sight estimation process, etc. In addition, the memory 61 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 61 may further include a memory remotely arranged relative to the processor 60, and these remote memories may be connected to the device / terminal / server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0073] The input device 62 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 63 may include a display device such as a display screen.
[0074] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0075] Acquire the driver image captured by the first camera and the vehicle front view image captured by the second camera;
[0076] Determining a face image in the driver image and a plurality of target images in the vehicle front view image;
[0077] For each target image, determining a predicted probability that the target image is a driver's gaze target in the vehicle's front view image according to the face image, the target image, the vehicle's front view image, and a preset sight line estimation model; wherein the preset sight line estimation model is trained based on training data;
[0078] According to each prediction probability, a driver's gaze target in the vehicle front view image is determined.
[0079] The vehicle cabin sight line estimation device, electronic device, and storage medium provided in the above embodiments can execute the vehicle cabin sight line estimation method provided in any of the above embodiments, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiments, please refer to the vehicle cabin sight line estimation method provided in any of the above embodiments.
[0080] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0081] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for estimating sight lines outside a vehicle cabin, characterized in that: The vehicle includes a first camera and a second camera, and the method includes: Acquire the driver image captured by the first camera and the vehicle front view image captured by the second camera; Determining a face image in the driver image and a plurality of target images in the vehicle front view image; For each target image, determining a predicted probability that the target image is a driver's gaze target in the vehicle's front view image according to the face image, the target image, the vehicle's front view image, and a preset sight line estimation model; wherein the preset sight line estimation model is trained based on training data; According to each prediction probability, a driver's gaze target in the vehicle front view image is determined.
2. The method according to claim 1, characterized in that The preset sight estimation model includes: a feature extraction network, an attention calculation network and a perceptron network; The step of determining the predicted probability that the target image is a driver's gaze target in the vehicle front view image according to the face image, the target image, the vehicle front view image, and a preset sight line estimation model comprises: The feature extraction network is used to extract features of the face image, the front view image of the vehicle and the target image respectively, so as to obtain corresponding face image features, panoramic image features and target image features; Performing attention calculation on the facial image features, the panoramic image features and the target image features through the attention calculation network to obtain fusion features; The fusion features are processed by the perceptron network to obtain a predicted probability that the target image is a driver's gaze target in the vehicle front view image.
3. The method according to claim 2, characterized in that The step of performing attention calculation on the facial image features, the panoramic image features and the target image features through the attention calculation network to obtain fusion features includes: The facial image feature is used as the Q vector of the attention calculation network, and the sum of the panoramic image feature and the target image feature is used as the K vector and V vector of the attention calculation network. The attention calculation network is used to perform attention calculation on the facial image feature, the panoramic image feature and the target image feature to obtain a fusion feature.
4. The method according to claim 2, characterized in that: The feature extraction network is a convolutional neural network.
5. The method according to claim 1, characterized in that Determining the driver's gaze target in the vehicle forward view image according to each predicted probability includes: The target image with the maximum predicted probability is determined as the driver's gaze target in the vehicle front view image.
6. The method according to claim 1, characterized in that The determining of the face image in the driver image and the plurality of target images in the vehicle front view image comprises: Determine a face image in the driver image by using a face detection model; A plurality of target images in the vehicle front view image are determined by a target detection model.
7. The method according to any one of claims 1 to 6, characterized in that The preset sight line estimation model is trained by the following steps: Acquire training data; wherein the training data includes a sample face image in a sample driver image, a sample vehicle front view image, a sample target image in the sample vehicle front view image, and a labeling result of whether the sample target image is a gaze target of the driver in the sample vehicle front view image; The sample face image, the sample vehicle front view image and the sample target image are used as inputs of the preset line of sight estimation model, the annotation results are used as expected outputs of the preset line of sight estimation model, and the preset line of sight estimation model is trained based on a preset loss function.
8. A vehicle cabin external sight line estimation device, characterized in that: The vehicle comprises a first camera and a second camera, and the device comprises: An acquisition module, used to acquire the driver image acquired by the first camera and the vehicle front view image acquired by the second camera; A processing module is used to determine a facial image in the driver image and multiple target images in the vehicle front view image; for each target image, based on the facial image, the target image, the vehicle front view image and a preset line of sight estimation model, determine the predicted probability that the target image is the driver's gaze target in the vehicle front view image; based on each predicted probability, determine the driver's gaze target in the vehicle front view image; wherein the preset line of sight estimation model is trained based on training data.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Visual attention capturing method and system of image and readable storage medium
CN111985341A
Method and device for tracking sight outside vehicle cabin, vehicle and storage medium
CN115116039A
