WO2023001145A1 - Rearview mirror adjustment method and apparatus, device and storage medium - Google Patents

Rearview mirror adjustment method and apparatus, device and storage medium Download PDF

Info

Publication number
WO2023001145A1
WO2023001145A1 PCT/CN2022/106472 CN2022106472W WO2023001145A1 WO 2023001145 A1 WO2023001145 A1 WO 2023001145A1 CN 2022106472 W CN2022106472 W CN 2022106472W WO 2023001145 A1 WO2023001145 A1 WO 2023001145A1
Authority
WO
WIPO (PCT)
Prior art keywords
rearview mirror
driver
line
information
angle
Prior art date
Application number
PCT/CN2022/106472
Other languages
French (fr)
Chinese (zh)
Inventor
张栋
丁逢
姜长坤
陈鹤文
毕圆浩
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2023001145A1 publication Critical patent/WO2023001145A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • B60R1/02Rear-view mirror arrangements
    • B60R1/06Rear-view mirror arrangements mounted on vehicle exterior
    • B60R1/062Rear-view mirror arrangements mounted on vehicle exterior with remote control for adjusting position
    • B60R1/07Rear-view mirror arrangements mounted on vehicle exterior with remote control for adjusting position by electrically powered actuators
    • B60R1/072Rear-view mirror arrangements mounted on vehicle exterior with remote control for adjusting position by electrically powered actuators for adjusting the mirror relative to its housing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/037Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for occupant comfort, e.g. for automatic adjustment of appliances according to personal settings, e.g. seats, mirrors, steering wheel

Definitions

  • the embodiments of the present application relate to the technical field of vehicles, for example, to a rearview mirror adjustment method, device, device, and storage medium.
  • the rearview mirror is usually adjusted by electric means, but it often happens that the driver's left and right rearview mirrors cannot be adjusted to the best line of sight position, basically cannot be adjusted in place at one time, and the adjustment method is time-consuming and laborious. And family car generally all has multiple drivers, just needs to readjust rearview mirror position if changing driver, brings a lot of inconveniences to driving.
  • Embodiments of the present application provide a rearview mirror adjustment method, device, equipment, and storage medium, so as to realize more convenient adjustment of the rearview mirror, improve driving safety, and keep the exterior rearview mirror in the driver's best viewing position all the time. Area.
  • an embodiment of the present application provides a method for adjusting a rearview mirror, including:
  • the embodiment of the present application also provides a rearview mirror adjustment device, which includes:
  • the obtaining module is configured to obtain the driver's eye coordinate information under the condition that the driver enters for the first time according to the driver's facial information;
  • the query module is configured to query the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
  • the adjustment module is configured to adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
  • the embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the program, it implements the The rearview mirror adjusting method described in any one of the embodiments.
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the rearview mirror as described in any one of the embodiments of the present application is realized. Adjustment method.
  • Fig. 1 is the flowchart of a kind of rearview mirror adjusting method in the embodiment of the present application
  • Figure 1a is a schematic diagram of rearview mirror adjustment in the embodiment of the present application.
  • Figure 1b is a schematic diagram of the installation position of the facial recognition device in the embodiment of the present application.
  • Figure 1c is a schematic diagram of rearview mirror adjustment in the embodiment of the present application.
  • Figure 1d is a schematic diagram of the space vector perpendicular to the eyeball in the embodiment of the present application.
  • Figure 1e is a schematic diagram of the rearview mirror in the embodiment of the present application.
  • Figure 1f is a schematic diagram of lens adjustment in the embodiment of the present application.
  • Fig. 2 is a schematic structural view of a rearview mirror adjusting device in an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present application.
  • Fig. 1 is a flow chart of a rearview mirror adjustment method provided by the embodiment of the present application. This embodiment is applicable to the situation of rearview mirror adjustment, and the method can be performed by the rearview mirror adjustment device in the embodiment of the present application.
  • the device can be implemented in the form of software and/or hardware, as shown in Figure 1, the rearview mirror adjustment method includes the following steps:
  • the way to determine the driver's first entry based on the driver's facial information may be: obtain the driver's facial information based on the facial recognition device, query the driver's facial information list corresponding to the current vehicle according to the driver's facial information, and based on If there is a query result of the current driver's facial information in the list, it is determined that the driver is not entering the vehicle for the first time, and based on the query result of the current driver's facial information not existing in the list, it is determined that the driver is entering the vehicle for the first time.
  • the manner of obtaining the driver's eye coordinate information may be: determining the driver's eye coordinates according to the driver's facial information.
  • the rearview mirror may be an exterior rearview mirror.
  • the database stores a list of correspondences between the driver's eye coordinate information and the rearview mirror position information.
  • the driver's eye coordinate information A corresponds to the rearview mirror position information a
  • the driver's eye coordinate information B corresponds to the rearview mirror position information.
  • location information b corresponds to the rearview mirror position information.
  • the database is queried according to the coordinate information of the driver's eyes to obtain the position information of the rearview mirror corresponding to the coordinate information of the driver's eyes.
  • the spatial range set the spatial dot matrix within this space range, the dot matrix corresponds to the driver's eye coordinates, each point will preset a recommended position for rearview mirror up and down adjustment and left and right adjustment in advance, and the dot matrix and the corresponding recommended The position is set as a database.
  • the facial recognition device will record the driver's facial information, and then obtain the The position information of the rearview mirror corresponding to the eye coordinate information.
  • the coordinate information of the driver's eyes is acquired.
  • the database is queried according to the coordinate information of the driver's eyes to obtain the position information of the rearview mirror corresponding to the coordinate information of the driver's eyes. Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
  • the facial recognition device when the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to Recommended position, at this time, the central control screen or the instrument screen will remind the driver, or the driver will be reminded through the voice in the car, if you are not satisfied with the recommended position of the exterior rearview mirror, you can manually adjust it, after adjustment, the controller will set the most The best position and the driver's facial information are stored in association.
  • the face recognition device recognizes the face and directly adjusts the exterior rearview mirror to the best position stored last time.
  • the embodiment of the present application can ensure that the exterior rearview mirror is always in the best position when the driver looks at the exterior rearview mirror in the cab of the car, which improves the driver's sense of safety during driving and enhances the sense of intelligence and technology of the car cockpit.
  • the facial recognition device can recognize the coordinate information of the driver's facial feature points, eye coordinate information, and space vector coordinate information perpendicular to the eyeball, and these coordinates are relative to the coordinate information of the facial recognition device.
  • the facial recognition device sends the coordinate information of the recognized face, eyes, and eyeball space vector (direction of the main ray of the eye) to the controller through a dedicated data line in the form of serial data, thereby ensuring the real-time nature of the data, and the controller sends these coordinates
  • the information is combined with the coordinate position of the facial recognition device in the vehicle, and matrix operation is performed to convert it into the coordinate position of the vehicle coordinate system.
  • Ergonomics is used to calculate the possible spatial range of the driver's eyes in the cab, and a spatial dot matrix is set within this spatial range.
  • the dot matrix corresponds to the coordinates of the driver's eyes.
  • Each point will be preset in advance with a rearview mirror up and down.
  • the recommended position for adjustment and left and right adjustment, the dot matrix and the corresponding recommended position are set into a database.
  • the facial recognition device When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then according to the driver's eyes Coordinates and preset dot matrix database, adjust the exterior rearview mirror to the recommended position, at this time the central control panel or instrument screen will remind the driver, or, through the voice in the car to remind the driver, if the recommended exterior rearview mirror If you are not satisfied with the position, you can adjust it manually. After adjustment, the controller will associate and store the optimal position with the driver’s face information. When the driver sits in the driving seat next time, the face recognition device will recognize the face and directly turn the exterior rearview mirror Adjust to the last stored best position.
  • the facial recognition device will recognize the driver's space vector perpendicular to the eyeball, which represents the direction of the driver's eye sight; the cone space formed by the driver's eye coordinates and the elliptical outer edge of the exterior rearview mirror housing is defined Adjusts the clearance for the exterior mirrors.
  • the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror. Adjust up and down and left and right.
  • the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time.
  • the pressure sensor of the driver's seat it is set to detect whether there is a driver in the driving seat, and transmit the signal to the controller.
  • the driver's seat is occupied, which is one of the conditions to activate the automatic adjustment mode of the exterior rearview mirror.
  • the facial recognition device monitors the driver's space vector perpendicular to the eyeball in real time (eye line of sight direction), when the driver looks at the left exterior rearview mirror with both eyes, the controller will control the left exterior rearview mirror to enter the automatic adjustment mode after the driver's eye sight direction enters the adjustment space of the left exterior rearview mirror , the two space vectors perpendicular to the eyeball from the driver's two eyes (the direction of sight of the two eyes) will meet at one point on the mirror surface of the left exterior rearview mirror.
  • the lens of the exterior rearview mirror is established in a three-dimensional coordinate system as shown in the figure.
  • the lens is on the plane where the XY axis is located.
  • the lens rotates around the X axis.
  • the lens rotates around the Y axis.
  • the origin O the Z axis passes through the origin O and is perpendicular to the XY axis.
  • the value of the upper edge of the lens on the Y axis is Ymax
  • the value of the lower edge on the Y axis is Ymin
  • the value of the left edge of the lens on the X axis is Xmin
  • the value of the right edge of the lens is Xmax.
  • the coordinates of the intersection point of the driver's eyes are (X1, Y1).
  • the up and down turning angle of the rearview mirror is 0, when Y1 is between Ymax ⁇ Y1 ⁇ 0, the turning angle of the rearview mirror lens is upward according to the ratio from 0 to the upward turning limit angle, when Y1 is 0 ⁇ Y1 When ⁇ Ymin, the rearview mirror lens is flipped down according to the ratio from 0 to the downturn limit angle.
  • the adjustment speed of the rearview mirror is also different depending on the vehicle speed.
  • the vehicle speed is high, the adjustment speed of the rearview mirror is faster, and when the vehicle speed is slow, the adjustment speed is relatively slow.
  • Control the duty cycle of the PWM wave of the motor to adjust the speed of the motor. (Adjust the speed of the rearview mirror according to the speed of the vehicle, and the method of realization is the duty cycle of the PWM wave, and the PWM wave adjusts the duty cycle to change the speed of the motor.)
  • the database before querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information, it also includes:
  • a database is established according to the spatial lattice and the rearview mirror position information corresponding to the spatial lattice.
  • the spatial range of the driver's eyes in the cab is obtained; a spatial lattice is set within the spatial range; a database is established according to the spatial lattice and the rearview mirror position information corresponding to the spatial lattice, for example, Yes, use ergonomic principles to calculate the possible spatial range of the driver's eyes in the cab, and set a spatial dot matrix within this spatial range.
  • the dot matrix corresponds to the coordinates of the driver's eyes, and each point will preset a rear view in advance.
  • the recommended positions for the up-down adjustment and left-right adjustment of the mirror, the dot matrix and the corresponding recommended positions are set into a database.
  • the driver's eye coordinate information includes: a space vector perpendicular to the eyeball;
  • the method further includes:
  • the position of the rearview mirror is adjusted according to the position information of the driver's line of sight intersection.
  • the target space is determined according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror. Adjusts the clearance for the exterior mirrors.
  • the position of the rearview mirror is adjusted according to the position information of the driver's line of sight intersection, for example, when the driver's eyes look outward
  • the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror.
  • the exterior rearview mirror will be adjusted up and down and left and right according to the driver's line of sight.
  • the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time.
  • the target space may be the adjustment space range of the exterior rearview mirror.
  • determining the target space according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror includes: determining the adjustment space range of the exterior rearview mirror according to the coordinate line of the driver's eyes and the coordinate information of the rearview mirror.
  • adjust the position of the rearview mirror according to the position information of the driver's two eyes at the intersection of the rearview mirror including:
  • the upward or downward flip angle of the rearview mirror is determined according to the ordinate of the driver's line of sight intersection, and the position of the rearview mirror is adjusted according to the upward or downward flip angle of the rearview mirror.
  • the lens of the outer rearview mirror establishes a three-dimensional coordinate system.
  • the lens is on the surface where the XY axes are located. When the lens is adjusted up and down, it rotates around the X axis, and when the lens is adjusted left and right, it rotates around the Y axis. O.
  • the positive direction of the Y axis is the upward direction
  • the positive direction of the X axis is the right direction
  • the Z axis passes through the origin O and is perpendicular to the XY axis
  • the value of the upper edge of the lens on the Y axis is Ymax
  • the value of the lower edge on the Y axis is Ymin
  • the value of the left edge of the lens on the X-axis is Xmin
  • the value of the right edge on the X-axis is Xmax.
  • the upward or downward flip angle of the rearview mirror is determined according to the ordinate of the driver's line of sight intersection, including:
  • the ordinate of the driver's line of sight intersection is equal to a second threshold, turn the lens of the rearview mirror downward to a maximum angle, wherein the first threshold is greater than zero, and the second threshold is less than zero;
  • the target upward turning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum angle of upward turning of the lens of the rearview mirror;
  • the target downturning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum downturning angle of the rearview mirror.
  • the first threshold may be Ymax
  • the second threshold may be Ymin
  • determining the leftward or rightward flip angle of the rearview mirror according to the abscissa of the driver's line of sight intersection including:
  • the abscissa of the driver's line of sight intersection is equal to a fourth threshold, turn the lens of the rearview mirror to the left to a maximum angle, wherein the third threshold is greater than zero, and the fourth threshold is less than zero;
  • the target rightward turning angle is determined according to the abscissa of the driver's line of sight intersection and the maximum angle at which the lens of the rearview mirror turns rightward;
  • the target left turn angle is determined according to the abscissa of the driver's line of sight intersection and the maximum left turn angle of the rearview mirror.
  • the third threshold may be Xmax, and the fourth threshold may be Xmin.
  • the method further includes:
  • the adjustment information and the driver's facial information are associated and stored.
  • the driver's eye coordinates are spatial coordinates of the middle position of the driver's two eyes.
  • the embodiment of the present application uses facial recognition technology to recognize the driver's face.
  • the facial recognition device is located at a fixed position in the vehicle.
  • the coordinates of the facial recognition device in the vehicle coordinate system are fixed.
  • the facial recognition device can recognize The eye coordinate information of the device position, and the space vector perpendicular to the eyeball (eye line of sight direction), coordinate transformation with a matrix, the eye coordinate information and the space vector perpendicular to the eyeball (eye line of sight direction) can be transformed into the coordinates of the vehicle system; using ergonomic principles to calculate the possible spatial range of the driver's eyes in the cab, when the driver's eye coordinates are within this spatial range, and at the same time verify that the seat sensor of the driver's position is occupied, then you can enter Auto-adjustment mode for exterior mirrors.
  • Ergonomics is used to calculate the possible spatial range of the driver's eyes in the cab, and a spatial dot matrix is set within this spatial range.
  • the dot matrix corresponds to the coordinates of the driver's eyes.
  • Each point will be preset in advance with a rearview mirror up and down.
  • the recommended positions for adjustment and left and right adjustments, the dot matrix and the corresponding recommended positions are set into a database.
  • the facial recognition device When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to the recommended position according to the coordinates of the driver's eyes and the preset dot matrix database.
  • the central control screen or the instrument screen will remind the driver, or the driver will be reminded by the voice in the car.
  • the controller will compare the best position with the driving position When the driver sits in the driving seat next time and the face recognition device recognizes the face, the exterior rearview mirror is directly adjusted to the best position stored last time.
  • the facial recognition device can identify the driver's space vector perpendicular to the eyeball, and this space vector represents the driver's eye sight direction;
  • the formed vertebral body space is defined as the adjustment space range of the exterior rearview mirror.
  • the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror. Adjust up and down and left and right.
  • the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time.
  • the embodiment of the present application can adjust the exterior rearview mirror through the direction of the driver's eye line of sight, which is more intelligent and more accurate.
  • the position of the eyes and the position of the face change very little, and he only looks at the rearview mirror through the movement of the eyeballs.
  • the scheme of setting up the database cannot recognize that the driver is observing the exterior rearview mirror, let alone adjust the exterior rearview mirror, which will lead to poor vision of the driver.
  • this solution is more intelligent, and has more detailed facial recognition coordinate transformation algorithms and rearview mirror adjustment algorithms.
  • the exterior rearview mirror in order to make the driver in the car, can always be in an optimal field of view, and adjust the rearview mirror according to the driver's intention, so as to ensure that the driver has the best view in the car when driving. the best view.
  • Facial recognition device it can realize the driver's facial feature recognition and obtain the driver's facial coordinates, eye coordinates, and coordinates in the space vector (eye line direction) perpendicular to the eyeball.
  • the origin of these coordinate data is the face recognition device.
  • the position is not the coordinates of the vehicle coordinate system.
  • These coordinates can be converted into vehicle coordinates through a matrix through the coordinate position of the facial recognition device in the vehicle coordinate system. This coordinate transformation is performed in the controller.
  • the pressure sensor of the driver's seat it is set to detect whether there is a driver in the driving seat, and transmit the signal to the controller.
  • This structure and driving motor are very common in current vehicles, and will not be specifically described here.
  • the facial recognition device is installed above the dashboard of the car, and can also be installed on the A-pillar, on the left side of the central control panel (driver's side), and above the front windshield on the driver's side.
  • the coordinate position of the face recognition device in the vehicle coordinate system is fixed.
  • the facial recognition device can identify the driver's facial features and facial coordinate information, eye coordinate information, and space vector coordinate information perpendicular to the eyeball, these coordinate information are relative to the coordinates of the facial recognition device Information, that is, these coordinate information are coordinates in the coordinate system with the origin of the facial recognition device.
  • the facial recognition device will identify the face, eyes, coordinate information of the eyeball space vector (direction of the chief ray of the eye) (in the coordinate system with the facial recognition device as the origin The coordinates.) are sent to the controller through the data line, and the controller combines these coordinate information with the coordinate position of the facial recognition device in the vehicle coordinate system to perform coordinate transformation, and transforms the face, eyes and eyeball space vector (the chief ray of the eye direction) coordinate information into vehicle coordinate position.
  • the spatial range that the driver's eyes may reach in the driver's cab is counted through the ergonomics principle, and the spatial dot matrix is set in this spatial range, and the dot matrix corresponds to the coordinates of the driver's eyes.
  • Each point will set a recommended position for rearview mirror up and down adjustment and left and right adjustment in advance, and set the dot matrix and the corresponding recommended position into a database.
  • the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to the recommended position according to the coordinates of the driver's eyes and the preset dot matrix database.
  • the central control screen or instrument screen or voice system will remind the driver. If the driver is not satisfied with the recommended position of the exterior rearview mirror, he can manually adjust it. After adjustment, the controller will associate and store the optimal position with the driver's face information. When the driver sits in the driving seat next time, the facial recognition device will After the face is recognized, directly adjust the exterior rearview mirror to the best position stored last time.
  • the vertebral body space formed by the driver's eye coordinates and the elliptical outer edge of the exterior rearview mirror housing is defined as the adjustment space range of the exterior rearview mirror.
  • the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space range of the exterior rearview mirror.
  • the controller Only when the driver's eye sight direction enters the adjustment space range of the exterior rearview mirror, the controller will control The mirror can be adjusted up and down and left and right according to the driver's line of sight.
  • the driver's space vector perpendicular to the eyeball (eye sight direction) is not in the adjustment space range of the exterior rearview mirror, and the controller will not be activated to enter the automatic adjustment mode of the rearview mirror. That is to say, as long as the driver is looking at the exterior rearview mirror on that side, the exterior rearview mirror on that side will be adjusted.
  • the controller will control the left exterior rearview mirror to enter the automatic adjustment mode after the driver's eye sight direction enters the adjustment space of the left exterior rearview mirror .
  • the two space vectors from the driver's two eyes perpendicular to the eyeball (directions of sight of the two eyes) will meet at one point on the mirror surface of the left exterior rearview mirror. This point can be called the intersection point of sight, as shown in Figure 1e
  • the lens of the exterior rearview mirror is established in a three-dimensional coordinate system as shown in the figure.
  • the lens is located on the plane where the XY axis is located. When the lens is adjusted up and down, it rotates around the X axis, and when the lens is adjusted left and right, it rotates around the Y axis.
  • the origin O, the Z axis passes through the origin O and is perpendicular to the XY axis.
  • the value of the upper edge of the lens on the Y axis is Ymax
  • the value of the lower edge on the Y axis is Ymin
  • the value of the left edge of the lens on the X axis is Xmin
  • the value of the right edge of the lens is Xmax.
  • the coordinates of the intersection point of the driver's eyes are (X1, Y1).
  • the adjustment speed of the rearview mirror is different depending on the vehicle speed.
  • the adjustment speed of the rearview mirror is faster, and when the vehicle speed is slow, the adjustment speed is relatively slow.
  • the duty cycle is implemented to adjust the speed of the motor.
  • the embodiment of the present application discloses an automatic adjustment device and a control algorithm for an exterior rearview mirror of an automobile.
  • the embodiment of the present application is completely different from the manual adjustment of the exterior rearview mirror of the car.
  • the embodiment of the present application calculates the coordinates of the driver's eyes identified by the facial recognition technology and the space vector (direction of eye sight) perpendicular to the driver's eyeballs. After the calculation, the The exterior rearview mirror is adjusted to the best position, and the entire adjustment process fully realizes intelligent, fast and automatic adjustment.
  • it is more convenient and improves driving safety, so that the external rearview mirror is always in the driver's best viewing area. Improve the driving safety of the driver, while enhancing the technological sense of the car cockpit.
  • the embodiment of the present application ensures that when the driver looks at the exterior rearview mirror in the cab of the car, the exterior rearview mirror is in the best visual field position, which improves the driver's sense of safety during driving.
  • the driver's eye coordinates identified by facial recognition technology and the space vector perpendicular to the eyeball (eye sight direction) are calculated, and after the calculation, the exterior rearview mirror is adjusted to the optimal position, and the entire adjustment process fully realizes intelligent and rapid automation. Adjustment.
  • the driver's eye coordinate information is obtained; the database is queried according to the driver's eye coordinate information, and the rearview mirror corresponding to the driver's eye coordinate information is obtained.
  • Position information according to the position information of the rear-view mirror, adjust the rear-view mirror to the position corresponding to the position information of the rear-view mirror, which can more conveniently adjust the rear-view mirror, improve driving safety, and make the exterior rear-view mirror always In the driver's best observation zone.
  • Fig. 2 is a schematic structural diagram of a rearview mirror adjusting device provided by an embodiment of the present application. This embodiment is applicable to the situation of rearview mirror adjustment, and the device can be realized by software and/or hardware, and the rearview mirror adjustment device can be integrated in any equipment that provides rearview mirror adjustment function, as shown in Figure 2 As shown, the rearview mirror adjustment device includes: an acquisition module 210 , a query module 220 and an adjustment module 230 .
  • the obtaining module is configured to obtain the driver's eye coordinate information under the condition that the driver enters for the first time according to the driver's facial information;
  • the query module is configured to query the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
  • the adjustment module is configured to adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
  • the above-mentioned products can execute the method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method.
  • the driver's eye coordinate information is obtained; the database is queried according to the driver's eye coordinate information, and the result corresponding to the driver's eye coordinate information is obtained.
  • Mirror position information adjust the rearview mirror to the position corresponding to the rearview mirror position information according to the rearview mirror position information, which can more conveniently adjust the rearview mirror, improve driving safety, and make the exterior rearview The mirror is always in the best viewing area for the driver.
  • FIG. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • FIG. 3 shows a block diagram of an exemplary electronic device 12 suitable for implementing embodiments of the present application.
  • the electronic device 12 shown in FIG. 3 is only one example.
  • electronic device 12 takes the form of a general-purpose computing device.
  • Components of electronic device 12 may include one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture, ISA) bus, Micro Channel Architecture (Micro Channel Architecture, MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
  • Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.
  • System memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32 .
  • Electronic device 12 may include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"), and may be Read-write disk drives, and removable non-volatile discs (Compact Disc-Read Only Memory (CD-ROM), Digital Video Disc-Read Only Memory, DVD-ROM) or other optical discs media) CD-ROM drive for reading and writing.
  • each drive may be connected to bus 18 via one or more data media interfaces.
  • System memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.
  • a program/utility 40 may be stored, for example, in system memory 28 as a set (at least one) of program modules 42, such program modules 42 including an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment.
  • the program modules 42 generally perform the functions and/or methods of the embodiments described herein.
  • the electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and/or communicate with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 .
  • the display 24 does not exist as an independent entity, but is embedded in the mirror surface. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated.
  • the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network, Wide Area Network, WAN) and/or a public network, such as the Internet, through the network adapter 20.
  • networks such as a local area network (Local Area Network, LAN), a wide area network, Wide Area Network, WAN) and/or a public network, such as the Internet, through the network adapter 20.
  • network adapter 20 communicates with other modules of electronic device 12 via bus 18, and other hardware and/or software modules may be used in conjunction with electronic device 12, including: microcode, device drivers, redundant processing units, external disk drives Arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems, etc.
  • the processing unit 16 executes a variety of functional applications and data processing by running the program stored in the system memory 28, such as implementing the rearview mirror adjustment method provided in the embodiment of the present application:
  • Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present application.
  • the embodiment of the present application provides a computer-readable storage medium 61, on which a computer program 610 is stored.
  • the rearview mirror adjustment method provided in all the application embodiments of the present application is realized:
  • a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
  • a computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Computer-readable storage media include: electrical connections with one or more conductors, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory) ), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), and can communicate with any form or medium of digital Data communication (eg, communication network) interconnections.
  • HTTP Hyper Text Transfer Protocol
  • Examples of communication networks include local area networks ("LANs”), wide area networks ("WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • Computer program code for carrying out the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional process programming language—such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g. via the Internet using an Internet Service Provider). .
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider e.g. via the Internet using an Internet Service Provider.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may comprise an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
  • a machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash flash memory), optical fiber, compact disc read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash flash memory erasable programmable read only memory
  • CD-ROM compact disc read only memory
  • magnetic storage or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Multimedia (AREA)
  • Rear-View Mirror Devices That Are Mounted On The Exterior Of The Vehicle (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

A rearview mirror adjustment method and apparatus, a device and a storage medium, the rearview mirror adjustment method comprising: according to face information of a driver, determining whether the driver enters for the first time; acquiring eye coordinate information of the driver (S110); querying a database according to the eye coordinate information of the driver to obtain rearview mirror position information corresponding to the eye coordinate information of the driver (S120); and according to the rearview mirror position information, adjusting a rearview mirror to a position corresponding to the rearview mirror position information (S130).

Description

一种后视镜调节方法、装置、设备及存储介质Method, device, equipment and storage medium for adjusting rearview mirror
本申请要求在2021年07月22日提交中国专利局、申请号为202110829338.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110829338.8 submitted to the China Patent Office on July 22, 2021, the entire content of which is incorporated herein by reference.
技术领域technical field
本申请实施例涉及车辆技术领域,例如涉及一种后视镜调节方法、装置、设备及存储介质。The embodiments of the present application relate to the technical field of vehicles, for example, to a rearview mirror adjustment method, device, device, and storage medium.
背景技术Background technique
相关技术中,后视镜调整通常采用电动方式,但是经常出现驾驶员左右侧的后视镜无法调整到最佳视线位置,基本上不能一次调节到位,调节方式费时费力。而且,家用轿车一般都有多个驾驶者,如果更换驾驶员就需要重新调整后视镜位置,给行车带来诸多不便。In the related art, the rearview mirror is usually adjusted by electric means, but it often happens that the driver's left and right rearview mirrors cannot be adjusted to the best line of sight position, basically cannot be adjusted in place at one time, and the adjustment method is time-consuming and laborious. And family car generally all has multiple drivers, just needs to readjust rearview mirror position if changing driver, brings a lot of inconveniences to driving.
发明内容Contents of the invention
本申请实施例提供一种后视镜调节方法、装置、设备及存储介质,以实现更加便捷的对后视镜进行调节,提升驾驶安全性,使外后视镜始终处于驾驶员最佳的观察区。Embodiments of the present application provide a rearview mirror adjustment method, device, equipment, and storage medium, so as to realize more convenient adjustment of the rearview mirror, improve driving safety, and keep the exterior rearview mirror in the driver's best viewing position all the time. Area.
第一方面,本申请实施例提供了一种后视镜调节方法,包括:In a first aspect, an embodiment of the present application provides a method for adjusting a rearview mirror, including:
在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;In the case of determining the driver's first entry based on the driver's facial information, obtain the driver's eye coordinate information;
根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;Querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
第二方面,本申请实施例还提供了一种后视镜调节装置,该装置包括:In the second aspect, the embodiment of the present application also provides a rearview mirror adjustment device, which includes:
获取模块,被设置为在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;The obtaining module is configured to obtain the driver's eye coordinate information under the condition that the driver enters for the first time according to the driver's facial information;
查询模块,被设置为根据所述驾驶员眼睛坐标信息查询数据库,得到所述 驾驶员眼睛坐标信息对应的后视镜位置信息;The query module is configured to query the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
调整模块,被设置为根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。The adjustment module is configured to adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
第三方面,本申请实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本申请实施例中任一所述的后视镜调节方法。In the third aspect, the embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, it implements the The rearview mirror adjusting method described in any one of the embodiments.
第四方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本申请实施例中任一所述的后视镜调节方法。In the fourth aspect, the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the rearview mirror as described in any one of the embodiments of the present application is realized. Adjustment method.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application. Those of ordinary skill in the art can also obtain other related drawings based on these drawings without any creative effort.
图1是本申请实施例中的一种后视镜调节方法的流程图;Fig. 1 is the flowchart of a kind of rearview mirror adjusting method in the embodiment of the present application;
图1a是本申请实施例中的后视镜调节示意图;Figure 1a is a schematic diagram of rearview mirror adjustment in the embodiment of the present application;
图1b是本申请实施例中的面部识别装置设置位置示意图;Figure 1b is a schematic diagram of the installation position of the facial recognition device in the embodiment of the present application;
图1c是本申请实施例中的后视镜调节示意图;Figure 1c is a schematic diagram of rearview mirror adjustment in the embodiment of the present application;
图1d是本申请实施例中的垂直于眼球的空间向量的示意图;Figure 1d is a schematic diagram of the space vector perpendicular to the eyeball in the embodiment of the present application;
图1e是本申请实施例中的后视镜示意图;Figure 1e is a schematic diagram of the rearview mirror in the embodiment of the present application;
图1f是本申请实施例中的镜片调节示意图;Figure 1f is a schematic diagram of lens adjustment in the embodiment of the present application;
图2是本申请实施例中的一种后视镜调节装置的结构示意图;Fig. 2 is a schematic structural view of a rearview mirror adjusting device in an embodiment of the present application;
图3是本申请实施例中的一种电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application;
图4是本申请实施例中的一种包含计算机程序的计算机可读存储介质的结构示意图。Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作说明。可以理解的是,此处所描述的实 施例仅仅用于解释本申请。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。此外,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The application will be described below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments described here are only for explaining the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures. In addition, the embodiments in the present application and the features in the embodiments can be combined with each other under the condition of no conflict.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将多项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,多项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。此外,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flow diagrams depict operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. Additionally, the order of multiple operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like. In addition, the embodiments in the present application and the features in the embodiments can be combined with each other under the condition of no conflict.
本申请使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”。The term "comprising" and its variants used in this application are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment."
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it need not be defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
图1为本申请实施例提供的一种后视镜调节方法的流程图,本实施例可适用于后视镜调节的情况,该方法可以由本申请实施例中的后视镜调节装置来执行,该装置可采用软件和/或硬件的方式实现,如图1所示,该后视镜调节方法包括如下步骤:Fig. 1 is a flow chart of a rearview mirror adjustment method provided by the embodiment of the present application. This embodiment is applicable to the situation of rearview mirror adjustment, and the method can be performed by the rearview mirror adjustment device in the embodiment of the present application. The device can be implemented in the form of software and/or hardware, as shown in Figure 1, the rearview mirror adjustment method includes the following steps:
S110,在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息。S110, if it is determined according to the facial information of the driver that the driver enters for the first time, acquire the driver's eye coordinate information.
本实施例中,根据驾驶员的面部信息确定驾驶员首次进入的方式可以为:基于面部识别装置获取驾驶员的面部信息,根据驾驶员的面部信息查询当前车辆对应的驾驶员面部信息列表,基于列表中存在当前驾驶员的面部信息的查询结果,确定驾驶员非首次进入车辆,基于列表中不存在当前驾驶员的面部信息的查询结果,确定驾驶员首次进入车辆。In this embodiment, the way to determine the driver's first entry based on the driver's facial information may be: obtain the driver's facial information based on the facial recognition device, query the driver's facial information list corresponding to the current vehicle according to the driver's facial information, and based on If there is a query result of the current driver's facial information in the list, it is determined that the driver is not entering the vehicle for the first time, and based on the query result of the current driver's facial information not existing in the list, it is determined that the driver is entering the vehicle for the first time.
可选的,获取驾驶员眼睛坐标信息的方式可以为:根据驾驶员的面部信息确定驾驶员眼睛坐标。Optionally, the manner of obtaining the driver's eye coordinate information may be: determining the driver's eye coordinates according to the driver's facial information.
S120,根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息。S120. Query a database according to the driver's eye coordinate information to obtain rearview mirror position information corresponding to the driver's eye coordinate information.
本实施例中,所述后视镜可以为外后视镜。所述数据库中存储有驾驶员眼睛坐标信息和后视镜位置信息的对应关系列表,例如可以是,驾驶员眼睛坐标信息A对应后视镜位置信息a,驾驶员眼睛坐标信息B对应后视镜位置信息b。In this embodiment, the rearview mirror may be an exterior rearview mirror. The database stores a list of correspondences between the driver's eye coordinate information and the rearview mirror position information. For example, the driver's eye coordinate information A corresponds to the rearview mirror position information a, and the driver's eye coordinate information B corresponds to the rearview mirror position information. location information b.
示例性的,根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息,例如可以是,利用人机工程原理统计出驾驶员眼睛在驾驶室内可能到达的空间范围,在此空间范围内设置空间的点阵,点阵对应驾驶员眼睛坐标,每个点都会提前预设一个后视镜上下调节和左右调节的推荐位置,将点阵和对应的推荐位置设置成一个数据库,当驾驶员第一次坐到驾驶位时,面部识别装置会记录此驾驶员的面部信息,然后根据驾驶员眼睛的坐标和预设的点阵数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息。Exemplarily, the database is queried according to the coordinate information of the driver's eyes to obtain the position information of the rearview mirror corresponding to the coordinate information of the driver's eyes. The spatial range, set the spatial dot matrix within this space range, the dot matrix corresponds to the driver's eye coordinates, each point will preset a recommended position for rearview mirror up and down adjustment and left and right adjustment in advance, and the dot matrix and the corresponding recommended The position is set as a database. When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then obtain the The position information of the rearview mirror corresponding to the eye coordinate information.
S130,根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。S130. Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
示例性的,在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息。根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息。根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。例如可以是,当驾驶员第一次坐到驾驶位时,面部识别装置会记录此驾驶员的面部信息,然后根据驾驶员眼睛的坐标和预设的点阵数据库,将外后视镜调整到推荐位置,此时中控屏或者仪表屏幕会提醒驾驶员,或者,通过车内语音提醒驾驶员,如果对推荐的外后视镜位置不满意可手动调整,调整后,控制器会将此最佳位置和驾驶员面部信息进行关联存储,当驾驶员下次坐到驾驶位,面部识别装置识别面部后,直接将外后视镜调整到上次存储的最佳位置。Exemplarily, in the case where it is determined according to the facial information of the driver that the driver enters for the first time, the coordinate information of the driver's eyes is acquired. The database is queried according to the coordinate information of the driver's eyes to obtain the position information of the rearview mirror corresponding to the coordinate information of the driver's eyes. Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information. For example, when the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to Recommended position, at this time, the central control screen or the instrument screen will remind the driver, or the driver will be reminded through the voice in the car, if you are not satisfied with the recommended position of the exterior rearview mirror, you can manually adjust it, after adjustment, the controller will set the most The best position and the driver's facial information are stored in association. When the driver sits in the driving seat next time, the face recognition device recognizes the face and directly adjusts the exterior rearview mirror to the best position stored last time.
本申请实施例可以保证驾驶员在汽车驾驶室内观看的外后视镜时外后视镜始终处于最佳的位置,提升驾驶员驾驶过程中的安全感,提升汽车座舱的智能感和科技感。The embodiment of the present application can ensure that the exterior rearview mirror is always in the best position when the driver looks at the exterior rearview mirror in the cab of the car, which improves the driver's sense of safety during driving and enhances the sense of intelligence and technology of the car cockpit.
本申请的关键点是后视镜调整的算法。The key point of this application is the algorithm of rearview mirror adjustment.
面部识别装置可识别驾驶员面部特征点的坐标信息,眼睛坐标信息,以及垂直于眼球的空间向量坐标信息,这些坐标都是相对于面部识别装置的坐标信息。The facial recognition device can recognize the coordinate information of the driver's facial feature points, eye coordinate information, and space vector coordinate information perpendicular to the eyeball, and these coordinates are relative to the coordinate information of the facial recognition device.
面部识别装置将识别的面部,眼部,眼球空间向量(眼的主光线方向)的坐标信息通过专用的数据线以串口数据形式发送给控制器,从而保证数据的实时性,控制器将这些坐标信息结合面部识别装置在整车的坐标位置,进行矩阵 运算,转换成整车坐标系的坐标位置。The facial recognition device sends the coordinate information of the recognized face, eyes, and eyeball space vector (direction of the main ray of the eye) to the controller through a dedicated data line in the form of serial data, thereby ensuring the real-time nature of the data, and the controller sends these coordinates The information is combined with the coordinate position of the facial recognition device in the vehicle, and matrix operation is performed to convert it into the coordinate position of the vehicle coordinate system.
利用人机工程原理统计出驾驶员眼睛在驾驶室内可能到达的空间范围,在此空间范围内设置空间的点阵,点阵对应驾驶员眼睛坐标,每个点都会提前预设一个后视镜上下调节和左右调节的推荐位置,点阵和对应的推荐位置设置成一个数据库,当驾驶员第一次坐到驾驶位时,面部识别装置会记录此驾驶员的面部信息,然后根据驾驶员眼睛的坐标和预设的点阵数据库,将外后视镜调整到推荐位置,此时中控屏或者仪表屏幕会提醒驾驶员,或者,通过车内语音提醒驾驶员,如果对推荐的外后视镜位置不满意可手动调整,调整后,控制器会将此最佳位置和驾驶员面部信息进行关联存储,当驾驶员下次坐到驾驶位,面部识别装置识别面部后,直接将外后视镜调整到上次存储的最佳位置。Ergonomics is used to calculate the possible spatial range of the driver's eyes in the cab, and a spatial dot matrix is set within this spatial range. The dot matrix corresponds to the coordinates of the driver's eyes. Each point will be preset in advance with a rearview mirror up and down. The recommended position for adjustment and left and right adjustment, the dot matrix and the corresponding recommended position are set into a database. When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then according to the driver's eyes Coordinates and preset dot matrix database, adjust the exterior rearview mirror to the recommended position, at this time the central control panel or instrument screen will remind the driver, or, through the voice in the car to remind the driver, if the recommended exterior rearview mirror If you are not satisfied with the position, you can adjust it manually. After adjustment, the controller will associate and store the optimal position with the driver’s face information. When the driver sits in the driving seat next time, the face recognition device will recognize the face and directly turn the exterior rearview mirror Adjust to the last stored best position.
面部识别装置会识别出驾驶员垂直于眼球的空间向量,此空间向量代表了驾驶员的眼睛视线方向;将驾驶员眼部坐标与外后视镜壳体椭圆形外缘形成的椎体空间定义为外后视镜调节空间范围。当驾驶员眼睛看向外后视镜时,驾驶员垂直于眼球的空间向量(眼睛视线方向)便会进入到外后视镜调节空间范围,此时外后视镜才会根据驾驶员的视线进行上下和左右的调节。在一实施例中,面部识别装置实时识别驾驶员垂直于眼球的空间向量(眼睛视线方向),当驾驶员垂直于眼球的空间向量(眼睛视线方向)进入到后视镜调节空间范围时,根据驾驶员两只眼睛的视线在外后视镜的交点的位置,来调整后视镜上下左右的位置,以满足驾驶员的最佳视野。The facial recognition device will recognize the driver's space vector perpendicular to the eyeball, which represents the direction of the driver's eye sight; the cone space formed by the driver's eye coordinates and the elliptical outer edge of the exterior rearview mirror housing is defined Adjusts the clearance for the exterior mirrors. When the driver's eyes look at the exterior rearview mirror, the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror. Adjust up and down and left and right. In one embodiment, the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time. When the driver's space vector perpendicular to the eyeball (eye sight direction) enters the rearview mirror adjustment space range, according to The line of sight of the driver's two eyes is at the intersection of the exterior rearview mirror, and the position of the rearview mirror is adjusted up, down, left, and right to meet the best view of the driver.
驾驶员座椅的压力传感器:被设置为检测驾驶位是否有驾驶员,并将信号传递给控制器。驾驶员座椅有人,是启动外后视镜自动调节模式的条件之一。The pressure sensor of the driver's seat: it is set to detect whether there is a driver in the driving seat, and transmit the signal to the controller. The driver's seat is occupied, which is one of the conditions to activate the automatic adjustment mode of the exterior rearview mirror.
现以左侧后视镜为例说明外后视镜的自动调节算法,如图3、图4、图5、图6所示,面部识别装置实时监控驾驶员垂直于眼球的空间向量(眼睛视线方向),当驾驶员两只眼睛看向左侧外后视镜时,驾驶员的眼睛视线方向进入左侧外后视镜调节空间后,控制器会控制左侧外后视镜进入自动调节模式,自驾驶员两只眼睛的垂直于眼球的两个空间向量(两个眼睛视线方向)会在左侧外后视镜的镜面上交汇于一点,这个点可称为视线的交点,如图5所示,将外后视镜的镜片建立如图三维坐标系,镜片处于XY轴所在的面,镜片上下调节时绕X轴转动,镜片左右调节时绕Y轴转动,X轴和Y轴的交点是原点O,Z轴经过原点O且垂直于XY轴。镜片上边缘在Y轴的值为Ymax,下边缘在Y轴的值为Ymin,镜片的左边缘在X轴的值为Xmin,右边缘在X轴的值为Xmax。驾驶员两眼的视线的交点坐标为(X1,Y1),当Y1=Ymax时,后视镜镜片上翻到极限角度,当Y1=Ymin时,后视镜镜片下翻到极限角度,当Y1=0时,后视镜上下翻转的角度为0,当Y1为Ymax≥Y1≥0之间时,后视镜镜片按照从0 到上翻极限角度的比例向上翻转角度,当Y1为0≥Y1≥Ymin之间时,后视镜镜片按照从0到下翻极限角度的比例向下翻转角度。当X1=Xmax时,后视镜镜片右转到极限角度,当X1=Xmin时,后视镜镜片左转到极限角度,当X1=0时,后视镜左右翻转的角度为0,当X1为Xmax≥X1≥0之间时,后视镜按照从0到右转极限角度的比例向右翻转角度,当X1为0≥X1≥Xmin之间时,后视镜按照从0到左翻极限角度的比例向左翻转角度。所以当驾驶员两眼的视线交点在左侧外后视镜的坐标为(X1,Y1)时,左侧外后视镜的镜片就会调整到对应的位置。Now take the left rearview mirror as an example to illustrate the automatic adjustment algorithm of the exterior rearview mirror. As shown in Figure 3, Figure 4, Figure 5, and Figure 6, the facial recognition device monitors the driver's space vector perpendicular to the eyeball in real time (eye line of sight direction), when the driver looks at the left exterior rearview mirror with both eyes, the controller will control the left exterior rearview mirror to enter the automatic adjustment mode after the driver's eye sight direction enters the adjustment space of the left exterior rearview mirror , the two space vectors perpendicular to the eyeball from the driver's two eyes (the direction of sight of the two eyes) will meet at one point on the mirror surface of the left exterior rearview mirror. This point can be called the intersection point of sight, as shown in Figure 5 As shown, the lens of the exterior rearview mirror is established in a three-dimensional coordinate system as shown in the figure. The lens is on the plane where the XY axis is located. When the lens is adjusted up and down, it rotates around the X axis. When the lens is adjusted left and right, it rotates around the Y axis. is the origin O, the Z axis passes through the origin O and is perpendicular to the XY axis. The value of the upper edge of the lens on the Y axis is Ymax, the value of the lower edge on the Y axis is Ymin, the value of the left edge of the lens on the X axis is Xmin, and the value of the right edge of the lens is Xmax. The coordinates of the intersection point of the driver's eyes are (X1, Y1). When Y1=Ymax, the rearview mirror lens is turned up to the limit angle. When Y1=Ymin, the rearview mirror lens is turned down to the limit angle. When Y1 = 0, the up and down turning angle of the rearview mirror is 0, when Y1 is between Ymax≥Y1≥0, the turning angle of the rearview mirror lens is upward according to the ratio from 0 to the upward turning limit angle, when Y1 is 0≥Y1 When ≥Ymin, the rearview mirror lens is flipped down according to the ratio from 0 to the downturn limit angle. When X1=Xmax, the lens of the rearview mirror turns right to the limit angle; when X1=Xmin, the lens of the rearview mirror turns left to the limit angle; when X1=0, the turning angle of the rearview mirror is 0; When Xmax≥X1≥0, the rearview mirror turns to the right according to the ratio from 0 to the right turning limit angle; when X1 is between 0≥X1≥Xmin, the rearview mirror turns from 0 to the left limit The scale of the angle flips the angle to the left. Therefore, when the coordinates of the intersection point of the driver's eyes on the left exterior rearview mirror are (X1, Y1), the lens of the left exterior rearview mirror will be adjusted to the corresponding position.
控制器在调整后视镜的过程中,车速不同,后视镜调整速度也不同,当车速高的时候,后视镜调整速度快一些,车速慢的时候调整速度相对慢一些,通过控制器调整控制电机的PWM波的占空比实现调整电机的速度。(根据车速调整后视镜的速度不同,而实现的方法是PWM波的占空比,PWM波调整占空比大小改变电机的速度。)During the process of adjusting the rearview mirror by the controller, the adjustment speed of the rearview mirror is also different depending on the vehicle speed. When the vehicle speed is high, the adjustment speed of the rearview mirror is faster, and when the vehicle speed is slow, the adjustment speed is relatively slow. Control the duty cycle of the PWM wave of the motor to adjust the speed of the motor. (Adjust the speed of the rearview mirror according to the speed of the vehicle, and the method of realization is the duty cycle of the PWM wave, and the PWM wave adjusts the duty cycle to change the speed of the motor.)
可选的,在根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息之前,还包括:Optionally, before querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information, it also includes:
获取驾驶员眼睛在驾驶室内的空间范围;Obtain the spatial scope of the driver's eyes in the cab;
在所述空间范围内设置空间点阵;Set a spatial lattice within the spatial range;
根据所述空间点阵和所述空间点阵对应的后视镜位置信息建立数据库。A database is established according to the spatial lattice and the rearview mirror position information corresponding to the spatial lattice.
示例性的,获取驾驶员眼睛在驾驶室内的空间范围;在所述空间范围内设置空间点阵;根据所述空间点阵和所述空间点阵对应的后视镜位置信息建立数据库,例如可以是,利用人机工程原理统计出驾驶员眼睛在驾驶室内可能到达的空间范围,在此空间范围内设置空间的点阵,点阵对应驾驶员眼睛坐标,每个点都会提前预设一个后视镜上下调节和左右调节的推荐位置,将点阵和对应的推荐位置设置成一个数据库。Exemplarily, the spatial range of the driver's eyes in the cab is obtained; a spatial lattice is set within the spatial range; a database is established according to the spatial lattice and the rearview mirror position information corresponding to the spatial lattice, for example, Yes, use ergonomic principles to calculate the possible spatial range of the driver's eyes in the cab, and set a spatial dot matrix within this spatial range. The dot matrix corresponds to the coordinates of the driver's eyes, and each point will preset a rear view in advance. The recommended positions for the up-down adjustment and left-right adjustment of the mirror, the dot matrix and the corresponding recommended positions are set into a database.
可选的,所述驾驶员眼睛坐标信息包括:垂直于眼球的空间向量;Optionally, the driver's eye coordinate information includes: a space vector perpendicular to the eyeball;
相应的,在根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置之后,还包括:Correspondingly, after adjusting the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information, the method further includes:
根据所述驾驶员眼睛坐标信息和后视镜的坐标信息确定目标空间;determining the target space according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror;
在所述垂直于眼球的空间向量在所述目标空间内的情况下,根据驾驶员视线交点的位置信息调整后视镜的位置。In the case that the space vector perpendicular to the eyeball is in the target space, the position of the rearview mirror is adjusted according to the position information of the driver's line of sight intersection.
示例性的,根据所述驾驶员眼睛坐标信息和后视镜的坐标信息确定目标空间,例如可以是,将驾驶员眼部坐标与外后视镜壳体椭圆形外缘形成的椎体空 间定义为外后视镜调节空间范围。Exemplarily, the target space is determined according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror. Adjusts the clearance for the exterior mirrors.
示例性的,在所述垂直于眼球的空间向量在所述目标空间内的情况下,根据驾驶员视线交点的位置信息调整后视镜的位置,例如可以是,当驾驶员眼睛看向外后视镜时,驾驶员垂直于眼球的空间向量(眼睛视线方向)便会进入到外后视镜调节空间范围,此时外后视镜才会根据驾驶员的视线进行上下和左右的调节。在一实施例中,面部识别装置实时识别驾驶员垂直于眼球的空间向量(眼睛视线方向),当驾驶员垂直于眼球的空间向量(眼睛视线方向)进入到后视镜调节空间范围时,根据驾驶员两只眼睛的视线在外后视镜的交点的位置,来调整后视镜上下左右的位置,以满足驾驶员的最佳视野。Exemplarily, in the case that the space vector perpendicular to the eyeball is in the target space, the position of the rearview mirror is adjusted according to the position information of the driver's line of sight intersection, for example, when the driver's eyes look outward When viewing the mirror, the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror. At this time, the exterior rearview mirror will be adjusted up and down and left and right according to the driver's line of sight. In one embodiment, the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time. When the driver's space vector perpendicular to the eyeball (eye sight direction) enters the rearview mirror adjustment space range, according to The line of sight of the driver's two eyes is at the intersection of the exterior rearview mirror, and the position of the rearview mirror is adjusted up, down, left, and right to meet the best view of the driver.
在一实施例中,目标空间可以是外后视镜调节空间范围。相应的,根据所述驾驶员眼睛坐标信息和后视镜的坐标信息确定目标空间,包括:根据所述驾驶员严杰坐标行和后视镜的坐标信息,确定外后视镜调节空间范围。In an embodiment, the target space may be the adjustment space range of the exterior rearview mirror. Correspondingly, determining the target space according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror includes: determining the adjustment space range of the exterior rearview mirror according to the coordinate line of the driver's eyes and the coordinate information of the rearview mirror.
可选的,根据驾驶员两只眼睛的视线在后视镜的交点的位置信息调整后视镜的位置,包括:Optionally, adjust the position of the rearview mirror according to the position information of the driver's two eyes at the intersection of the rearview mirror, including:
获取驾驶员视线交点的横坐标和纵坐标;Obtain the abscissa and ordinate of the driver's line of sight intersection;
根据所述驾驶员视线交点的横坐标确定后视镜向左的翻转角度或者向右的翻转角度,根据所述后视镜向左的翻转角度或者向右的翻转角度调整后视镜的位置;Determine the leftward flip angle or rightward flip angle of the rearview mirror according to the abscissa of the driver's line of sight intersection, and adjust the position of the rearview mirror according to the leftward flip angle or rightward flip angle of the rearview mirror;
根据所述驾驶员视线交点的纵坐标确定后视镜向上的翻转角度或者向下的翻转角度,根据所述后视镜向上的翻转角度或者向下的翻转角度调整后视镜的位置。The upward or downward flip angle of the rearview mirror is determined according to the ordinate of the driver's line of sight intersection, and the position of the rearview mirror is adjusted according to the upward or downward flip angle of the rearview mirror.
在一实施例中,在调节左后视镜时,自驾驶员两只眼睛的垂直于眼球的两个空间向量(两个眼睛视线方向)会在左侧外后视镜的镜面上交汇于一点,这个点可称为视线的交点。可选的,以外后视镜的镜片建立三维坐标系,镜片处于XY轴所在的面,镜片上下调节时绕X轴转动,镜片左右调节时绕Y轴转动,X轴和Y轴的交点是原点O。其中,Y轴正方向为上方向,X轴正方向为右方向,Z轴经过原点O且垂直于XY轴,镜片上边缘在Y轴的值为Ymax,下边缘在Y轴的值为Ymin,镜片的左边缘在X轴的值为Xmin,右边缘在X轴的值为Xmax。In one embodiment, when the left rearview mirror is adjusted, two space vectors (directions of sight of the two eyes) perpendicular to the eyeballs from the driver's two eyes will converge at one point on the mirror surface of the left exterior rearview mirror. , this point can be called the intersection point of the line of sight. Optionally, the lens of the outer rearview mirror establishes a three-dimensional coordinate system. The lens is on the surface where the XY axes are located. When the lens is adjusted up and down, it rotates around the X axis, and when the lens is adjusted left and right, it rotates around the Y axis. O. Among them, the positive direction of the Y axis is the upward direction, the positive direction of the X axis is the right direction, the Z axis passes through the origin O and is perpendicular to the XY axis, the value of the upper edge of the lens on the Y axis is Ymax, and the value of the lower edge on the Y axis is Ymin, The value of the left edge of the lens on the X-axis is Xmin, and the value of the right edge on the X-axis is Xmax.
可选的,根据所述驾驶员视线交点的纵坐标确定后视镜向上的翻转角度或者向下的翻转角度,包括:Optionally, the upward or downward flip angle of the rearview mirror is determined according to the ordinate of the driver's line of sight intersection, including:
在所述驾驶员视线交点的纵坐标等于第一阈值的情况下,将后视镜的镜片向上翻转到最大角度;In the case where the ordinate of the driver's line of sight intersection is equal to the first threshold, turn the lens of the rearview mirror upward to the maximum angle;
在所述驾驶员视线交点的纵坐标等于第二阈值的情况下,将后视镜的镜片向下翻转到最大角度,其中,所述第一阈值大于零,所述第二阈值小于零;In the case where the ordinate of the driver's line of sight intersection is equal to a second threshold, turn the lens of the rearview mirror downward to a maximum angle, wherein the first threshold is greater than zero, and the second threshold is less than zero;
在所述驾驶员视线交点的纵坐标大于零,且小于第一阈值的情况下,根据驾驶员视线交点的纵坐标和后视镜的镜片向上翻转的最大角度确定目标向上翻转角度;In the case where the ordinate of the driver's line of sight intersection is greater than zero and less than the first threshold, the target upward turning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum angle of upward turning of the lens of the rearview mirror;
在所述驾驶员视线交点的纵坐标小于零,且大于第二阈值的情况下,根据驾驶员视线交点的纵坐标和后视镜的镜片向下翻转的最大角度确定目标向下翻转角度。If the ordinate of the driver's line of sight intersection is less than zero and greater than the second threshold, the target downturning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum downturning angle of the rearview mirror.
本实施例中,所述第一阈值可以为Ymax,第二阈值可以为Ymin。In this embodiment, the first threshold may be Ymax, and the second threshold may be Ymin.
可选的,根据所述驾驶员视线交点的横坐标确定后视镜向左的翻转角度或者向右的翻转角度,包括:Optionally, determining the leftward or rightward flip angle of the rearview mirror according to the abscissa of the driver's line of sight intersection, including:
在所述驾驶员视线交点的横坐标等于第三阈值的情况下,将后视镜的镜片向右翻转到最大角度;When the abscissa of the driver's line of sight intersection is equal to the third threshold, turn the eyeglass of the rearview mirror to the right to the maximum angle;
在所述驾驶员视线交点的横坐标等于第四阈值的情况下,将后视镜的镜片向左翻转到最大角度,其中,所述第三阈值大于零,所述第四阈值小于零;In the case where the abscissa of the driver's line of sight intersection is equal to a fourth threshold, turn the lens of the rearview mirror to the left to a maximum angle, wherein the third threshold is greater than zero, and the fourth threshold is less than zero;
在所述驾驶员视线交点的横坐标大于零,且小于第三阈值的情况下,根据驾驶员视线交点的横坐标和后视镜的镜片向右翻转的最大角度确定目标向右翻转角度;In the case where the abscissa of the driver's line of sight intersection is greater than zero and less than the third threshold, the target rightward turning angle is determined according to the abscissa of the driver's line of sight intersection and the maximum angle at which the lens of the rearview mirror turns rightward;
在所述驾驶员视线交点的横坐标小于零,且大于第四阈值的情况下,根据驾驶员视线交点的横坐标和后视镜的镜片向左翻转的最大角度确定目标向左翻转角度。If the abscissa of the driver's line of sight intersection is less than zero and greater than the fourth threshold, the target left turn angle is determined according to the abscissa of the driver's line of sight intersection and the maximum left turn angle of the rearview mirror.
本实施例中,所述第三阈值可以为Xmax,所述第四阈值可以为Xmin。In this embodiment, the third threshold may be Xmax, and the fourth threshold may be Xmin.
可选的,在根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置之后,还包括:Optionally, after adjusting the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information, the method further includes:
获取用户针对后视镜的调节信息;Obtain the user's adjustment information for the rearview mirror;
将所述调节信息和驾驶员的面部信息进行关联存储。The adjustment information and the driver's facial information are associated and stored.
可选的,所述驾驶员眼睛坐标为驾驶员两只眼睛的中间位置的空间坐标。Optionally, the driver's eye coordinates are spatial coordinates of the middle position of the driver's two eyes.
本申请实施例利用面部识别技术,对驾驶员的面部进行识别,面部识别装置位于车内固定位置,面部识别装置在整车坐标系的坐标是固定的,面部识别装置可识别出相对于面部识别装置位置的眼睛坐标信息,以及垂直于眼球的空间向量(眼睛视线方向),用矩阵进行坐标变换,可将眼睛坐标信息和垂直于眼球的空间向量(眼睛视线方向)变换成在整车的坐标系;利用人机工程原理 统计出驾驶员眼睛在驾驶室内可能到达的空间范围,当驾驶员眼睛坐标在此空间范围内时,同时校验驾驶员位置的座椅传感器有人,此时便可进入外后视镜自动调节模式。The embodiment of the present application uses facial recognition technology to recognize the driver's face. The facial recognition device is located at a fixed position in the vehicle. The coordinates of the facial recognition device in the vehicle coordinate system are fixed. The facial recognition device can recognize The eye coordinate information of the device position, and the space vector perpendicular to the eyeball (eye line of sight direction), coordinate transformation with a matrix, the eye coordinate information and the space vector perpendicular to the eyeball (eye line of sight direction) can be transformed into the coordinates of the vehicle system; using ergonomic principles to calculate the possible spatial range of the driver's eyes in the cab, when the driver's eye coordinates are within this spatial range, and at the same time verify that the seat sensor of the driver's position is occupied, then you can enter Auto-adjustment mode for exterior mirrors.
利用人机工程原理统计出驾驶员眼睛在驾驶室内可能到达的空间范围,在此空间范围内设置空间的点阵,点阵对应驾驶员眼睛坐标,每个点都会提前预设一个后视镜上下调节和左右调节的推荐位置,点阵和对应的推荐位置设置成一个数据库。当驾驶员第一次坐到驾驶位时,面部识别装置会记录此驾驶员的面部信息,然后根据驾驶员眼睛的坐标和预设的点阵数据库,将外后视镜调整到推荐位置,此时中控屏或者仪表屏幕会提醒驾驶员,或者,通过车内语音提醒驾驶员,如果对推荐的外后视镜位置不满意可手动调整,调整后,控制器会将此最佳位置和驾驶员面部信息进行关联存储,当驾驶员下次坐到驾驶位,面部识别装置识别面部后,直接将外后视镜调整到上次存储的最佳位置。Ergonomics is used to calculate the possible spatial range of the driver's eyes in the cab, and a spatial dot matrix is set within this spatial range. The dot matrix corresponds to the coordinates of the driver's eyes. Each point will be preset in advance with a rearview mirror up and down. The recommended positions for adjustment and left and right adjustments, the dot matrix and the corresponding recommended positions are set into a database. When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to the recommended position according to the coordinates of the driver's eyes and the preset dot matrix database. The central control screen or the instrument screen will remind the driver, or the driver will be reminded by the voice in the car. If you are not satisfied with the recommended position of the exterior rearview mirror, you can manually adjust it. After adjustment, the controller will compare the best position with the driving position When the driver sits in the driving seat next time and the face recognition device recognizes the face, the exterior rearview mirror is directly adjusted to the best position stored last time.
在一实施例中,面部识别装置会识别出驾驶员垂直于眼球的空间向量,此空间向量代表了驾驶员的眼睛视线方向;将驾驶员眼部坐标与外后视镜壳体椭圆形外缘形成的椎体空间定义为外后视镜调节空间范围。当驾驶员眼睛看向外后视镜时,驾驶员垂直于眼球的空间向量(眼睛视线方向)便会进入到外后视镜调节空间范围,此时外后视镜才会根据驾驶员的视线进行上下和左右的调节。在一实施例中,面部识别装置实时识别驾驶员垂直于眼球的空间向量(眼睛视线方向),当驾驶员垂直于眼球的空间向量(眼睛视线方向)进入到后视镜调节空间范围时,根据驾驶员两只眼睛的视线在外后视镜的交点的位置,来调整后视镜上下左右的位置,以满足驾驶员的最佳视野。与相关技术中通过车内摄像头和预设数据库进行调节的方案相比,本申请实施例可以通过驾驶员的眼睛视线方向就能调节外后视镜更加的智能化,调整的更加准确,特别是驾驶员在驾车的过程中,有时看外后视镜的时候,眼睛位置和面部位置的变化很小,仅仅是通过眼球的运动去看一眼后视镜,这样的话,相关技术中通过摄像头和预设数据库的方案不能识别到驾驶员在观察外后视镜,更不会去调节外后视镜,这样会导致驾驶员的视野不佳。In one embodiment, the facial recognition device can identify the driver's space vector perpendicular to the eyeball, and this space vector represents the driver's eye sight direction; The formed vertebral body space is defined as the adjustment space range of the exterior rearview mirror. When the driver's eyes look at the exterior rearview mirror, the driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space of the exterior rearview mirror. Adjust up and down and left and right. In one embodiment, the facial recognition device recognizes the driver's space vector perpendicular to the eyeball (eye sight direction) in real time. When the driver's space vector perpendicular to the eyeball (eye sight direction) enters the rearview mirror adjustment space range, according to The line of sight of the driver's two eyes is at the intersection of the exterior rearview mirror, and the position of the rearview mirror is adjusted up, down, left, and right to meet the best view of the driver. Compared with the scheme of adjusting through the camera in the car and the preset database in the related art, the embodiment of the present application can adjust the exterior rearview mirror through the direction of the driver's eye line of sight, which is more intelligent and more accurate. In the process of driving, sometimes when the driver looks at the exterior rearview mirror, the position of the eyes and the position of the face change very little, and he only looks at the rearview mirror through the movement of the eyeballs. The scheme of setting up the database cannot recognize that the driver is observing the exterior rearview mirror, let alone adjust the exterior rearview mirror, which will lead to poor vision of the driver.
与相关技术方案相比,本方案更加智能化,有更加详细的面部识别坐标变换算法和后视镜调整算法。Compared with related technical solutions, this solution is more intelligent, and has more detailed facial recognition coordinate transformation algorithms and rearview mirror adjustment algorithms.
本申请实施例为了使驾驶员在车内时,外后视镜始终能在一个最佳的视野,并根据驾驶员的意图,对后视镜进行调节的,保证行车时驾驶员在车内拥有个最佳的视野。In the embodiment of the present application, in order to make the driver in the car, the exterior rearview mirror can always be in an optimal field of view, and adjust the rearview mirror according to the driver's intention, so as to ensure that the driver has the best view in the car when driving. the best view.
为了更清楚地说明本申请实施例技术方案,下面将对描述中所需要使用的附图作详细的介绍,下面描述中的附图仅仅是本申请为了更清楚地说明本申请 实施例或相关技术中的技术方案,下面将对相关技术描述中所需要使用的附图作介绍。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that need to be used in the description will be described in detail below. The drawings in the following descriptions are only for this application to more clearly illustrate the embodiments of the present application or related technologies In the technical solution, the following will introduce the accompanying drawings that need to be used in the description of related technologies.
装置系统构成:Device system composition:
1、面部识别装置:可实现驾驶员面部特征识别以及获取驾驶员面部坐标,眼部坐标,和垂直于眼球的空间向量(眼睛视线方向)空间的坐标,这些坐标数据的原点为面部识别装置的位置,非整车坐标系的坐标,这些坐标可通过面部识别装置在整车坐标系的坐标位置通过矩阵换算成整车坐标,这次坐标变换,在控制器中进行。1. Facial recognition device: it can realize the driver's facial feature recognition and obtain the driver's facial coordinates, eye coordinates, and coordinates in the space vector (eye line direction) perpendicular to the eyeball. The origin of these coordinate data is the face recognition device. The position is not the coordinates of the vehicle coordinate system. These coordinates can be converted into vehicle coordinates through a matrix through the coordinate position of the facial recognition device in the vehicle coordinate system. This coordinate transformation is performed in the controller.
2、驾驶员座椅的压力传感器:被设置为检测驾驶位是否有驾驶员,并将信号传递给控制器。2. The pressure sensor of the driver's seat: it is set to detect whether there is a driver in the driving seat, and transmit the signal to the controller.
3、外后视镜上下调整装置和上下调整电机,外后视镜左右调整装置和左右调整电机,此结构和驱动电机在现在的车辆上很常见,此处不再特别说明。3. The up and down adjustment device and up and down adjustment motor of the exterior rearview mirror, the left and right adjustment device and the left and right adjustment motor of the exterior rearview mirror. This structure and driving motor are very common in current vehicles, and will not be specifically described here.
如图1a所示,面部识别装置安装于汽车仪表板上方,也可安装在A柱上,中控屏左侧(驾驶员侧),驾驶员侧前挡风玻璃上方。面部识别装置安装固定后,面部识别装置在整车坐标系中的坐标位置固定。As shown in Figure 1a, the facial recognition device is installed above the dashboard of the car, and can also be installed on the A-pillar, on the left side of the central control panel (driver's side), and above the front windshield on the driver's side. After the face recognition device is installed and fixed, the coordinate position of the face recognition device in the vehicle coordinate system is fixed.
在图1a、图1b和图1c中面部识别装置可识别驾驶员面部特征和面部坐标信息,眼睛坐标信息,以及垂直于眼球的空间向量坐标信息,这些坐标信息都是相对于面部识别装置的坐标信息,就是说这些坐标信息是以面部识别装置为原点的坐标系中的坐标。In Figure 1a, Figure 1b and Figure 1c, the facial recognition device can identify the driver's facial features and facial coordinate information, eye coordinate information, and space vector coordinate information perpendicular to the eyeball, these coordinate information are relative to the coordinates of the facial recognition device Information, that is, these coordinate information are coordinates in the coordinate system with the origin of the facial recognition device.
如图1a、图1b、图1c和图1d所示,面部识别装置将识别的面部,眼部,眼球空间向量(眼的主光线方向)的坐标信息(以面部识别装置为原点的坐标系中的坐标。)通过数据线发送给控制器,控制器将这些坐标信息结合面部识别装置在整车坐标系中的坐标位置,进行坐标变换,将面部、眼部和眼球空间向量(眼的主光线方向)的坐标信息转换成整车坐标位置。As shown in Fig. 1a, Fig. 1b, Fig. 1c and Fig. 1d, the facial recognition device will identify the face, eyes, coordinate information of the eyeball space vector (direction of the chief ray of the eye) (in the coordinate system with the facial recognition device as the origin The coordinates.) are sent to the controller through the data line, and the controller combines these coordinate information with the coordinate position of the facial recognition device in the vehicle coordinate system to perform coordinate transformation, and transforms the face, eyes and eyeball space vector (the chief ray of the eye direction) coordinate information into vehicle coordinate position.
如图1a、图1b和图1c所示,通过人机工程原理统计出驾驶员眼睛在驾驶室内可能到达的空间范围,在此空间范围内设置空间的点阵,点阵对应驾驶员眼睛坐标,每个点都会提前设置一个后视镜上下调节和左右调节的推荐位置,将点阵和对应的推荐位置设置成一个数据库。当驾驶员第一次坐到驾驶位时,面部识别装置会记录此驾驶员的面部信息,然后根据驾驶员眼睛的坐标和预设的点阵数据库,将外后视镜调整到推荐位置,此时中控屏或者仪表屏幕或者语音系统会提醒驾驶员。如果驾驶员对推荐的外后视镜位置不满意可手动调整,调整后,控制器会将此最佳位置和驾驶员面部信息进行关联存储,当驾驶员下次坐到驾驶位,面部识别装置识别面部后,直接将外后视镜调整到上次存储的 最佳位置。As shown in Fig. 1a, Fig. 1b and Fig. 1c, the spatial range that the driver's eyes may reach in the driver's cab is counted through the ergonomics principle, and the spatial dot matrix is set in this spatial range, and the dot matrix corresponds to the coordinates of the driver's eyes. Each point will set a recommended position for rearview mirror up and down adjustment and left and right adjustment in advance, and set the dot matrix and the corresponding recommended position into a database. When the driver sits in the driving seat for the first time, the facial recognition device will record the driver's facial information, and then adjust the exterior rearview mirror to the recommended position according to the coordinates of the driver's eyes and the preset dot matrix database. Sometimes the central control screen or instrument screen or voice system will remind the driver. If the driver is not satisfied with the recommended position of the exterior rearview mirror, he can manually adjust it. After adjustment, the controller will associate and store the optimal position with the driver's face information. When the driver sits in the driving seat next time, the facial recognition device will After the face is recognized, directly adjust the exterior rearview mirror to the best position stored last time.
如图1c所示,将驾驶员眼部坐标与外后视镜壳体椭圆形外缘形成的椎体空间定义为外后视镜调节空间范围,当驾驶员眼睛看向外后视镜时,驾驶员垂直于眼球的空间向量(眼睛视线方向)便会进入到外后视镜调节空间范围,只有当驾驶员的眼睛视线方向进入外后视镜调节空间范围后,控制器才会控制外后视镜根据驾驶员的视线进行上下和左右的调节。当驾驶员目视汽车前方时,此时驾驶员垂直于眼球的空间向量(眼睛视线方向)并不在外后视镜调节空间范围,并不会激活控制器进入后视镜自动调节模式。也就是说只要驾驶员在看那一侧的外后视镜的时候,那一侧的外后视镜才会调节。As shown in Figure 1c, the vertebral body space formed by the driver's eye coordinates and the elliptical outer edge of the exterior rearview mirror housing is defined as the adjustment space range of the exterior rearview mirror. When the driver's eyes look at the exterior rearview mirror, The driver's space vector perpendicular to the eyeball (eye sight direction) will enter the adjustment space range of the exterior rearview mirror. Only when the driver's eye sight direction enters the adjustment space range of the exterior rearview mirror, the controller will control The mirror can be adjusted up and down and left and right according to the driver's line of sight. When the driver looks at the front of the car, the driver's space vector perpendicular to the eyeball (eye sight direction) is not in the adjustment space range of the exterior rearview mirror, and the controller will not be activated to enter the automatic adjustment mode of the rearview mirror. That is to say, as long as the driver is looking at the exterior rearview mirror on that side, the exterior rearview mirror on that side will be adjusted.
现以左侧后视镜为例说明外后视镜的自动调节算法,如图1c、图1d、图1e和图1f所示,面部识别装置实时监控驾驶员垂直于眼球的空间向量(眼睛视线方向),当驾驶员两只眼睛看向左侧外后视镜时,驾驶员的眼睛视线方向进入左侧外后视镜调节空间后,控制器会控制左侧外后视镜进入自动调节模式。自驾驶员两只眼睛的垂直于眼球的两个空间向量(两个眼睛视线方向)会在左侧外后视镜的镜面上交汇于一点,这个点可称为视线的交点,如图1e所示,将外后视镜的镜片建立如图三维坐标系,镜片处于XY轴所在的面,镜片上下调节时绕X轴转动,镜片左右调节时绕Y轴转动,X轴和Y轴的交点是原点O,Z轴经过原点O且垂直于XY轴。镜片上边缘在Y轴的值为Ymax,下边缘在Y轴的值为Ymin,镜片的左边缘在X轴的值为Xmin,右边缘在X轴的值为Xmax。驾驶员两眼的视线的交点坐标为(X1,Y1),当Y1=Ymax时,后视镜镜片上翻到极限角度,当Y1=Ymin时,后视镜镜片下翻到极限角度,当Y1=0时,后视镜上下翻转的角度为0,当Y1为Ymax≥Y1≥0之间时,后视镜镜片按照从0到上翻极限角度的比例向上翻转角度,当Y1为0≥Y1≥Ymin之间时,后视镜镜片按照从0到下翻极限角度的比例向下翻转角度。当X1=Xmax时,后视镜镜片右转到极限角度,当X1=Xmin时,后视镜镜片左转到极限角度,当X1=0时,后视镜左右翻转的角度为0,当X1为Xmax≥X1≥0之间时,后视镜镜片按照从0到右转极限角度的比例向右翻转角度,当X1为0≥X1≥Xmin之间时,后视镜镜片按照从0到左翻极限角度的比例向左翻转角度。所以当驾驶员两眼的视线交点在左侧外后视镜的坐标为(X1,Y1)时,左侧外后视镜的镜片就会调整到对应的位置。Now take the left rearview mirror as an example to illustrate the automatic adjustment algorithm of the exterior rearview mirror. As shown in Fig. direction), when the driver looks at the left exterior rearview mirror with both eyes, the controller will control the left exterior rearview mirror to enter the automatic adjustment mode after the driver's eye sight direction enters the adjustment space of the left exterior rearview mirror . The two space vectors from the driver's two eyes perpendicular to the eyeball (directions of sight of the two eyes) will meet at one point on the mirror surface of the left exterior rearview mirror. This point can be called the intersection point of sight, as shown in Figure 1e As shown, the lens of the exterior rearview mirror is established in a three-dimensional coordinate system as shown in the figure. The lens is located on the plane where the XY axis is located. When the lens is adjusted up and down, it rotates around the X axis, and when the lens is adjusted left and right, it rotates around the Y axis. The origin O, the Z axis passes through the origin O and is perpendicular to the XY axis. The value of the upper edge of the lens on the Y axis is Ymax, the value of the lower edge on the Y axis is Ymin, the value of the left edge of the lens on the X axis is Xmin, and the value of the right edge of the lens is Xmax. The coordinates of the intersection point of the driver's eyes are (X1, Y1). When Y1=Ymax, the rearview mirror lens is turned up to the limit angle. When Y1=Ymin, the rearview mirror lens is turned down to the limit angle. When Y1 = 0, the up and down flip angle of the rearview mirror is 0, when Y1 is between Ymax≥Y1≥0, the rearview mirror lens is flipped up according to the ratio from 0 to the upturn limit angle, when Y1 is 0≥Y1 When ≥Ymin, the rearview mirror lens is flipped down according to the ratio from 0 to the downturn limit angle. When X1=Xmax, the lens of the rearview mirror turns right to the limit angle; when X1=Xmin, the lens of the rearview mirror turns left to the limit angle; when X1=0, the turning angle of the rearview mirror is 0; When Xmax≥X1≥0, the rearview mirror lens turns to the right according to the ratio from 0 to the right turning limit angle; when X1 is between 0≥X1≥Xmin, the rearview mirror lens rotates from 0 to the left The scale of the flip limit angle flips the angle to the left. Therefore, when the coordinates of the intersection point of the driver's eyes on the left exterior rearview mirror are (X1, Y1), the lens of the left exterior rearview mirror will be adjusted to the corresponding position.
控制器在调整后视镜的过程中,车速不同,后视镜调整速度不同,当车速高的时候,后视镜调整速度快一些,车速慢的时候调整速度相对慢一些,通过调整PWM波的占空比实现调整电机的速度。During the process of adjusting the rearview mirror, the adjustment speed of the rearview mirror is different depending on the vehicle speed. When the vehicle speed is high, the adjustment speed of the rearview mirror is faster, and when the vehicle speed is slow, the adjustment speed is relatively slow. By adjusting the PWM wave The duty cycle is implemented to adjust the speed of the motor.
本申请实施例公开一种汽车外后视镜自动调节装置及控制算法。本申请实 施例跟手动调节汽车外后视镜完全不同,本申请实施例是将面部识别技术识别的驾驶员眼睛坐标和垂直于驾驶员眼球的空间向量(眼睛视线方向)进行计算,计算后将外后视镜调整到最佳位置,整个调整过程完全实现智能快速自动化调整。与后视镜手动调节相比,更加的便捷,提升驾驶安全性,使外后视镜始终处于驾驶员最佳的观察区。提高驾驶员驾驶的安全性,同时提升汽车座舱的科技感。The embodiment of the present application discloses an automatic adjustment device and a control algorithm for an exterior rearview mirror of an automobile. The embodiment of the present application is completely different from the manual adjustment of the exterior rearview mirror of the car. The embodiment of the present application calculates the coordinates of the driver's eyes identified by the facial recognition technology and the space vector (direction of eye sight) perpendicular to the driver's eyeballs. After the calculation, the The exterior rearview mirror is adjusted to the best position, and the entire adjustment process fully realizes intelligent, fast and automatic adjustment. Compared with the manual adjustment of the rearview mirror, it is more convenient and improves driving safety, so that the external rearview mirror is always in the driver's best viewing area. Improve the driving safety of the driver, while enhancing the technological sense of the car cockpit.
本申请实施例保证驾驶员在汽车驾驶室内观看外后视镜时,外后视镜处于最佳的视野位置,提升驾驶员驾驶过程中的安全感。本申请实施例将面部识别技术识别的驾驶员眼睛坐标和垂直于眼球的空间向量(眼睛视线方向)进行计算,计算后将外后视镜调整到最佳位置,整个调整过程完全实现智能快速自动化调整。The embodiment of the present application ensures that when the driver looks at the exterior rearview mirror in the cab of the car, the exterior rearview mirror is in the best visual field position, which improves the driver's sense of safety during driving. In the embodiment of the present application, the driver's eye coordinates identified by facial recognition technology and the space vector perpendicular to the eyeball (eye sight direction) are calculated, and after the calculation, the exterior rearview mirror is adjusted to the optimal position, and the entire adjustment process fully realizes intelligent and rapid automation. Adjustment.
本实施例在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置,能够更加便捷的对后视镜进行调节,提升驾驶安全性,使外后视镜始终处于驾驶员最佳的观察区。In this embodiment, when it is determined that the driver enters for the first time according to the facial information of the driver, the driver's eye coordinate information is obtained; the database is queried according to the driver's eye coordinate information, and the rearview mirror corresponding to the driver's eye coordinate information is obtained. Position information; according to the position information of the rear-view mirror, adjust the rear-view mirror to the position corresponding to the position information of the rear-view mirror, which can more conveniently adjust the rear-view mirror, improve driving safety, and make the exterior rear-view mirror always In the driver's best observation zone.
图2为本申请实施例提供的一种后视镜调节装置的结构示意图。本实施例可适用于后视镜调节的情况,该装置可采用软件和/或硬件的方式实现,该后视镜调节装置可集成在任何提供后视镜调节功能的设备中,如图2所示,所述后视镜调节装置包括:获取模块210、查询模块220和调整模块230。Fig. 2 is a schematic structural diagram of a rearview mirror adjusting device provided by an embodiment of the present application. This embodiment is applicable to the situation of rearview mirror adjustment, and the device can be realized by software and/or hardware, and the rearview mirror adjustment device can be integrated in any equipment that provides rearview mirror adjustment function, as shown in Figure 2 As shown, the rearview mirror adjustment device includes: an acquisition module 210 , a query module 220 and an adjustment module 230 .
获取模块,被设置为在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;The obtaining module is configured to obtain the driver's eye coordinate information under the condition that the driver enters for the first time according to the driver's facial information;
查询模块,被设置为根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;The query module is configured to query the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
调整模块,被设置为根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。The adjustment module is configured to adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
上述产品可执行本申请任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above-mentioned products can execute the method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method.
本实施例,通过在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;根据所述后视镜位置信息将后 视镜调整至所述后视镜位置信息对应的位置,能够更加便捷的对后视镜进行调节,提升驾驶安全性,使外后视镜始终处于驾驶员最佳的观察区。In this embodiment, when it is determined that the driver enters for the first time according to the facial information of the driver, the driver's eye coordinate information is obtained; the database is queried according to the driver's eye coordinate information, and the result corresponding to the driver's eye coordinate information is obtained. Mirror position information; adjust the rearview mirror to the position corresponding to the rearview mirror position information according to the rearview mirror position information, which can more conveniently adjust the rearview mirror, improve driving safety, and make the exterior rearview The mirror is always in the best viewing area for the driver.
图3为本申请实施例中的一种电子设备的结构示意图。图3示出了适于用来实现本申请实施方式的示例性电子设备12的框图。图3显示的电子设备12仅仅是一个示例。FIG. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application. FIG. 3 shows a block diagram of an exemplary electronic device 12 suitable for implementing embodiments of the present application. The electronic device 12 shown in FIG. 3 is only one example.
如图3所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 3, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture, ISA) bus, Micro Channel Architecture (Micro Channel Architecture, MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。 Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存存储器32。电子设备12可以包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(通常称为“硬盘驱动器”),可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(只读光盘(Compact Disc-Read Only Memory,CD-ROM)、数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请多个实施例的功能。 System memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32 . Electronic device 12 may include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"), and may be Read-write disk drives, and removable non-volatile discs (Compact Disc-Read Only Memory (CD-ROM), Digital Video Disc-Read Only Memory, DVD-ROM) or other optical discs media) CD-ROM drive for reading and writing. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42包括操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络 环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 40 may be stored, for example, in system memory 28 as a set (at least one) of program modules 42, such program modules 42 including an operating system, one or more application programs, other program modules, and program data, which Each or some combination of the examples may include the implementation of a network environment. The program modules 42 generally perform the functions and/or methods of the embodiments described herein.
电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。另外,本实施例中的电子设备12,显示器24不是作为独立个体存在,而是嵌入镜面中,在显示器24的显示面不予显示时,显示器24的显示面与镜面从视觉上融为一体。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信,可以结合电子设备12使用其它硬件和/或软件模块,包括:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and/or communicate with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . In addition, in the electronic device 12 in this embodiment, the display 24 does not exist as an independent entity, but is embedded in the mirror surface. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Moreover, the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network, LAN), a wide area network, Wide Area Network, WAN) and/or a public network, such as the Internet, through the network adapter 20. As shown, network adapter 20 communicates with other modules of electronic device 12 via bus 18, and other hardware and/or software modules may be used in conjunction with electronic device 12, including: microcode, device drivers, redundant processing units, external disk drives Arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行多种功能应用以及数据处理,例如实现本申请实施例所提供的后视镜调节方法:The processing unit 16 executes a variety of functional applications and data processing by running the program stored in the system memory 28, such as implementing the rearview mirror adjustment method provided in the embodiment of the present application:
在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;In the case of determining the driver's first entry based on the driver's facial information, obtain the driver's eye coordinate information;
根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;Querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
图4为本申请实施例中的一种包含计算机程序的计算机可读存储介质的结构示意图。本申请实施例提供了一种计算机可读存储介质61,其上存储有计算机程序610,该程序被一个或多个处理器执行时实现如本申请所有申请实施例提供的后视镜调节方法:Fig. 4 is a schematic structural diagram of a computer-readable storage medium containing a computer program in an embodiment of the present application. The embodiment of the present application provides a computer-readable storage medium 61, on which a computer program 610 is stored. When the program is executed by one or more processors, the rearview mirror adjustment method provided in all the application embodiments of the present application is realized:
在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;In the case of determining the driver's first entry based on the driver's facial information, obtain the driver's eye coordinate information;
根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;Querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable medium(s) may be utilized. A computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. Computer-readable storage media include: electrical connections with one or more conductors, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory) ), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(Hyper Text Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some implementations, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), and can communicate with any form or medium of digital Data communication (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional process programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g. via the Internet using an Internet Service Provider). .
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质可以包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may comprise an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. A machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash flash memory), optical fiber, compact disc read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

Claims (10)

  1. 一种后视镜调节方法,包括:A method for adjusting a rearview mirror, comprising:
    在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;In the case of determining the driver's first entry based on the driver's facial information, obtain the driver's eye coordinate information;
    根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;Querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
    根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。Adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
  2. 根据权利要求1所述的方法,在根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息之前,还包括:The method according to claim 1, before querying the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information, further comprising:
    获取驾驶员眼睛在驾驶室内的空间范围;Obtain the spatial scope of the driver's eyes in the cab;
    在所述空间范围内设置空间点阵;Set a spatial lattice within the spatial range;
    根据所述空间点阵和所述空间点阵对应的后视镜位置信息建立数据库。A database is established according to the spatial lattice and the rearview mirror position information corresponding to the spatial lattice.
  3. 根据权利要求1所述的方法,其中,所述驾驶员眼睛坐标信息包括:垂直于眼球的空间向量;The method according to claim 1, wherein the driver's eye coordinate information includes: a space vector perpendicular to the eyeball;
    在根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置之后,还包括:After adjusting the rearview mirror to the position corresponding to the rearview mirror position information according to the rearview mirror position information, it also includes:
    根据所述驾驶员眼睛坐标信息和后视镜的坐标信息确定目标空间;determining the target space according to the coordinate information of the driver's eyes and the coordinate information of the rearview mirror;
    在所述垂直于眼球的空间向量在所述目标空间内的情况下,根据驾驶员视线交点的位置信息调整后视镜的位置。In the case that the space vector perpendicular to the eyeball is in the target space, the position of the rearview mirror is adjusted according to the position information of the driver's line of sight intersection.
  4. 根据权利要求3所述的方法,其中,根据驾驶员两只眼睛的视线在后视镜的交点的位置信息调整后视镜的位置,包括:The method according to claim 3, wherein adjusting the position of the rearview mirror according to the position information of the driver's two eyes at the intersection of the rearview mirror includes:
    获取驾驶员视线交点的横坐标和纵坐标;Obtain the abscissa and ordinate of the driver's line of sight intersection;
    根据所述驾驶员视线交点的横坐标确定后视镜向左的翻转角度或者向右的翻转角度,根据所述后视镜向左的翻转角度或者向右的翻转角度调整后视镜的位置;Determine the leftward flip angle or rightward flip angle of the rearview mirror according to the abscissa of the driver's line of sight intersection, and adjust the position of the rearview mirror according to the leftward flip angle or rightward flip angle of the rearview mirror;
    根据所述驾驶员视线交点的纵坐标确定后视镜向上的翻转角度或者向下的翻转角度,根据所述后视镜向上的翻转角度或者向下的翻转角度调整后视镜的位置。The upward or downward flip angle of the rearview mirror is determined according to the ordinate of the driver's line of sight intersection, and the position of the rearview mirror is adjusted according to the upward or downward flip angle of the rearview mirror.
  5. 根据权利要求4所述的方法,其中,根据所述驾驶员视线交点的纵坐标确定后视镜向上的翻转角度或者向下的翻转角度,包括:The method according to claim 4, wherein, according to the ordinate of the driver's line of sight intersection, determining the upward flip angle or the downward flip angle of the rearview mirror comprises:
    在所述驾驶员视线交点的纵坐标等于第一阈值的情况下,将后视镜的镜片向上翻转到最大角度;In the case where the ordinate of the driver's line of sight intersection is equal to the first threshold, turn the lens of the rearview mirror upward to the maximum angle;
    在所述驾驶员视线交点的纵坐标等于第二阈值的情况下,将后视镜的镜片向下翻转到最大角度,其中,所述第一阈值大于零,所述第二阈值小于零;In the case where the ordinate of the driver's line of sight intersection is equal to a second threshold, turn the lens of the rearview mirror downward to a maximum angle, wherein the first threshold is greater than zero, and the second threshold is less than zero;
    在所述驾驶员视线交点的纵坐标大于零,且小于第一阈值的情况下,根据驾驶员视线交点的纵坐标和后视镜的镜片向上翻转的最大角度确定目标向上翻转角度;In the case where the ordinate of the driver's line of sight intersection is greater than zero and less than the first threshold, the target upward turning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum angle of upward turning of the lens of the rearview mirror;
    在所述驾驶员视线交点的纵坐标小于零,且大于第二阈值的情况下,根据驾驶员视线交点的纵坐标和后视镜的镜片向下翻转的最大角度确定目标向下翻转角度。If the ordinate of the driver's line of sight intersection is less than zero and greater than the second threshold, the target downturning angle is determined according to the ordinate of the driver's line of sight intersection and the maximum downturning angle of the rearview mirror.
  6. 根据权利要求4所述的方法,其中,根据所述驾驶员视线交点的横坐标确定后视镜向左的翻转角度或者向右的翻转角度,包括:The method according to claim 4, wherein, according to the abscissa of the driver's line of sight intersection, determining the leftward flip angle of the rearview mirror or the rightward flip angle comprises:
    在所述驾驶员视线交点的横坐标等于第三阈值的情况下,将后视镜的镜片向右翻转到最大角度;When the abscissa of the driver's line of sight intersection is equal to the third threshold, turn the eyeglass of the rearview mirror to the right to the maximum angle;
    在所述驾驶员视线交点的横坐标等于第四阈值的情况下,将后视镜的镜片向左翻转到最大角度,其中,所述第三阈值大于零,所述第四阈值小于零;In the case where the abscissa of the driver's line of sight intersection is equal to a fourth threshold, turn the lens of the rearview mirror to the left to a maximum angle, wherein the third threshold is greater than zero, and the fourth threshold is less than zero;
    在所述驾驶员视线交点的横坐标大于零,且小于第三阈值的情况下,根据驾驶员视线交点的横坐标和后视镜的镜片向右翻转的最大角度确定目标向右翻转角度;In the case where the abscissa of the driver's line of sight intersection is greater than zero and less than the third threshold, the target rightward turning angle is determined according to the abscissa of the driver's line of sight intersection and the maximum angle at which the lens of the rearview mirror turns rightward;
    在所述驾驶员视线交点的横坐标小于零,且大于第四阈值的情况下,根据驾驶员视线交点的横坐标和后视镜的镜片向左翻转的最大角度确定目标向左翻转角度。If the abscissa of the driver's line of sight intersection is less than zero and greater than the fourth threshold, the target left turn angle is determined according to the abscissa of the driver's line of sight intersection and the maximum left turn angle of the rearview mirror.
  7. 根据权利要求1所述的方法,在根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置之后,还包括:The method according to claim 1, after adjusting the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information, further comprising:
    获取用户针对后视镜的调节信息;Obtain the user's adjustment information for the rearview mirror;
    将所述调节信息和驾驶员的面部信息进行关联存储。The adjustment information and the driver's facial information are associated and stored.
  8. 一种后视镜调节装置,包括:A rearview mirror adjustment device, comprising:
    获取模块,被设置为在根据驾驶员的面部信息确定驾驶员首次进入的情况下,获取驾驶员眼睛坐标信息;The obtaining module is configured to obtain the driver's eye coordinate information under the condition that the driver enters for the first time according to the driver's facial information;
    查询模块,被设置为根据所述驾驶员眼睛坐标信息查询数据库,得到所述驾驶员眼睛坐标信息对应的后视镜位置信息;The query module is configured to query the database according to the driver's eye coordinate information to obtain the rearview mirror position information corresponding to the driver's eye coordinate information;
    调整模块,被设置为根据所述后视镜位置信息将后视镜调整至所述后视镜位置信息对应的位置。The adjustment module is configured to adjust the rearview mirror to a position corresponding to the rearview mirror position information according to the rearview mirror position information.
  9. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    存储器,用于存储程序;memory for storing programs;
    当所述程序被所述处理器执行时,使得所述处理器实现如权利要求1-7中任一所述的方法。When the program is executed by the processor, the processor is made to implement the method according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7中任一所述的方法。A computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the method according to any one of claims 1-7 is implemented.
PCT/CN2022/106472 2021-07-22 2022-07-19 Rearview mirror adjustment method and apparatus, device and storage medium WO2023001145A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110829338.8 2021-07-22
CN202110829338.8A CN113370901A (en) 2021-07-22 2021-07-22 Rearview mirror adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023001145A1 true WO2023001145A1 (en) 2023-01-26

Family

ID=77582682

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106472 WO2023001145A1 (en) 2021-07-22 2022-07-19 Rearview mirror adjustment method and apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN113370901A (en)
WO (1) WO2023001145A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113370901A (en) * 2021-07-22 2021-09-10 中国第一汽车股份有限公司 Rearview mirror adjusting method, device, equipment and storage medium
CN113799698A (en) * 2021-09-16 2021-12-17 中国第一汽车股份有限公司 Method, device and equipment for adjusting interior rearview mirror and storage medium
CN114132259A (en) * 2021-12-10 2022-03-04 东南大学 Automobile exterior rearview mirror adjusting method and device and automobile
CN114906052A (en) * 2022-05-05 2022-08-16 中国第一汽车股份有限公司 Automatic adjusting method for interior rearview mirror, interior rearview mirror and vehicle
CN115571051A (en) * 2022-10-20 2023-01-06 中国第一汽车股份有限公司 Method and system for adjusting intelligent rearview mirror in vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103359000A (en) * 2013-07-31 2013-10-23 北京汽车股份有限公司 Automobile rear view mirror adjustment device, method and system and automobile
CN103507718A (en) * 2012-06-26 2014-01-15 北汽福田汽车股份有限公司 Vehicle rearview mirror automatic adjustment method, rearview mirror automatic adjustment system and vehicle
US20160185295A1 (en) * 2014-12-29 2016-06-30 Hon Hai Precision Industry Co., Ltd. Automobile and method for automatically adjusting rearview mirror
DE102015219237A1 (en) * 2015-10-06 2017-04-06 Continental Automotive Gmbh Method for automatic adjustment of one or more comfort and / or safety systems in a motor vehicle
CN110949260A (en) * 2019-11-25 2020-04-03 中国第一汽车股份有限公司 Method, system, equipment and storage medium for adjusting steering of exterior rearview mirror
CN111169384A (en) * 2019-10-11 2020-05-19 中国第一汽车股份有限公司 Method and device for adjusting automobile rearview mirror
KR102135305B1 (en) * 2019-07-29 2020-07-17 동명대학교산학협력단 Method for controlling automatically for car rear view mirror employing driver's eye location and apparatus thereof
CN111532205A (en) * 2020-05-13 2020-08-14 北京百度网讯科技有限公司 Adjusting method, device and equipment of rearview mirror and storage medium
CN111660938A (en) * 2020-06-15 2020-09-15 中国第一汽车股份有限公司 Rearview mirror adjusting method and device, vehicle control system and storage medium
CN113370901A (en) * 2021-07-22 2021-09-10 中国第一汽车股份有限公司 Rearview mirror adjusting method, device, equipment and storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69515184T2 (en) * 1994-11-25 2000-06-15 Bertil A Brandin METHOD AND DEVICE FOR AUTOMATICALLY ADJUSTING MIRRORS
US5706144A (en) * 1994-11-25 1998-01-06 Brandin; Bertil A. Methods and apparatus for automating the adjustment of rearview mirrors
JP2006321312A (en) * 2005-05-18 2006-11-30 Fujikura Ltd On-vehicle mirror adjusting system
JP2008062805A (en) * 2006-09-07 2008-03-21 Toyota Motor Corp Vehicular rear-view mirror device
KR101154018B1 (en) * 2009-09-14 2012-06-08 홍상욱 Automatic mirror adjustment system and method thereof in vehicle
JP6384053B2 (en) * 2014-01-28 2018-09-05 アイシン・エィ・ダブリュ株式会社 Rearview mirror angle setting system, rearview mirror angle setting method, and rearview mirror angle setting program
US9598015B1 (en) * 2015-03-05 2017-03-21 Ambarella, Inc. Automatic mirror adjustment using an in-car camera system
CN105835779A (en) * 2016-04-26 2016-08-10 乐视控股(北京)有限公司 Automobile rearview mirror adjusting device and method as well as automobile
FR3067309B1 (en) * 2017-06-09 2020-02-07 STMicroelectronics (Grand Ouest) SAS METHOD AND SYSTEM FOR AUTOMATIC ADJUSTMENT OF AT LEAST ONE EQUIPMENT OF A MOTOR VEHICLE
CN208149176U (en) * 2018-03-02 2018-11-27 安徽江淮汽车集团股份有限公司 Rearview mirror adjustment system based on Ins location
CN108583439A (en) * 2018-04-24 2018-09-28 北京汽车股份有限公司 Automobile and its inside rear-view mirror adjusting method, device
CN110053559A (en) * 2019-05-10 2019-07-26 戴姆勒股份公司 Based on real-time attitude automatic adjusting rearview mirror system and its adjusting method
US20200369206A1 (en) * 2019-05-23 2020-11-26 GM Global Technology Operations LLC Dms-based automatic mirror adjustment and validation in a vehicle
CN110341626A (en) * 2019-06-28 2019-10-18 三一重机有限公司 Rearview mirror automatic adjusting method, excavator and computer storage medium
TWI717843B (en) * 2019-09-19 2021-02-01 宏碁股份有限公司 Rearview mirror control method and vehicle control system
CN112572295B (en) * 2020-12-01 2024-05-31 睿联汽车电子(芜湖)有限公司 System and method for automatically controlling automobile rearview mirror based on DMS camera

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103507718A (en) * 2012-06-26 2014-01-15 北汽福田汽车股份有限公司 Vehicle rearview mirror automatic adjustment method, rearview mirror automatic adjustment system and vehicle
CN103359000A (en) * 2013-07-31 2013-10-23 北京汽车股份有限公司 Automobile rear view mirror adjustment device, method and system and automobile
US20160185295A1 (en) * 2014-12-29 2016-06-30 Hon Hai Precision Industry Co., Ltd. Automobile and method for automatically adjusting rearview mirror
DE102015219237A1 (en) * 2015-10-06 2017-04-06 Continental Automotive Gmbh Method for automatic adjustment of one or more comfort and / or safety systems in a motor vehicle
KR102135305B1 (en) * 2019-07-29 2020-07-17 동명대학교산학협력단 Method for controlling automatically for car rear view mirror employing driver's eye location and apparatus thereof
CN111169384A (en) * 2019-10-11 2020-05-19 中国第一汽车股份有限公司 Method and device for adjusting automobile rearview mirror
CN110949260A (en) * 2019-11-25 2020-04-03 中国第一汽车股份有限公司 Method, system, equipment and storage medium for adjusting steering of exterior rearview mirror
CN111532205A (en) * 2020-05-13 2020-08-14 北京百度网讯科技有限公司 Adjusting method, device and equipment of rearview mirror and storage medium
CN111660938A (en) * 2020-06-15 2020-09-15 中国第一汽车股份有限公司 Rearview mirror adjusting method and device, vehicle control system and storage medium
CN113370901A (en) * 2021-07-22 2021-09-10 中国第一汽车股份有限公司 Rearview mirror adjusting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113370901A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
WO2023001145A1 (en) Rearview mirror adjustment method and apparatus, device and storage medium
CN111931579B (en) Automatic driving assistance system and method using eye tracking and gesture recognition techniques
KR102464427B1 (en) Adjustment method of rearview mirror, device, equipment and storage medium
CN110239441B (en) Automatic field-of-view adjusting method and device for rearview mirror
US20050030379A1 (en) Smart vehicle video management
EP2969697B1 (en) System and method for identifying handwriting gestures in an in-vehicle infromation system
US20150217781A1 (en) Vehicle control device and vehicle
CN108749732B (en) Angle adjusting method and device for central control display screen, storage medium and central control display screen
US11187553B2 (en) In-vehicle information display apparatus and method of controlling the same
US20180024695A1 (en) Detecting user interactions with a computing system of a vehicle
WO2021197190A1 (en) Information display method, system and apparatus based on augmented reality, and projection device
US20150293585A1 (en) System and method for controlling heads up display for vehicle
CN111660938A (en) Rearview mirror adjusting method and device, vehicle control system and storage medium
CN112037731A (en) Screen brightness adjusting method, device, equipment and storage medium
CN113799698A (en) Method, device and equipment for adjusting interior rearview mirror and storage medium
WO2023272453A1 (en) Gaze calibration method and apparatus, device, computer-readable storage medium, system, and vehicle
US20190339535A1 (en) Automatic eye box adjustment
US11828947B2 (en) Vehicle and control method thereof
WO2023231653A1 (en) Vehicle-mounted camera calibration method and apparatus, computer device, storage medium and product
CN113895357B (en) Rearview mirror adjustment method, device, equipment and storage medium
WO2022267354A1 (en) Human-computer interaction method and apparatus, and electronic device and storage medium
EP4002164A1 (en) Hybrid fetching using a on-device cache
CN111435269A (en) Display adjusting method, system, medium and terminal of vehicle head-up display device
CN112114427A (en) HUD projection height adjusting method, device and equipment and vehicle
WO2023036230A1 (en) Execution instruction determination method and apparatus, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22845310

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE