Search

CN-115837869-B - Automobile seat adjusting method and device

CN115837869BCN 115837869 BCN115837869 BCN 115837869BCN-115837869-B

Abstract

The invention provides an automobile seat adjusting method and device, wherein the automobile seat adjusting method comprises the steps of obtaining a face image of a driver when the driver sits in an automobile seat, determining three-dimensional face size information of the driver and age and gender of the driver based on the face image of the driver, predicting body type information of the driver based on the three-dimensional face size information of the driver and the age and gender of the driver, determining seat position parameters based on the body type information of the driver, and adjusting the position of the automobile seat based on the seat position parameters. The automobile seat adjusting method and the automobile seat adjusting device can automatically adjust the automobile seat to the position which is suitable for the body shape of the driver, the driver does not need to manually adjust, the preparation time before driving of the driver is reduced, and the user experience is good.

Inventors

  • CHANG SHUHE
  • CHENG YINUO
  • YUAN ZHANGYI

Assignees

  • 北京经纬恒润科技股份有限公司

Dates

Publication Date
20260505
Application Date
20221206

Claims (10)

  1. 1. A method of adjusting a vehicle seat, comprising: When a driver sits in an automobile seat, acquiring a face image of the driver; Determining three-dimensional face size information of the driver and age and sex of the driver based on the face image; Acquiring a human body proportion template matched with the age and the sex of the driver from a human body proportion template library as a target human body proportion template, wherein the target human body proportion template comprises standard three-dimensional human face size information and standard body size information; Predicting body size information of the driver based on the three-dimensional face size information and the target human body proportion template, wherein the body size information is used as body type information of the driver; determining a seat position parameter based on the body type information; Adjusting the position of the car seat based on the seat position parameter; wherein the predicting the body size information of the driver based on the three-dimensional face size information and the target human body scale template includes: Determining a size ratio based on the three-dimensional face size information and standard three-dimensional face size information in the target human body ratio template, and determining the body size information of the driver based on the size ratio and standard body size information in the target human body ratio template.
  2. 2. The car seat adjustment method according to claim 1, characterized in that determining three-dimensional face size information of the driver based on the face image includes: detecting the face features of the face image to obtain the position information of the face feature points under a pixel coordinate system; Determining the position information of the face feature points under the world coordinate system based on the position information of the face feature points under the pixel coordinate system and the conversion relation between the predetermined world coordinate system and the pixel coordinate system; and determining the three-dimensional face size information of the driver based on the position information of the face feature points under the world coordinate system.
  3. 3. The automobile seat adjustment method according to any one of claims 1 to 2, characterized by further comprising: Determining a rearview mirror angle parameter based on the body type information and the seat position parameter; and adjusting the angle of the automobile rearview mirror based on the rearview mirror angle parameter.
  4. 4. The car seat adjustment method according to claim 3, characterized by further comprising, before the determining of the three-dimensional face size information of the driver and the age and sex of the driver based on the face image: acquiring identity information of the driver based on the face image, wherein the identity information is used as target identity information; inquiring whether the target identity information exists in a driver information base, wherein the driver information base comprises a plurality of identity information and seat position parameters and rearview mirror angle parameters respectively corresponding to the identity information; Under the condition that the target identity information exists in the driver information base, adjusting the position of an automobile seat based on seat position parameters corresponding to the target identity information in the driver information base, and adjusting the angle of an automobile rearview mirror based on rearview mirror angle parameters corresponding to the target identity information in the driver information base; And in the case that the target identity information does not exist in the driver information base, the three-dimensional face size information of the driver and the age and sex of the driver are determined based on the face image.
  5. 5. The car seat adjustment method according to claim 4, characterized by further comprising: And under the condition that the target identity information does not exist in the driver information base, storing the target identity information, the determined seat position parameter and the determined rearview mirror angle parameter into the driver information base.
  6. 6. The car seat adjustment method according to claim 2, characterized in that determining the conversion relation of the world coordinate system and the pixel coordinate system includes: Acquiring a checkerboard image sequence, wherein the checkerboard image sequence consists of a plurality of checkerboard images corresponding to seat positions respectively, and when the positions of the automobile seats are corresponding seat positions, an image acquisition device acquires the images of a checkerboard calibration plate horizontally placed on the horizontal plane of the automobile seats; And determining the conversion relation between the world coordinate system and the pixel coordinate system based on the checkerboard image sequence.
  7. 7. The method of claim 6, wherein determining a conversion relationship between the world coordinate system and a pixel coordinate system based on the checkerboard image sequence comprises: Respectively carrying out corner recognition on each checkerboard image contained in the checkerboard image sequence to obtain corner recognition results respectively corresponding to each checkerboard image contained in the checkerboard image sequence, wherein the corner recognition results comprise positions of a plurality of corners in the corresponding checkerboard image under a pixel coordinate system; And determining the conversion relation between the world coordinate system and the pixel coordinate system based on the positions of a plurality of corner points on the checkerboard calibration plate under the world coordinate system and the corner point recognition results respectively corresponding to each checkerboard image contained in the checkerboard image sequence.
  8. 8. The method for adjusting a car seat according to claim 7, wherein determining the conversion relationship between the world coordinate system and the pixel coordinate system based on the positions of the plurality of corner points on the checkerboard calibration plate under the world coordinate system and the corner point recognition results respectively corresponding to each checkerboard image included in the checkerboard image sequence comprises: Determining initial internal parameters and external parameters of the image acquisition equipment based on the positions of a plurality of corner points on the checkerboard calibration plate under a world coordinate system and the corner point identification results respectively corresponding to two checkerboard images in the checkerboard image sequence, wherein the external parameters are the relative position relation between the image acquisition equipment and the automobile seat; Constructing an objective function, wherein the objective function represents the sum of absolute values of position differences corresponding to each corner point in other checkerboard images in the checkerboard image sequence, the position differences are differences between actual positions of the corresponding corner points under a world coordinate system and predicted positions of the corresponding corner points under the world coordinate system, the predicted positions of the corner points under the world coordinate system are based on the positions of the corner points under a pixel coordinate system, and the current internal parameters, external parameters and distortion coefficients of the image acquisition equipment are predicted; Updating the internal parameters, the external parameters and the distortion coefficients of the image acquisition equipment by minimizing the objective function until the value of the objective function is smaller than a preset error threshold value; and determining the conversion relation between the world coordinate system and the pixel coordinate system based on the final internal parameters, external parameters and distortion coefficients.
  9. 9. The automobile seat adjusting device is characterized by comprising an image acquisition module, a driver information determining module, a human body proportion template determining module, a body type information predicting module, a seat position parameter determining module and a seat position adjusting module; The image acquisition module is used for acquiring a face image of a driver when the driver sits in the automobile seat; the driver information determining module is used for determining three-dimensional face size information of the driver and age and gender of the driver based on the face image; The human body proportion template determining module is used for acquiring a human body proportion template matched with the age and the sex of the driver from a human body proportion template library as a target human body proportion template, wherein the target human body proportion template comprises standard three-dimensional human face size information and standard body size information; The body type information prediction module is used for predicting body size information of the driver based on the three-dimensional face size information and the target human body proportion template, and is used as body type information of the driver; The seat position parameter determining module is used for determining seat position parameters based on the body type information; the seat position adjusting module is used for adjusting the position of the automobile seat based on the seat position parameters; the body type information prediction module is specifically configured to, when predicting body size information of the driver based on the three-dimensional face size information and the target human body proportion template: Determining a size ratio based on the three-dimensional face size information and standard three-dimensional face size information in the target human body ratio template, and determining the body size information of the driver based on the size ratio and standard body size information in the target human body ratio template.
  10. 10. The vehicle seat adjustment apparatus of claim 9 further comprising a rearview mirror angle parameter determination module and a rearview mirror angle adjustment module; The rearview mirror angle parameter determining module is used for determining rearview mirror angle parameters based on the body type information and the seat position parameters; the rearview mirror angle adjusting module is used for adjusting the angle of the automobile rearview mirror based on the rearview mirror angle parameters.

Description

Automobile seat adjusting method and device Technical Field The invention relates to the technical field of automobile electronics, in particular to an automobile seat adjusting method and device. Background In order for the driver to have a reasonable view and operating space, the car seat needs to be adjusted to a proper position to adapt to the body shape of the driver before the driver drives the car. Current car seat adjustment schemes are mostly manual adjustment schemes, i.e. the car seat is manually adjusted to a proper position by the driver. However, manual adjustment of car seats is less convenient and user experience is poor. Disclosure of Invention In view of the above, the invention provides a method and a device for adjusting an automobile seat, which are used for solving the problems of poor convenience and poor user experience of the existing automobile seat adjusting scheme, and the technical scheme is as follows: a method of adjusting a car seat, comprising: When a driver sits in an automobile seat, acquiring a face image of the driver; Determining three-dimensional face size information of the driver and age and sex of the driver based on the face image; Acquiring a human body proportion template matched with the age and the sex of the driver from a human body proportion template library as a target human body proportion template, wherein the target human body proportion template comprises standard three-dimensional human face size information and standard body size information; Predicting body size information of the driver based on the three-dimensional face size information and the target human body proportion template, wherein the body size information is used as body type information of the driver; determining a seat position parameter based on the body type information; and adjusting the position of the automobile seat based on the seat position parameter. Optionally, determining three-dimensional face size information of the driver based on the face image includes: detecting the face features of the face image to obtain the position information of the face feature points under a pixel coordinate system; Determining the position information of the face feature points under the world coordinate system based on the position information of the face feature points under the pixel coordinate system and the conversion relation between the predetermined world coordinate system and the pixel coordinate system; and determining the three-dimensional face size information of the driver based on the position information of the face feature points under the world coordinate system. Optionally, the automobile seat adjusting method further includes: Determining a rearview mirror angle parameter based on the body type information and the seat position parameter; and adjusting the angle of the automobile rearview mirror based on the rearview mirror angle parameter. Optionally, before the determining the three-dimensional face size information of the driver and the age and sex of the driver based on the face image, the car seat adjusting method further includes: acquiring identity information of the driver based on the face image, wherein the identity information is used as target identity information; inquiring whether the target identity information exists in a driver information base, wherein the driver information base comprises a plurality of identity information and seat position parameters and rearview mirror angle parameters respectively corresponding to the identity information; Under the condition that the target identity information exists in the driver information base, adjusting the position of an automobile seat based on seat position parameters corresponding to the target identity information in the driver information base, and adjusting the angle of an automobile rearview mirror based on rearview mirror angle parameters corresponding to the target identity information in the driver information base; And in the case that the target identity information does not exist in the driver information base, the three-dimensional face size information of the driver and the age and sex of the driver are determined based on the face image. Optionally, the automobile seat adjusting method further includes: And under the condition that the target identity information does not exist in the driver information base, storing the target identity information, the determined seat position parameter and the determined rearview mirror angle parameter into the driver information base. Optionally, determining the conversion relation between the world coordinate system and the pixel coordinate system includes: Acquiring a checkerboard image sequence, wherein the checkerboard image sequence consists of a plurality of checkerboard images corresponding to seat positions respectively, and when the positions of the automobile seats are corresponding seat positions, the image acquisition equipment acquires the image