Driver attention reminding method and device, storage medium and electronic equipment
By acquiring images of the driver's eyes and the external environment, it can determine the consistency of the sight direction and the position of important information. If there is any inconsistency, the driver will be reminded, which solves the problem of driver distraction and improves driving safety.
Patent Information
- Application Number
- CN202411113122.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-08
AI Technical Summary
During driving, drivers are distracted due to excessive information and fatigue in their field of vision, and are unable to pay attention to important information in a timely manner, which may lead to traffic accidents.
By obtaining the image of the driver's eye area and the external environment image, it is determined whether the driver's sight direction is consistent with the location of important information. If it is inconsistent, an attention reminder is provided. The computing platform and projection equipment are used to generate the visual field image, integrating the real scene and auxiliary information to remind the driver of important information.
It effectively avoids distraction caused by complicated visual field content and fatigue, improves the driver's attention to important information, and improves driving safety.
Smart Images

Figure CN118744734A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to artificial intelligence technology and computer-assisted driving technology, and in particular to a driver attention reminder method, device, storage medium and electronic device. Background Art
[0002] With the continuous development of intelligent driving technology, many vehicles are equipped with Head Up Display (HUD). In this way, when driving a vehicle, the driver's field of vision will not only contain rich real scene information, such as pedestrians, vehicles, zebra crossings, etc. outside the vehicle, but also driving assistance information projected by the HUD, such as vehicle instrument information, navigation information, etc. Due to the excessive amount of information in the driver's field of vision, the driver's attention is distracted, making it impossible for the driver to pay attention to important information in time; in addition, due to fatigue during driving, the driver may not pay attention to important information in time. The above factors may affect the driver's safe driving and easily lead to traffic accidents. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a driver attention reminder method.
[0004] One aspect of an embodiment of the present disclosure provides a method for reminding the driver of his attention, comprising: obtaining first orientation information corresponding to a first element in a field of view image; obtaining second orientation information corresponding to the driver's line of sight direction based on a first image including an eye area of the driver inside a vehicle; and reminding the driver of his attention in response to inconsistency between the first orientation information and the second orientation information.
[0005] Another aspect of an embodiment of the present disclosure provides a driver attention reminder device, including: a first orientation determination module, used to obtain first orientation information corresponding to a first element in a field of view image; a second orientation determination module, used to obtain second orientation information corresponding to the driver's line of sight direction based on a first image including an eye area of the driver inside a vehicle; and a reminder module, used to remind the driver's attention in response to inconsistency between the first orientation information and the second orientation information.
[0006] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned driver attention reminder method.
[0007] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; and the processor for reading the executable instructions from the memory and executing the instructions to implement the above-mentioned driver attention reminder method.
[0008] Based on the embodiments of the present disclosure, by obtaining the first orientation information corresponding to the first element (for example, a relatively important element, an element that the driver needs to pay attention to) in the field of view image, and based on the first image including the eye area of the driver inside the vehicle, obtaining the second orientation information corresponding to the driver's line of sight direction, it is possible to determine whether the driver's line of sight direction is consistent with the orientation of the first element based on whether the first orientation information is consistent with the second orientation information, that is, determine whether the driver's line of sight is toward the first element. When the first orientation information is inconsistent with the second orientation information, it means that there is a deviation between the driver's line of sight direction and the orientation of the first element, and the driver may not have paid attention to the first element. The driver is reminded so that he can pay attention to the first element in time. Thereby, it can effectively avoid the situation where the driver fails to pay attention to the first element in time due to distraction caused by complicated content in the field of view, fatigue driving, etc., which helps to improve driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A schematic diagram of an application scenario of an embodiment of the present disclosure is shown.
[0010] Figure 2 It is a flowchart of a method for reminding a driver's attention provided by an exemplary embodiment of the present disclosure.
[0011] Figure 3 It is a schematic diagram of an exemplary process of obtaining a visual field image in an embodiment of the present disclosure.
[0012] Figure 4 It is a schematic diagram of the projection device provided in the embodiment of the present disclosure projecting information to be projected.
[0013] Figure 5 It is a flowchart of step S310 provided by an exemplary embodiment of the present disclosure.
[0014] Figure 6 It is a flowchart of a method for reminding a driver's attention provided by another exemplary embodiment of the present disclosure.
[0015] Figure 7 It is a flowchart of a method for reminding a driver's attention provided by another exemplary embodiment of the present disclosure.
[0016] Figure 8A flowchart for determining whether first position information is consistent with second position information provided by an exemplary embodiment of the present disclosure.
[0017] Fig. 9 It is a flowchart of a method for reminding a driver's attention provided by another exemplary embodiment of the present disclosure.
[0018] Fig.10 It is a flowchart of a method for reminding a driver's attention provided by another exemplary embodiment of the present disclosure.
[0019] Fig.11 It is a flowchart of a method for reminding a driver's attention provided by another exemplary embodiment of the present disclosure.
[0020] Fig.12 It is a flowchart of data processing for driver attention reminder provided by an embodiment of the present disclosure.
[0021] Fig.13 It is a structural block diagram of a driver attention reminder device in one embodiment of the present disclosure.
[0022] Fig.14 It is a structural block diagram of a driver attention reminder device in another embodiment of the present disclosure.
[0023] Fig.15 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.
[0025] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0026] Application Overview
[0027] In the process of realizing the present disclosure, the inventor found through research that during the driving process of the vehicle, since there is usually a wealth of real-life information and auxiliary driving information in the driver's field of vision, this causes the driver's attention to be distracted and he cannot notice important information in time, which may cause traffic accidents or traffic violations. For example, during the driving process of the vehicle, the driver failed to notice the traffic sign prohibiting turning at the intersection in time and made a turn, resulting in a traffic violation. In addition, when the driver is driving fatigued, the driver may not be able to notice important information in time, which may cause traffic accidents or traffic violations.
[0028] Exemplary Systems
[0029] The technical solution disclosed in the present invention can be used to remind users of important information that they fail to notice in time, and it can be applied to a variety of application scenarios. For example, by detecting whether the driver is currently paying attention to the first element that requires the driver's attention (for example, traffic lights, moving pedestrians, etc.), and reminding the driver to pay attention when the driver does not pay attention to the first element. The application of the technical solution disclosed in the present invention is not limited to driving scenarios, and this solution can be used for any device that requires human-computer interaction, such as mobile terminals, to remind users of their attention.
[0030] Figure 1 FIG. 1 is a schematic diagram showing an application scenario of an embodiment of the present disclosure. Figure 1 As shown, a first image acquisition device 2, a second image acquisition device 3, a computing platform 4 and a projection device 5 are deployed on the vehicle 1. Among them, the first image acquisition device 2 and the second image acquisition device 3 are respectively arranged in the vehicle cabin and outside the vehicle cabin. The second image acquisition device 3 can be arranged at the front, top or side of the vehicle, etc. The computing platform 4 is used to process the images acquired by the first image acquisition device 2 and the second image acquisition device 3. The Advanced Driving Assistance System (ADAS) can also be deployed on the computing platform 4. Driving assistance information, vehicle instrument information, etc. can be generated through ADAS. For example, navigation information, obstacle information, traffic sign information, road sign information, vehicle instrument information, etc. can be obtained through ADAS. The projection device 5 can be used to project the information to be projected. The information to be projected can include, for example, navigation information, obstacle information, traffic sign information, road sign information, vehicle instrument information, etc. obtained from ADAS. The projection device 5 can be, for example, a HUD, etc.
[0031] During the driving process of the vehicle 1, the first image including the driver's eye area in the vehicle cabin is collected by the first image acquisition device 2, and the second image including the external environment of the vehicle is collected by the second image acquisition device 3. The computing platform 4 obtains the second orientation information corresponding to the driver's sight direction based on the first image, and performs image fusion on the second image and the information to be projected in the projection device 5 to obtain the field of view image, and then determines the first orientation information corresponding to the first element based on the field of view image, and then determines whether the first orientation information and the second orientation information are consistent, and when the first orientation information and the second orientation information are inconsistent, the driver is reminded to pay attention. Among them, the first element may include, for example, at least one of the following: traffic signs, traffic lights, vehicle instrument information, auxiliary driving information, pedestrians, vehicles and obstacles, etc.
[0032] In the disclosed embodiment, it is possible to determine whether the driver's line of sight is toward the first element based on whether the first position information of the first element is consistent with the second position information corresponding to the driver's line of sight. When the first position information is inconsistent with the second position information, that is, the driver's line of sight deviates from the first element, the driver is reminded to pay attention to the first element in time. In this way, it is possible to effectively avoid the situation where the driver fails to notice the first element in time due to distraction caused by complex contents in the field of vision, thereby improving driving safety.
[0033] Exemplary Methods
[0034] Figure 2 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a problem provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to vehicles, such as vehicles, airplanes, etc. Figure 2 As shown, the following steps are included:
[0035] Step S200: obtaining first position information corresponding to a first element in a field of view image.
[0036] The first element may be an element that requires the driver's attention. Exemplarily, the first element may include at least one of the following: traffic signs, traffic lights, vehicle instrument information, auxiliary driving information, pedestrians, vehicles, and obstacles. Traffic signs may include at least one of the following: turn signs and speed limit signs. The auxiliary driving information may include at least one of the following: navigation information, map information, road condition information, distance information from the vehicle in front, etc. Obstacles may include roadblocks, railings, and curbs.
[0037] The field of view image may be an image corresponding to the area seen by the driver. The field of view image may, for example, include information that appears in the driver's field of view. Exemplarily, the field of view image may include the external environment of the vehicle in the driver's field of view and / or information projected by a projection device. Among them, the information projected by the projection device may, for example, include at least one of the following: auxiliary driving information and instrument information of the vehicle, etc. The first orientation information is used to indicate the direction and / or position information corresponding to the first element in the field of view image. The first orientation information may, for example, include the coordinate value of the first element in the pixel coordinate system corresponding to the field of view image.
[0038] Step S210, based on the first image including the eye area of the driver inside the vehicle, obtain second orientation information corresponding to the sight direction of the driver.
[0039] The vehicle may include, but is not limited to, a vehicle, a flying device (e.g., an airplane, an aircraft, etc.), a ship, or a (passenger) mobile device, etc. The first image may include the eye area of the driver. Exemplarily, the first image may be an eye area image of the driver, or the first image may also be a facial image, a head image, an upper body image, etc. including the eye area.
[0040] The driver's view direction may be the direction of a ray connecting the driver's viewpoint and the center point of the observed scene. The second orientation information is used to indicate the direction and / or position information corresponding to the driver's view direction in the field of view image. The second orientation information may, for example, include the coordinate value of the view direction in the pixel coordinate system corresponding to the field of view image.
[0041] In an optional implementation, based on the first image, the gaze estimation method can be used to determine the orientation information corresponding to the driver's gaze direction in the field of view image, and the orientation information can be used as the second orientation information. Exemplarily, the sight estimation method can be used to perform sight evaluation on the driver's sight direction. For example, based on the eye area in the first image, the eye feature points (such as the corners of the eye, pupils, reflective points, etc.) can be determined, and then the gaze direction (gaze) can be determined based on the eye feature points, wherein the gaze method includes a pitch angle (pitch) and a yaw angle (yaw), and then the second orientation information is determined based on the gaze direction.
[0042] Step S220: In response to the inconsistency between the first position information and the second position information, reminding the driver to pay attention.
[0043] In the embodiments of the present disclosure, it is possible to determine whether the first position information is consistent with the second position information in a variety of ways. For example, in some optional implementations, it is possible to determine whether the first position information is consistent with the second position information based on the distance between the first position information and the second position information.
[0044] Exemplarily, the distance between the first orientation information and the second orientation information, such as the Euclidean distance, the Mahalanobis distance, etc., can be calculated. When the distance is greater than a preset distance threshold, it can be determined that the first orientation information is inconsistent with the second orientation information; when the distance is less than or equal to the preset distance threshold, it can be determined that the first orientation information is consistent with the second orientation information.
[0045] When the first orientation information is consistent with the second orientation information, it means that the driver's line of sight is consistent with the direction of the first element, that is, the driver has noticed the first element, and the driver's attention may not be reminded. When the first orientation information is inconsistent with the second orientation information, it means that there is a deviation between the driver's line of sight and the direction of the first element, that is, the driver has not noticed the first element, and the driver's attention may be reminded.
[0046] In the disclosed embodiment, it is possible to determine whether the driver's line of sight is consistent with the position of the first element based on whether the first position information is consistent with the second position information, that is, to determine whether the driver's line of sight is toward the first element. When the first position information is inconsistent with the second position information, it indicates that there is a deviation between the driver's line of sight and the position of the first element, and the driver may not have paid attention to the first element. The driver is reminded so that he can pay attention to the first element in time. This can effectively avoid the situation where the driver fails to pay attention to the first element in time due to distraction caused by complex content in the field of vision, fatigue driving, etc., which helps to improve driving safety.
[0047] In some optional implementations, the field of view image in the embodiment of the present disclosure may be obtained by acquiring a second image captured for the vehicle environment, and generating the field of view image based on the second image. For example, the vehicle environment may include the vehicle external environment and / or the vehicle internal environment.
[0048] The second image may be an image corresponding to the vehicle environment in the driver's field of view. The second image may, for example, include the vehicle's external environment in the driver's field of view.
[0049] In one embodiment, a first image acquisition device disposed outside the vehicle can be used to capture the front area outside the vehicle cabin (the vehicle's external environment) to obtain a second image, and the second image can be used as a field of view image; alternatively, first image acquisition devices in different orientations on the vehicle can be used to separately capture multiple second images, and then the multiple second images are fused to obtain a field of view image.
[0050] After obtaining the visual field image, the visual field image may be subjected to denoising, cropping and other processing to improve the image quality of the visual field image.
[0051] In the embodiment of the present disclosure, the field of view image is determined using the second image of the vehicle's external environment included in the driver's field of view, so that the field of view image includes the vehicle's external environment actually observed by the driver, thereby improving the accuracy of the field of view image.
[0052] Figure 3 FIG. 1 is a schematic diagram of an exemplary process for obtaining a visual field image in an embodiment of the present disclosure. Figure 3As shown, in some other optional implementations, the field of view image can also be obtained in the following manner:
[0053] Step S300: Acquire a second image captured for the vehicle environment and at least one information to be projected.
[0054] The information to be projected may be information projected into the driver's field of view by a projection device (eg, HUD). Figure 4 Schematic diagram of a projection device provided by an embodiment of the present disclosure projecting information to be projected. Figure 4 As shown, the carrier can be a vehicle, the projection device can be a HUD, the HUD is arranged inside the vehicle, the HUD projects a projection image including the information to be projected to the outside of the vehicle, and the projection image is located in front of the driver (in the driver's field of view) so that the driver can see the projection image.
[0055] The information to be projected includes at least one of the following: vehicle instrument information, navigation information, traffic sign information, static elements and dynamic elements outside the vehicle, entertainment information played by the vehicle, and communication information sent and received by the vehicle.
[0056] The vehicle's instrument information may include, but is not limited to, the vehicle's fuel level information, mileage information, or power information. Static elements may include, but are not limited to, traffic signs, road signs, traffic lights, trees, green belts, curbs, railings, or billboards. Dynamic elements may include, but are not limited to, vehicles, pedestrians, animals, or drones. Entertainment information may include, but is not limited to, music, videos, news, or games; communication information may include, but is not limited to, phone calls, text messages, WeChat, or emails.
[0057] Step S310: Fusing at least one information to be projected with the second image to obtain a field of view image.
[0058] In one implementation, the information to be projected and the second image may be subjected to image fusion processing using image fusion methods such as pyramid fusion, Poisson Blending, and alpha-blending to obtain a field of view image including the vehicle environment and the information to be projected. In the disclosed embodiment, the field of view image is generated by fusing the information to be projected and the second image, so that the field of view image can include all the information observed by the driver, thereby enhancing the comprehensiveness of the field of view image.
[0059] Figure 5 FIG. 1 is a flow chart of step S310 provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, in some optional implementations, step S310 may include the following steps:
[0060] Step S311 , respectively obtaining the scaling coefficient, translation parameter and transparency adjustment coefficient corresponding to each piece of information to be projected.
[0061] In one implementation, a correspondence between the preset information to be projected and the scaling factor, a correspondence between the preset information to be projected and the translation parameter, and a correspondence between the preset information to be projected and the transparency adjustment coefficient may be preset.
[0062] Based on the correspondence between each preset information to be projected and the scaling factor, the correspondence between the preset information to be projected and the translation parameter, and the correspondence between the preset information to be projected and the transparency adjustment coefficient, the scaling factor, translation parameter and transparency adjustment coefficient corresponding to each information to be projected are obtained.
[0063] Step S312, adjusting each information to be projected according to the transparency adjustment coefficient, scaling coefficient, translation parameter and orientation information of each information to be projected, aligning and fusing the adjusted information to be projected with the second image to obtain a field of view image.
[0064] The orientation information of the information to be projected is used to indicate the direction and / or position corresponding to the information to be projected in the projected image. The orientation information of the information to be projected may include, for example, the coordinate value of the information to be projected in the pixel coordinate system corresponding to the projected image. The projected image is an image projected into the driver's field of vision by a projection device. The projected image may include at least one information to be projected. The orientation information of the information to be projected may be obtained from the projection device. The information to be projected may be adjusted and aligned and fused with the second image according to the transparency adjustment coefficient, scaling coefficient, translation parameter and orientation information corresponding to each information to be projected, using formula (1);
[0065]
[0066] In formula (1), output is the field of view image, alpha i is the transparency adjustment coefficient of the i-th information to be projected, resize i is the scaling factor of the i-th information to be projected, hud i (x, y) is the position information of the i-th information to be projected, (m i , n i ) is the translation parameter of the i-th information to be projected, camera outside is the image data of the second image, and N is the number of information to be projected. In this embodiment, the encoding format of the image data of the second image is not limited. For example, the image data of the second image can be encoded in red, green, and blue (RGB).
[0067] In a specific implementation, in actual applications, since the projection device does not project the information to be projected in real time, when the projection device does not project the information to be projected, the orientation information of the information to be projected can be set to (0, 0), and the transparency adjustment coefficient can be set to 0. That is, when the projection device does not project the information to be projected, when the image fusion is performed by formula (1), the hud i (x, y) = hud i (0, 0), alpha i = 0, then output = camera outside .
[0068] In the disclosed embodiment, each information to be projected is adjusted using the transparency adjustment coefficient, scaling coefficient, translation parameter and orientation information corresponding to each information to be projected, and aligned and fused with the second image after adjustment. Thus, each information to be projected can be aligned and fused into the second image according to its actual situation, thereby improving the accuracy of image fusion and making the obtained field of view image more consistent with the scene actually observed by the driver.
[0069] In some optional implementations, step S200 in the embodiment of the present disclosure may include: detecting the field of view image using the first model to obtain a detection result of at least one first element in the field of view image.
[0070] The first model is a pre-trained deep learning model. The first model may include, but is not limited to, a convolutional neural network (CNN), a recurrent neural network (RNN), a deep-learning neural network (DNN), a Transformer model, etc.
[0071] In one implementation, each first element may be input into a first model, and the first model outputs a detection result of each first element.
[0072] The detection result of each first element recognition includes the first position information and importance level information of the first element. Among them, the importance level information may include the importance level of the first element. The importance level of each first element indicates the importance of the first element. For example, when the importance level of the first element is higher, it means that the importance of the first element is higher.
[0073] In a specific implementation, the first element may include at least one of the following: vehicle instrument information, navigation information, traffic sign information, static elements and dynamic elements outside the vehicle, entertainment information played by the vehicle, and communication information sent and received by the vehicle.
[0074] In an optional embodiment, the first model can be obtained in the following manner: acquire multiple training images, then use the multiple training images to train the second model until a preset training end condition is met, and obtain the first model from the second model. The trained first model can be used to detect the first element.
[0075] Each training image is annotated with at least one first element, as well as first orientation annotation information and importance level annotation information of each first element. The second model is a model to be trained, and the second model here can be a CNN, RNN, DNN, Transformer model, etc., which is not limited in the embodiments of the present disclosure.
[0076] In one embodiment, the training image can be obtained as follows:
[0077] A plurality of first initial training images including the vehicle's external environment and a plurality of second initial training images including at least one information to be projected can be obtained. The first initial training images can be acquired by using a second image acquisition device disposed outside the vehicle cabin; and the second initial training images can be obtained from a projection device.
[0078] Each first initial training image is image-fused with a second initial training image to obtain a plurality of third initial training images. A plurality of third initial training images and a plurality of first initial training images constitute a plurality of training images. The image fusion method of the first initial training image and the second initial training image can refer to the image fusion method of the information to be projected and the second image, which will not be described in detail here.
[0079] In one embodiment, the second model may be trained in the following manner: each training image may be input into the second model, and the second model may output a training detection result, the training detection result including the training orientation information and the training importance level information of the first element in each training image, and based on the difference between the training orientation information and the first orientation annotation information of the first element in each training image, and the difference between the training importance level information and the importance level annotation information of the first element in each training image, a preset loss function is used to determine the loss function value. The preset loss function may include, but is not limited to, a cross entropy error function or a mean square error function, etc.
[0080] The operation of determining the loss function value can be iteratively performed, and the parameters of the second model can be iteratively adjusted to continuously reduce the loss function value until the loss function value converges, and it is determined that the preset training end condition is met, the training of the second model is completed, and the trained second model is used as the first model.
[0081] Parameter optimizers such as Stochastic Gradient Descent (SGD), Adaptive Gradient Algorithm (Adagrad), Adaptive Moment Estimation (Adam), Root Mean Square Prop (RMSprop) can be used to adjust the parameters of the second model. For example, the parameter optimizer can be used to calculate the gradient of each parameter of the second model, and the parameters can be adjusted along the direction of the gradient, where the gradient represents the direction in which the loss function value decreases the most, and the operation of iteratively determining the loss function value is performed until the loss function value of the second model no longer decreases, and the training of the second model is completed to obtain the first model.
[0082] In the disclosed embodiment, the powerful learning and detection capabilities of the first model can be utilized to efficiently and accurately detect the first element in the field of view image and obtain the detection result of the first element, thereby providing reliable data support for subsequently determining whether the driver is focusing on the first element based on the detection result of the first element.
[0083] In some optional implementations, step S210 in the embodiment of the present disclosure may include: estimating the line of sight direction of the driver based on the first image to obtain second orientation information.
[0084] In one implementation, the eye region in the first image can be used as a region of interest (ROI). Then, a CNN, RCNN or other model is used to detect the region of interest of the first image, and the region of interest of the first image is determined. Then, an image of the region of interest is extracted to obtain an eye region image. Then, based on the eye region image, a line of sight estimation method can be used to estimate the line of sight direction of the driver to determine the second orientation information.
[0085] In the embodiment of the present disclosure, by estimating the direction of the driver's line of sight based on the first image including the driver's eye area, second position information corresponding to the driver's line of sight can be accurately obtained, providing reliable data support for subsequently determining whether the driver has noticed the first element through the second position information.
[0086] Figure 6 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a problem provided by another exemplary embodiment of the present disclosure. Figure 6 As shown, in the embodiment of the present disclosure, estimating the sight line direction of the driver based on the first image to obtain the second orientation information may include the following steps:
[0087] Step S400: using a sight line estimation model to estimate the sight line direction of the first image to obtain the sight line direction information of the driver.
[0088] The line of sight estimation model may be a pre-trained deep learning model for estimating the line of sight direction. The line of sight estimation model may include, but is not limited to, CNN, RNN or long short-term memory network (Long Short-Term Memory, LSTM), etc. The line of sight direction information may include: the pitch angle and yaw angle of the line of sight.
[0089] In one implementation, the first image may be input into a sight line estimation model, and the sight line estimation model outputs sight line direction information.
[0090] Step S410, obtaining the orientation information corresponding to the sight line direction information in the field of view image to obtain second orientation information.
[0091] Among them, the pitch angle and yaw angle of the line of sight in the line of sight direction information can be converted into a coordinate system, that is, the line of sight direction information is converted from the angle coordinate system to the coordinate system corresponding to the field of view image, and the azimuth information corresponding to the line of sight direction information in the field of view image is obtained, and the azimuth information corresponding to the line of sight direction information in the field of view image is determined as the second azimuth information.
[0092] Exemplarily, assuming that the first orientation information includes the coordinate value of the first element in the pixel coordinates corresponding to the field of view image, the line of sight direction information can be converted from the angle coordinate system to the pixel coordinate system corresponding to the field of view image according to the pitch angle and yaw angle of the line of sight in the line of sight direction information to obtain the second orientation information, that is, the second orientation information includes the coordinate value of the line of sight direction in the pixel coordinates corresponding to the field of view image.
[0093] In the disclosed embodiment, the line of sight estimation model's powerful learning ability can be used to efficiently obtain line of sight direction information, and then the first direction information and the second direction information are unified into the field of view image by determining the direction information of the line of sight corresponding to the field of view image, thereby facilitating subsequent matching of the first direction information and the second direction information.
[0094] Figure 7 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a problem provided by another exemplary embodiment of the present disclosure. Figure 7 As shown, whether the first position information is consistent with the second position information can be determined in the following manner:
[0095] Step S500: Determine a first image region of the first element in the field of view image according to the first orientation information, wherein the first image region is an image region corresponding to the first element in the field of view image.
[0096] In one embodiment, the field of view image can be divided into multiple image areas according to preset area division parameters, and the multiple image areas include the first image area. The preset area division parameters may include: the width and height of the image area, and the shape of the image area. In some optional examples, the shape of the image area may be a rectangle, or may be any other shape such as a square, which is not limited in the embodiments of the present disclosure.
[0097] In one embodiment, the field of view image can be divided according to the width and height of the image area (preset area division parameters) to obtain multiple image areas. Afterwards, the first image area can be determined from the multiple image areas according to the coordinate value of the first element included in the first orientation information in the pixel coordinate system corresponding to the field of view image (first orientation information). The first image area can include one image area or multiple image areas.
[0098] Figure 8 FIG. 1 is a flowchart of determining whether the first position information is consistent with the second position information provided by an exemplary embodiment of the present disclosure. Figure 8 As shown, the field of view image is divided into 15 image regions according to the preset region division parameters. Exemplarily, assuming that the first element is a traffic light, the traffic light is located in the image regions numbered a4 and a9, that is, the image regions numbered a4 and a9 are the first image regions.
[0099] Step S510: Determine, based on the second orientation information, that the driver's sight line direction corresponds to a second image region in the field of view image. In the disclosed embodiment, the image region corresponding to the driver's sight line direction may be referred to as the second image region.
[0100] In one embodiment, the second image area can be determined in multiple image areas based on the coordinate value of the driver's line of sight included in the second orientation information in the pixel coordinate system corresponding to the field of view image (second orientation information), wherein the second image area can include one image area or multiple image areas.
[0101] Step S520: In response to the first image area being the same as the second image area, determining that the first orientation information is consistent with the second orientation information.
[0102] Among them, whether the first image area and the second image area are the same can be determined based on the position information, identification, etc. of the image area. Exemplarily, whether the first image area and the second image area are the same can be determined based on the position information of the center point of the first image area (for example, the coordinate value in the pixel coordinate system) and the position information of the center point of the second image area. Alternatively, whether the first image area and the second image area are the same can also be determined based on whether the identification of the first image area and the identification of the second image area are the same identification.
[0103] Alternatively, in step S530, in response to the first image area being different from the second image area, it is determined that the first orientation information is inconsistent with the second orientation information.
[0104] For example, the example in step S500 is also used for illustration. Figure 8 As shown, the driver's sight direction is located in the image areas numbered a2 and a7, that is, the image areas numbered a2 and a7 are the second image areas. The first image area is matched with the second image area to determine whether the first image area and the second image area are the same image area. Figure 8 It can be obtained that the first image area (the image areas numbered a4 and a9) and the second image area (the image areas numbered a2 and a7) are different image areas, and it is determined that the first orientation information is inconsistent with the second orientation information.
[0105] In the disclosed embodiment, the first image area corresponding to the first element and the second image area corresponding to the driver's sight direction are determined respectively by using the first orientation information and the second orientation information, so that the first element and the driver's sight direction are unified in the field of view image, thereby accurately and efficiently judging whether the first orientation information is consistent with the second orientation information, thereby determining whether the driver is focusing on the first element. In addition, the size of the image area can be controlled by adjusting the preset area division parameters, so that the sensitivity of the matching of the first orientation information and the second orientation information can be flexibly adjusted by adjusting the preset area division parameters.
[0106] Fig. 9 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a driver provided by another exemplary embodiment of the present disclosure. Fig. 9 As shown, whether the first position information is consistent with the second position information can be determined in the following manner:
[0107] Step S600: obtaining at least one second element of at least one first element whose importance level is greater than a preset importance level.
[0108] Among them, according to the importance level information of each first element, the first element whose importance level is greater than the preset importance level can be obtained, and the first element whose importance level is greater than the preset importance level can be determined as the second element.
[0109] Step S610: In response to the second position information being consistent with the first position information of any second element, determining that the first position information is consistent with the second position information.
[0110] The method of determining whether the second position information is consistent with the first position of the second element can refer to steps S500 to S530, which will not be described in detail here.
[0111] In a specific implementation, when the second position information is consistent with the first position information of any second element, it means that the driver has paid attention to a second element. At this time, it can be determined that the first position information is consistent with the second position information, and there is no need to remind the driver to pay attention.
[0112] Exemplarily, assuming that the second element is a traffic light and a pedestrian crossing the road, when the second position information is consistent with the first position information of the pedestrian crossing the road (the second element), it is determined that the first position information is consistent with the second position information, and there is no need to remind the driver to pay attention.
[0113] Alternatively, in step S620, in response to the first position information and the second position information of each second element being inconsistent, it is determined that the first position information and the second position information are inconsistent.
[0114] Among them, when the first position information and the second position information of each second element are inconsistent, it means that the driver has not noticed any second element, that is, the driver has not noticed any important information (second element) that needs attention, then it is determined that the first position information and the second position information are inconsistent, and the driver can be reminded to pay attention.
[0115] Fig.10 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a driver provided by another exemplary embodiment of the present disclosure. Fig.10 As shown, the following method may be used to determine whether the first position information is consistent with the second position information:
[0116] Step S630: In response to the at least one first element not including a second element with an importance level greater than a preset importance level, obtaining at least one first element with the highest importance level as at least one third element.
[0117] Among them, according to the importance level information of each first element, the first element with the highest importance level can be determined as the third element. The third element can be one or more.
[0118] Step S640: In response to the second position information being consistent with the first position information of any third element, determining that the first position information is consistent with the second position information.
[0119] The method of determining whether the second position information is consistent with the first position of the third element can refer to steps S500 to S530, which will not be described in detail here.
[0120] When the second position information is consistent with the first position information of any third element, it means that the driver has paid attention to at least one third element. At this time, it is determined that the first position information is consistent with the second position information, and there is no need to remind the driver to pay attention.
[0121] Alternatively, in step S650, in response to the first position information and the second position information of each third element being inconsistent, it is determined that the first position information and the second position information are inconsistent.
[0122] Among them, when the first position information and the second position information of each third element are inconsistent, it means that the driver has not paid attention to any third element. At this time, it is determined that the first position information and the second position information are inconsistent, and the driver can be reminded to pay attention.
[0123] It should be noted that there is no execution order between step S640 and step S650 in the embodiment of the present disclosure.
[0124] In the disclosed embodiment, the second element or the third element is determined by the importance level information of the first element, thereby efficiently determining the important information (the second element or the third element) that requires the driver's attention, and by determining whether the first orientation information of the second element or the third element is consistent with the second orientation information, it is possible to accurately judge whether the driver is focusing on the important information that requires attention, thereby improving the accuracy of judging the driver's attention.
[0125] Fig.11 FIG. 1 is a flow chart of a method for reminding a driver to pay attention to a driver provided by another exemplary embodiment of the present disclosure. Fig.11 As shown, whether the first position information is consistent with the second position information can also be determined in the following manner:
[0126] Step S700: Acquire at least one first element with the highest importance level as at least one fourth element.
[0127] Among them, according to the importance level information of each first element, the first element with the highest importance level can be selected from the first elements as the fourth element. The fourth element can be one or more.
[0128] Step S710: In response to the second position information being consistent with the first position information of any fourth element, determining that the first position information is consistent with the second position information.
[0129] The method of determining whether the second position information is consistent with the first position of the fourth element can refer to steps S500 to S530, which will not be repeated here.
[0130] When the second position information is consistent with the first position information of any fourth element, it means that the driver has paid attention to at least one fourth element. At this time, it is determined that the first position information is consistent with the second position information, and there is no need to remind the driver to pay attention.
[0131] Alternatively, in step S720, in response to the first position information and the second position information of each fourth element being inconsistent, it is determined that the first position information and the second position information are inconsistent.
[0132] Among them, when the first position information and the second position information of each fourth element are inconsistent, it means that the driver has not paid attention to any fourth element. At this time, it is determined that the first position information and the second position information are inconsistent, and the driver can be reminded to pay attention.
[0133] In the disclosed embodiment, by determining the first element with the highest importance level as the fourth element requiring the driver's attention, and using the second position information and the first position information of the fourth element, it can be efficiently determined whether the driver is focusing on the important information that requires attention.
[0134] In some optional embodiments, in the implementation of the present disclosure, the first image is obtained by using a first image acquisition device deployed in the vehicle cabin; or the second image is obtained by using a second image acquisition device deployed outside the vehicle cabin.
[0135] In one embodiment, a first image acquisition device is deployed in the vehicle cabin, and a second image acquisition device is deployed outside the vehicle cabin. Exemplarily, the first image acquisition device and the second image acquisition device can be a monocular camera, a binocular camera, or a depth camera, etc. The first image acquisition device can be arranged opposite to the driver, and the second image acquisition device can be arranged on the top and / or side of the vehicle, etc.
[0136] The first image acquisition device may be used to acquire images of an area including the driver's eyes to obtain a first image, and the second image acquisition device may be used to acquire images of an external environment of the vehicle to obtain a second image.
[0137] In the disclosed embodiment, image acquisition devices disposed inside and outside the vehicle cabin may be used to work together to simultaneously acquire the first image and the second image, thereby improving image acquisition efficiency.
[0138] In some optional embodiments, the method of reminding the driver's attention includes at least one of the following: vehicle seat vibration, vehicle steering wheel vibration, voice broadcast reminder information, display reminder message and buzzing warning.
[0139] In one embodiment, a single reminder method may be used to remind the driver to pay attention, or a combination of multiple reminder methods may be used to remind the driver to pay attention. Alternatively, the reminder method for reminding the driver to pay attention may be determined based on the first element. For example, when the first element is a traffic light or a traffic sign, the driver may be reminded to pay attention by a voice broadcast of the reminder information. When the first element is a pedestrian or a vehicle, the driver may be reminded to pay attention by a vibration of the vehicle steering wheel.
[0140] In the embodiment of the present disclosure, by setting a variety of reminder methods to remind the driver's attention, the driver's attention can be effectively reminded.
[0141] Fig.12 FIG. 1 is a flow chart of data processing for driver attention reminder provided by an embodiment of the present disclosure. Fig.12 As shown, data processing can include two parts: offline processing and online processing.
[0142] Offline processing includes:
[0143] A1, acquiring a plurality of first initial training images including the external environment of the vehicle;
[0144] A2, obtaining a second initial training image including the information to be projected, wherein there is no execution order between step A1 and step A2;
[0145] A3, performing image fusion on each first initial training image and one second initial training image to obtain a plurality of third initial training images, wherein the plurality of third initial training images and the plurality of first initial training images constitute a plurality of training images;
[0146] A4, using multiple training images to perform model training on the second model until a preset training end condition is met, and the first model is obtained from the second model.
[0147] Online processing includes:
[0148] A5, using a second image acquisition device to acquire a second image of the external environment of the vehicle;
[0149] A6, obtaining information to be projected from the HUD, wherein there is no execution order between step A5 and step A6;
[0150] A7, fusing at least one information to be projected with the second image to obtain a visual field image;
[0151] A8, detecting the visual field image using the first model to obtain first position information of a first element in the visual field image;
[0152] A9, using a first image acquisition device to acquire a first image, wherein step A8 and step A9 have no execution order;
[0153] A10, using a sight line estimation model to estimate the sight line direction of the first image to obtain sight line direction information of the driver;
[0154] A11, obtaining the orientation information corresponding to the sight line direction information in the field of view image, and determining the second orientation information;
[0155] A12, matching the first position information with the second position information to determine whether the first position information is consistent with the second position information;
[0156] A13, when the first position information is inconsistent with the second position information, reminding the driver to pay attention.
[0157] Exemplary Devices
[0158] Fig.13 : is a structural block diagram of a driver attention reminder device in one embodiment of the present disclosure. Fig.13 As shown, the driver attention reminding device includes: a first position determining module 800 , a second position determining module 810 and a reminding module 830 .
[0159] A first position determination module 800 is configured to obtain first position information corresponding to a first element in a field of view image;
[0160] The second position determination module 810 acquires second position information corresponding to the sight direction of the driver based on the first image including the eye area of the driver inside the vehicle;
[0161] The reminder module 830 is used to remind the driver to pay attention in response to the inconsistency between the first position information and the second position information.
[0162] Fig.14 is a structural block diagram of a driver attention reminder device in another embodiment of the present disclosure. In some optional examples, such as Fig.14 As shown, the driver attention reminder device provided by the embodiment of the present disclosure also includes:
[0163] The field of view image generation module 840 is used to obtain a second image collected for the vehicle environment and generate the field of view image based on the second image.
[0164] In some optional examples, the driver attention reminder device provided by the embodiments of the present disclosure further includes:
[0165] An image acquisition module 850 is used to acquire a second image collected for the vehicle environment and at least one information to be projected;
[0166] The image fusion module 860 is used to fuse the at least one information to be projected with the second image to obtain the field of view image.
[0167] In some optional examples, the image fusion module 860 provided by the embodiments of the present disclosure includes:
[0168] The parameter acquisition submodule 861 is used to respectively acquire the scaling factor, translation parameter and transparency adjustment factor corresponding to each of the information to be projected;
[0169] The image fusion submodule 862 is used to adjust each of the information to be projected according to the transparency adjustment coefficient, scaling coefficient, translation parameter and orientation information of each of the information to be projected, align and fuse the adjusted information to be projected with the second image to obtain the field of view image.
[0170] In some optional examples, the first element or the information to be projected in the driver attention reminder device provided by an embodiment of the present disclosure includes at least one of the following: instrument information of the vehicle, navigation information, traffic sign information, static elements and dynamic elements outside the vehicle, entertainment information played by the vehicle, and communication information sent and received by the vehicle.
[0171] In some optional examples, the first orientation determination module 800 provided by the embodiments of the present disclosure is specifically used to: use the first model to detect the field of view image to obtain a detection result of at least one first element in the field of view image, and the identification results of each first element respectively include the first orientation information and importance level information of each first element.
[0172] In some optional examples, the second orientation determination module 810 provided by the embodiments of the present disclosure is specifically used to estimate the line of sight direction of the driver based on the first image to obtain the second orientation information.
[0173] In some optional examples, the second position determination module 810 provided by the embodiments of the present disclosure includes:
[0174] A sight line estimation submodule 811 is used to estimate the sight line direction of the first image using a sight line estimation model to obtain the sight line direction information of the driver;
[0175] The second orientation information determining submodule 812 is used to obtain the orientation information corresponding to the sight line direction information in the field of view image to obtain the second orientation information.
[0176] In some optional examples, the driver attention reminder device provided by the embodiments of the present disclosure further includes:
[0177] A first image region determining module 870, configured to determine a first image region of the first element in the field of view image according to the first orientation information, wherein the field of view image is divided into a plurality of image regions according to a preset region division parameter, and the plurality of image regions include the first image region;
[0178] A second image region determining module 880, configured to determine, based on the second position information, that the sight line direction of the driver corresponds to a second image region in the field of view image;
[0179] A first determination module 890, configured to determine that the first position information is consistent with the second position information in response to the first image area being the same as the second image area;
[0180] The second judgment module 900 is configured to determine that the first orientation information is inconsistent with the second orientation information in response to the first image area being different from the second image area.
[0181] In some optional examples, the first image in the driver attention reminder device provided by an embodiment of the present disclosure is obtained using a first image acquisition device deployed in the vehicle cabin; the second image is obtained using a second image acquisition device deployed outside the vehicle cabin.
[0182] In some optional examples, in the driver attention reminder device provided by the embodiments of the present disclosure, the method of reminding the driver's attention includes at least one of the following: vehicle seat vibration, vehicle steering wheel vibration, voice broadcast reminder information, display reminder message and buzzing warning.
[0183] In the driver attention reminder device of the present disclosure, the various optional embodiments, optional implementation methods and optional examples disclosed above can be flexibly selected and combined as needed to achieve corresponding functions and effects, and the present disclosure does not list them one by one.
[0184] The driver attention reminding device disclosed in the present invention corresponds to the embodiment of the driver attention reminding method disclosed in the present invention, and the relevant contents can be referenced to each other and will not be repeated here.
[0185] The beneficial technical effects corresponding to the exemplary embodiment of the present device can be found in the corresponding beneficial technical effects of the above exemplary method section, which will not be repeated here.
[0186] Exemplary Electronic Devices
[0187] Fig.15 This is a structural diagram of an electronic device provided in an embodiment of the present disclosure. The electronic device 1000 includes at least one processor 1100 and a memory 1200 .
[0188] The processor 1100 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 1000 to perform desired functions.
[0189] The memory 1200 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1100 may run one or more computer program instructions to implement the driver attention reminder method and / or other desired functions of the various embodiments of the present disclosure described above.
[0190] In one example, the electronic device 1000 may further include: an input device 1300 and an output device 1400 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0191] The input device 1300 may include a keyboard, a mouse, various sensors, etc., wherein the sensors include but are not limited to: a pressure sensor for detecting seat pressure to determine whether there are passengers and the position of the passengers; a temperature sensor for monitoring the temperature in the cabin; a humidity sensor for monitoring the humidity in the cabin to assist in adjusting the interior environment of the vehicle; an air quality sensor for monitoring the air quality in the vehicle, such as carbon dioxide, volatile organic compounds (VOCs), etc.; a light sensor for detecting the light intensity inside and outside the vehicle; an acceleration sensor for detecting changes in the acceleration of the vehicle; a distance sensor for detecting the distance between the vehicle and other objects; a camera for monitoring the driver's facial expressions and line of sight; a touch screen sensor for interaction with the vehicle's infotainment system; biometric sensors, such as fingerprint recognition, facial recognition, etc.; a heart rate monitor for monitoring the driver's heart rate; a sound sensor for voice recognition and interaction to realize voice control functions; a seat sensor for monitoring the use of the seat, such as whether the seat is occupied and the body shape of the passenger; wireless communication sensors, such as Bluetooth, Wi-Fi, etc., for connecting with smart devices to realize data transmission and remote control. In addition to the examples given above, the processor may also include more or fewer sensors, which will not be described in detail here.
[0192] The output device 1400 can output various information or signals to other hardware or devices, which may include displays, printers, car audio, seats, windows, steering wheels, and communication networks and remote output devices connected thereto, etc. The display may include a plurality of different display screens such as a main driver's display screen, an accessory display screen, and a rear display screen, and the car audio may include a plurality of speakers arranged at different positions in the vehicle cabin, and different display screens or speakers may work independently.
[0193] Of course, to simplify, Fig.15 Only some of the components related to the present disclosure in the electronic device 1000 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 1000 may also include any other appropriate components.
[0194] Exemplary computer program products and computer-readable storage media
[0195] In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the driver attention reminder method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.
[0196] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0197] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the driver attention reminder method of various embodiments of the present disclosure described in the above “Exemplary Method” section.
[0198] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0199] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.
[0200] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A driver attention reminder method, comprising: Acquire first position information corresponding to the first element in the field of view image; Based on the first image including the eye area of the driver inside the vehicle, obtaining second orientation information corresponding to the sight direction of the driver; In response to the first position information being inconsistent with the second position information, the driver is reminded to pay attention.
2. The method according to claim 1, further comprising: A second image captured for the vehicle environment is acquired, and the field of view image is generated based on the second image.
3. The method according to claim 1, further comprising: Acquire a second image collected for the vehicle environment and at least one information to be projected; The at least one information to be projected is fused with the second image to obtain the field of view image.
4. The method according to claim 3, wherein: The step of fusing the at least one information to be projected with the second image to obtain the field of view image includes: Respectively obtaining a scaling factor, a translation parameter, and a transparency adjustment coefficient corresponding to each of the information to be projected; Each of the information to be projected is adjusted according to the transparency adjustment coefficient, the scaling coefficient, the translation parameter and the orientation information of each of the information to be projected, and the adjusted each of the information to be projected is aligned and fused with the second image to obtain the field of view image.
5. The method according to claim 3 or 4, wherein: The first element or the information to be projected includes at least one of the following: instrument information of the vehicle, navigation information, traffic sign information, static elements and dynamic elements outside the vehicle, entertainment information played by the vehicle, and communication information sent and received by the vehicle.
6. The method according to any one of claims 1 to 5, wherein: The obtaining first position information of the first element in the field of view image includes: The field of view image is detected using a first model to obtain a detection result of at least one first element in the field of view image, wherein the detection result of each first element includes first orientation information and importance level information of each first element.
7. The method according to any one of claims 1 to 6, wherein: The obtaining of second position information corresponding to the sight line direction of the driver includes: Based on the first image, the sight direction of the driver is estimated to obtain the second orientation information.
8. The method according to claim 7, wherein: The estimating the sight line direction of the driver based on the first image to obtain the second position information includes: Using a sight line estimation model to estimate the sight line direction of the first image to obtain the sight line direction information of the driver; Acquire the position information corresponding to the sight line direction information in the field of view image to obtain the second position information.
9. The method according to any one of claims 1 to 8, further comprising: Determine, according to the first orientation information, a first image region of the first element in the field of view image, wherein the field of view image is divided into a plurality of image regions according to a preset region division parameter, and the plurality of image regions include the first image region; Determining, according to the second orientation information, that the sight direction of the driver corresponds to a second image area in the field of view image; In response to the first image area being the same as the second image area, determining that the first orientation information is consistent with the second orientation information; In response to the first image area being different from the second image area, it is determined that the first orientation information is inconsistent with the second orientation information.
10. The method according to claim 2, further comprising: The first image is obtained by using a first image acquisition device deployed in the vehicle cabin; or The second image is obtained by using a second image acquisition device deployed outside the vehicle cabin.
11. The method according to any one of claims 1 to 10, wherein: The method of reminding the driver's attention includes at least one of the following: vibration of the vehicle seat, vibration of the vehicle steering wheel, voice broadcast of reminder information, display of reminder message and buzzing warning.
12. A driver attention reminder device, comprising: A first position determination module, used to obtain first position information corresponding to the first element in the field of view image; A second position determination module, configured to obtain second position information corresponding to a sight line direction of the driver based on a first image including an eye area of the driver inside the vehicle; The reminder module is used for reminding the driver to pay attention in response to the inconsistency between the first position information and the second position information.
13. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the driver attention reminder method according to any one of claims 1 to 11.
14. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the driver attention reminder method described in any one of claims 1-11 above.
