A method for AR-HUD / LCD omnidirectional target detection and display based on human eye attention
Through monocular camera and neural network detection, the human eye attention vector is obtained for AR-HUD/LCD omnidirectional target detection and display, which solves the problem of computing resource limitations of traditional binocular cameras in the car cockpit, and achieves a better Low-cost and higher real-time environment perception and intelligent cockpit technology applications.
Patent Information
- Application Number
- CN202111355877.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-11-16
AI Technical Summary
Traditional binocular cameras are easily limited by space and computing resources when used for eye position spatial coordinate measurement in automobile cockpits, resulting in high system computing resource consumption, high environmental sensing computing costs and strict real-time requirements, making it difficult to implement in autonomous driving and intelligent systems. Widely used in cockpit technology.
Using a monocular camera combined with a neural network, through pupil spatial coordinate measurement and face angle detection, the human eye attention vector is obtained for AR-HUD/LCD omnidirectional target detection and display, which reduces system computing costs and improves real-time performance.
Real-time human eye pupil spatial coordinate measurement in the field of autonomous driving and smart cockpit technology is achieved, which reduces system application costs, improves system universality and real-time performance, can be widely used in any vehicle model, and saves system computing resources.
Smart Images

Figure CN114037980B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of autonomous driving, automobile environment perception and intelligent cockpit, and specifically relates to an AR-HUD / LCD omnidirectional target detection and display method based on human eye attention. Background Art
[0002] Through the traditional head-up display system, the driver can see important information projected on the windshield, which can help the driver observe emergency situations more safely and take timely actions without lowering his head or shifting his sight. The augmented reality head-up display (AR-HUD / LCD) also projects information onto the windshield, but the content and location of the projection will be combined with the real environment. Because AR-HUD / LCD accurately combines image information with actual traffic conditions through a specially designed internal optical system, it has the advantages of clear display, strong sense of technology, and high integration with the vehicle, thereby expanding and enhancing the driver's perception of the actual driving environment.
[0003] Detecting the spatial position of the pupil and facial attention vector of a car driver has very important applications in the field of AR-HUD / LCD technology. The driver's pupil spatial position measurement method usually uses a binocular camera to perform visual three-dimensional measurement of spatial points. Its spatial coordinate measurement principle is clear, the technology is relatively mature, and the accuracy is high. Therefore, it has been widely used in scenarios with fewer general constraints. However, in special application scenarios such as car cockpits, the eye position spatial coordinate measurement technology using binocular cameras is easily limited by cockpit space and computing resources. The monocular camera visual measurement system is of great significance in reducing the cost of the eye position measurement system, improving the online calculation speed, and promoting the popularization and application of related vehicle-mounted intelligent systems.
[0004] In the field of assisted driving or autonomous driving, multi-camera imaging solutions are widely used to obtain a full range of vision, using neural networks to perceive the surrounding environment, or using lidar to perceive the surrounding environment. The traditional processing mechanism is to process the full range of vision or the entire lidar object. The environmental perception calculation cost is relatively high, and the processing hardware and software algorithms have high real-time requirements.
[0005] After searching, in the prior art, CN109376595A, a monocular RGB camera liveness detection and system based on human eye attention. The method randomly generates several target points, calculates the corresponding target point spatial coordinates of each target point in the three-dimensional space coordinate system, obtains the human eye attention set and the human eye attention spatial coordinates by collecting the human eye attention corresponding to the target point at the same time; counts the number of screen attention points in the human eye attention point set and obtains the number of non-screen attention points in the screen attention point set; judges whether the face corresponding to the human eye attention point is alive according to the screen attention point spatial coordinates and the corresponding target point spatial coordinates. The invention uses randomly generated target points to calculate the human eye attention spatial coordinates. The invention uses the calculated pupil spatial coordinates to calculate the origin of the human eye attention spatial coordinates, and uses a neural network to detect the change in the driver's face angle, and obtains the human eye attention spatial coordinate vector, and finally obtains the human eye attention vector. The present invention is an AR-HUD / LCD omnidirectional target detection and display method based on the human eye attention vector, and the obtained human eye attention vector performs regional detection on the omnidirectional target, reduces the task load of the detection system, and improves the real-time performance of the system.
[0006] Therefore, in summary, the AR-HUD / LCD omnidirectional target detection and display system based on human eye attention can obtain the human eye pupil position and attention vector, regionally detect objects in the all-round field of view or lidar, reduce the system's computing cost, improve the online computing speed, and promote the popularization and application of automotive environmental perception and smart cockpit technology. Summary of the invention
[0007] The present invention aims to solve the above problems of the prior art. A method for AR-HUD / LCD omnidirectional target detection and display based on human eye attention is proposed. The technical solution of the present invention is as follows:
[0008] An AR-HUD / LCD omnidirectional target detection and display method based on human eye attention comprises the following steps:
[0009] The driver's facial image is obtained through a monocular camera; the monocular camera is calibrated by Zhang Zhengyou's chessboard calibration method to obtain the camera's intrinsic parameter matrix and distortion parameters; the image is dedistorted and grayscaled to obtain the self-quotient map; the face area is extracted by a face detector, and then the coordinates of the left and right pupils in the monocular camera image plane are extracted; the driver's eye space coordinates are solved according to the pupil image plane coordinates and the pupil distance constraints, which are used to display the virtual image on the AR-HUD / LCD augmented reality head-up display; a neural network is used to detect changes in the driver's face angle to obtain the driver's attention vector, and the target is detected in the area in the vehicle-mounted panoramic image or omnidirectional radar system based on the attention vector, and the detection object in the attention vector area is displayed through the AR-HUD / LCD.
[0010] Furthermore, solving the driver's eye position space coordinates according to the pupil image plane coordinates and the pupil distance constraint for AR-HUD / LCD display of virtual images specifically includes:
[0011] 1) Obtain a monocular camera model;
[0012] 2) Based on the camera model, obtain the left and right pupil coordinates in the monocular camera image plane (u l ,v l )、(u r ,v r );
[0013] 3) Based on the image plane coordinates, obtain the right pupil space coordinates P in the camera coordinate system r =[X r ,Y r ,Z r ] T and the left pupil space coordinate P l =[X l ,Y l ,Z l ] T ;
[0014] 4) The driver's pupil distance is a fixed value d, where Z r =Z l , and obtain the constraint equation;
[0015] 5) According to the image plane coordinates (u l ,v l )、(u r ,v r ) and the constraint equations to solve P r =[X r ,Y r ,Z r ] T and P l =[X l ,Y l ,Z l ] T , the transformation matrix P between the camera coordinate system and the vehicle coordinate system r , P r , get the coordinates of the left and right pupils in the vehicle coordinate system P l w , the pupil position of the human eye will be used for AR-HUD / LCD display imaging.
[0016] Furthermore, the obtaining of the monocular camera model specifically includes:
[0017]
[0018] Where u and v are image plane coordinates, f x 、f y is the focal length of the camera, c x 、c y is the camera principal point, [X,Y,Z] T are the spatial coordinates of the left and right pupils in the camera coordinate system, K represents the intrinsic parameter matrix of the camera, and P represents the spatial coordinates of the left and right pupils in the camera coordinate system.
[0019] Furthermore, the right pupil space coordinate P in the camera coordinate system is obtained r =[X r ,Y r ,Z r ] T and the left pupil space coordinate P l =[X l ,Y l ,Z l ] T , specifically:
[0020]
[0021]
[0022] Furthermore, the constraint equation is obtained as follows:
[0023]
[0024]
[0025] f is the focal length of the camera.
[0026] Furthermore, the method of using a neural network to detect changes in the driver's face angle, obtaining the driver's attention vector, and detecting targets in a vehicle-mounted panoramic image or omnidirectional radar system according to the attention vector specifically includes the following steps:
[0027] Step 5-1. Establish a facial coordinate system with the pupil space point obtained as the origin, with the X-axis pointing directly in front of the face, the Y-axis pointing horizontally to the right, and the Z-axis pointing vertically downward;
[0028] Step 5-2. Obtain a monocular facial image in real time and input it into a neural network for detection. The neural network obtains an attention vector of the face.
[0029] Step 5-3. Determine the detection area in the vehicle panoramic image or omnidirectional radar system according to the direction of the attention vector in the facial coordinate system;
[0030] Step 5-4. The pupil position and target detection results are displayed on the windshield through AR-HUD or in the LCD to assist driving.
[0031] Furthermore, the step 5-3. determining the detection area in the vehicle-mounted panoramic image or omnidirectional radar system according to the direction of the attention vector in the facial coordinate system specifically includes:
[0032] When the attention vector is in the range of (-θ,θ), only the object directly in front of the vehicle is detected and displayed within the time range t; when the attention vector is greater than θ, only the objects on the right and rear of the vehicle are detected and displayed within the time range t; when the attention vector is less than -θ, only the objects on the left and rear of the vehicle are detected and displayed within the time range t.
[0033] Furthermore, the system also includes:
[0034] A detection unit, used to obtain the driving status of the vehicle, and the type and position detection of surrounding objects;
[0035] A sensing unit, used to obtain eye attention vectors and surrounding object information;
[0036] a processing unit for processing object detection and display in the attention vector region;
[0037] The display unit adopts an AR-HUD / LCD device to display the object in the attention area.
[0038] The advantages and beneficial effects of the present invention are as follows:
[0039] The present invention proposes an AR-HUD / LCD omnidirectional target detection and display method based on human eye attention. The traditional binocular camera eye position spatial coordinate measurement technology is easily limited by cockpit space and computing resources, which increases the computing resource consumption of the system. The traditional environment perception mechanism processes the full range of vision or the entire laser radar object. The environment perception calculation cost is relatively high, and the processing hardware and software algorithms have high real-time requirements.
[0040] Therefore, the AR-HUD / LCD omnidirectional target detection and display system based on human eye attention in this invention becomes an effective method to solve these problems. It is specifically manifested in the following two points:
[0041] (1) In the field of autonomous driving, automotive environmental perception and intelligent cockpit technology, the present invention uses a monocular camera to achieve real-time measurement of the spatial coordinates of the human pupil, and the pupil spatial coordinates are used for AR-HUD imaging. This method reduces the system application cost and can be better applied in a wider range of scenarios such as autonomous driving, automotive environmental perception and intelligent cockpit technology.
[0042] (2) The present invention uses a neural network to detect the attention vector, combines it with a monocular camera to measure the pupil space coordinates, and calculates the human eye attention vector in real time, making the method universal and widely used in any vehicle model.
[0043] (3) The present invention detects the target area in the vehicle-mounted panoramic image or omnidirectional radar system through the human eye attention vector, and displays the detection result of the attention vector area through AR-HUD / LCD. The area detection mechanism saves system computing resources and improves the real-time performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flowchart of an AR-HUD / LCD omnidirectional target detection and display system based on human eye attention according to a preferred embodiment of the present invention;
[0045] Figure 2 It is a schematic diagram of pupil detection camera and AR-HUD / LCD imaging in the present invention;
[0046] Figure 3 This is a schematic diagram of the neural network detecting the driver's face angle in the present invention;
[0047] Figure 4 It is a schematic diagram of the panoramic target around the car in the present invention;
[0048] Figure 5 It is a schematic diagram of the target display in the forward area of the AR-HUD / LCD in the present invention;
[0049] Figure 6 It is a schematic diagram of the target display in the right area of the AR-HUD / LCD in the present invention;
[0050] Figure 7 It is a schematic diagram of the target display in the left area of the AR-HUD / LCD in the present invention. DETAILED DESCRIPTION
[0051] The following will describe the technical solutions in the embodiments of the present invention in detail in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention.
[0052] The technical solution of the present invention to solve the above technical problems is:
[0053] The purpose of the present invention is to provide an AR-HUD / LCD omnidirectional target detection and display method based on human eye attention, which is used in the fields of autonomous driving, automotive environment perception and intelligent cockpit technology. The pupil detection camera measures the pupil space coordinates and detects the driver's face angle to complete the AR-HUD / LCD omnidirectional target detection and display based on human eye attention. This technical solution is proposed, such as Figure 1 As shown, the following steps are included:
[0054] Step 1. Figure 2 As shown, the monocular camera is installed in front of the driver so that it can obtain the driver's facial image, and the monocular camera can effectively observe the driver's left and right eyes.
[0055] Step 2. Calibrate the intrinsic parameter matrix and distortion coefficient of the monocular camera using Zhang Zhengyou’s chessboard calibration method, dedistort the camera image, and obtain the self-quotient map of the grayscale image.
[0056] Step 3. Extract the face position in the business image through the face detector, and extract the coordinates of the left and right eyes in the monocular camera image plane through the eye detector.
[0057] Step 4. Solve the spatial coordinates of the driver's left and right pupils based on the pupil image plane coordinates and pupil distance constraints for AR-HUD / LCD display of virtual images.
[0058] (1) The monocular camera model is:
[0059]
[0060] Where u and v are image plane coordinates, f x 、f y is the focal length of the camera, c x 、c y is the camera principal point, [X,Y,Z] T are the spatial coordinates of the left and right pupils in the camera coordinate system, K represents the intrinsic parameter matrix of the camera, and P represents the spatial coordinates of the left and right pupils in the camera coordinate system.
[0061] (2) Based on the camera model, obtain the left and right pupil coordinates in the monocular camera image plane (u l ,v l )、(u r ,v r );
[0062] (3) Based on the image plane coordinates, the right pupil space coordinates P in the camera coordinate system r =[X r ,Y r ,Z r ] T and the left pupil space coordinate P l =[X l ,Y l ,Z l ] T for:
[0063]
[0064]
[0065] (4) The driver's pupil distance is a fixed value d, where Z r =Z l , and the constraint equation is:
[0066]
[0067]
[0068] (5) According to the image plane coordinates (u l ,v l )、(u r ,v r ) and the constraint equations to solve P r =[X r ,Y r ,Z r ] T and P l =[X l ,Y l ,Z l ] T The transformation matrix P between the camera coordinate system and the vehicle coordinate system r , P r , get the coordinates of the left and right pupils in the vehicle coordinate system P l w , the pupil position of the human eye will be used for AR-HUD / LCD display imaging.
[0069] Step 5. Figure 3 As shown in the figure, the neural network detects the change in the roll angle of the driver's face, obtains the driver's attention vector, detects the target in the area of the on-board panoramic image or omnidirectional radar system based on the attention vector, and displays the detected object in the attention vector area through AR-HUD / LCD. The specific steps include:
[0070] (1) Establish a facial coordinate system with the pupil space point obtained in step 4) as the origin, with the X-axis pointing directly in front of the face, the Y-axis pointing horizontally to the right, and the Z-axis pointing vertically downward;
[0071] (2) Obtain a monocular facial image in real time and input it into a neural network for detection. The neural network obtains the attention vector of the face, such as Figure 3 As shown;
[0072] (3) Figure 4 The following figure shows the panoramic objects around the car. The direction of the attention vector determines the area detected by the on-board panoramic image or omnidirectional radar system. When the attention vector is in the range of (-θ, θ), only the objects directly in front of the vehicle are detected and displayed within the time range of t. Figure 5As shown; the attention vector is greater than θ, and only the objects on the right side and the rear of the vehicle are detected and displayed within the time range t, as Figure 6 As shown; when the attention vector is less than -θ, only the objects on the left and rear of the vehicle are detected and displayed within the time range t, as shown Figure 7 shown.
[0073] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0074] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0075] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0076] The above embodiments should be understood to be only used to illustrate the present invention and not to limit the protection scope of the present invention. After reading the contents of the present invention, technicians can make various changes or modifications to the present invention, and these equivalent changes and modifications also fall within the scope defined by the claims of the present invention.
Claims
1. An AR-HUD / LCD omnidirectional target detection and display method based on human eye attention, characterized in that: The following steps are involved: Acquire the driver's facial image through a monocular camera; The monocular camera is calibrated by Zhang Zhengyou’s chessboard calibration method to obtain the camera’s intrinsic matrix and distortion parameters; the image is dedistorted and grayed to obtain the self-quotient map; the face area is extracted by the face detector, and then the left and right pupils are extracted in the monocular camera image plane coordinates; the driver’s eye space coordinates are solved according to the pupil image plane coordinates and pupil distance constraints, which are used for AR-HUD / LCD augmented reality head-up display to display virtual images; Use a neural network to detect changes in the driver's face angle and obtain the driver's attention vector. Based on the attention vector, detect targets in the area of the on-board panoramic image or omnidirectional radar system, and display the detected objects in the attention vector area through AR-HUD / LCD. The method of solving the driver's eye position space coordinates according to the pupil image plane coordinates and the pupil distance constraint for displaying a virtual image on an AR-HUD / LCD specifically includes: (1) Obtain a monocular camera model; (2) Based on the camera model, obtain the left and right pupil coordinates in the monocular camera image plane (u l ,v l )、(u r ,v r ); (3) Based on the image plane coordinates, the right pupil spatial coordinates P in the camera coordinate system are obtained r =[X r ,Y r ,Z r ] T and the left pupil space coordinate P l =[X l ,Y l ,Z l ] T ; (4) The driver’s pupil distance is a fixed value d, where Z r =Z l , and obtain the constraint equation; (5) According to the image plane coordinates (u l ,v l )、(u r ,v r ) and the constraint equations to solve P r =[X r ,Y r ,Z r ] T and P l =[X l ,Y l ,Z l ] T , the transformation matrix P between the camera coordinate system and the vehicle coordinate system r , P r , get the coordinates of the left and right pupils in the vehicle coordinate system The pupil position of the human eye will be used for AR-HUD / LCD display imaging; The obtaining of the monocular camera model specifically includes: Where u and v are image plane coordinates, f x 、f y is the focal length of the camera, c x 、c y is the camera principal point, [X,Y,Z] T are the spatial coordinates of the left and right pupils in the camera coordinate system, K represents the intrinsic parameter matrix of the camera, and P represents the spatial coordinates of the left and right pupils in the camera coordinate system; The right pupil space coordinate P in the camera coordinate system is obtained r =[X r ,Y r ,Z r ] T and the left pupil space coordinate P l =[X l ,Y l ,Z l ] T , specifically: The constraint equation is obtained as follows: f represents the focal length of the camera; The method uses a neural network to detect the change in the driver's face angle, obtains the driver's attention vector, and detects the target in the vehicle-mounted panoramic image or omnidirectional radar system according to the attention vector, specifically including the following steps: Step 5-1. Establish a facial coordinate system with the pupil space point obtained as the origin, with the X-axis pointing directly in front of the face, the Y-axis pointing horizontally to the right, and the Z-axis pointing vertically downward; Step 5-2. Obtain a monocular facial image in real time and input it into a neural network for detection. The neural network obtains an attention vector of the face. Step 5-3. Determine the detection area in the vehicle panoramic image or omnidirectional radar system according to the direction of the attention vector in the facial coordinate system; Step 5-4. Display the pupil position and target detection results on the windshield through AR-HUD or in the LCD to assist driving; The step 5-3. determining the detection area in the vehicle-mounted panoramic image or omnidirectional radar system according to the direction of the attention vector in the facial coordinate system specifically includes: When the attention vector is in the range of (-θ,θ), only the object directly in front of the vehicle is detected and displayed within the time range t; when the attention vector is greater than θ, only the objects on the right and rear of the vehicle are detected and displayed within the time range t; when the attention vector is less than -θ, only the objects on the left and rear of the vehicle are detected and displayed within the time range t.
