Vehicle front end view adjustment method, vehicle and computer readable storage medium
By obtaining the driver's eye coordinates to determine the frontal field of vision boundary, and using a camera and seat control motor to achieve intelligent seat adjustment, the problem of inaccurate frontal field of vision adjustment is solved, improving driver comfort and vehicle driving safety.
Patent Information
- Application Number
- CN202210942550.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-08-08
AI Technical Summary
The front-end field of view of existing vehicles is not adjusted accurately, which makes it difficult for drivers to accurately adjust their seat position, affecting driving safety.
By acquiring the driver's eye coordinates, the frontal field of vision boundary is determined, and the seat adjustment parameters are determined based on this boundary and the adjustment operation. The seat is then intelligently adjusted using a camera and a seat control motor.
It improves the accuracy of forward visibility and driver comfort, thereby enhancing vehicle safety.
Smart Images

Figure CN115303214B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to a method for adjusting the front-end field of view of a vehicle, a vehicle, and a computer-readable storage medium. Background Art
[0002] Driver vision, a key aspect of automotive ergonomics, is crucial for driving safety. For commercial vehicles, where blind spots are large and braking is difficult, forward visibility is paramount. For drivers, adjusting the seat to a comfortable position is essential after getting in. Factors to consider during this process include ensuring sufficient footroom for pedaling, ensuring your knees are protected from the front of the vehicle, ensuring a comfortable seating position, and ensuring a comfortable forward view.
[0003] However, since the front vision can only be determined by looking for surrounding reference objects with the eyes, or the driver is not familiar with the parameters and performance of the vehicle, the adjustment of the front vision is inaccurate.
[0004] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of this application is to provide a vehicle front-end field of view adjustment method, a vehicle and a computer-readable storage medium, aiming to solve the technical problem of inaccurate adjustment of the existing vehicle front-end field of view.
[0006] To achieve the above objectives, the present application provides a method for adjusting the front-end field of view of a vehicle, the method comprising the following steps:
[0007] Obtaining first eye coordinates corresponding to an eye of a driver in the vehicle;
[0008] determining a first visual field boundary of a front visual field corresponding to the driver based on the first eye coordinates;
[0009] When an adjustment operation corresponding to the first visual field boundary is detected, determining a first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first visual field boundary;
[0010] When a confirmation instruction corresponding to the first adjustment parameter is detected, the seat is adjusted based on the first adjustment parameter.
[0011] Furthermore, the step of determining a first visual field boundary of the driver's front visual field based on the first eye coordinates includes:
[0012] Acquire an eyeball adjustment line based on the first eyeball coordinates, and determine a visual field adjustment range within the eyeball adjustment line based on a height adjustment range of the seat;
[0013] Based on the field of view adjustment range and the front cabin outline of the vehicle, the first field of view boundary is determined, and the first field of view boundary is displayed on a display screen of the vehicle.
[0014] Furthermore, the step of acquiring an eyeball adjustment line based on the first eyeball coordinates and determining a field of view adjustment range within the eyeball adjustment line based on a height adjustment range of the seat includes:
[0015] determining a first parameter of the eyeball adjustment line based on the first eyeball coordinates and a preset slope, and determining the eyeball adjustment line based on the first parameter and the preset slope;
[0016] Based on the height adjustment range of the seat, a linear relationship between the seat height and a preset field of view adjustment range, the field of view adjustment range is determined in the eyeball adjustment line.
[0017] Furthermore, the step of determining the first field of view boundary based on the field of view adjustment range and the front cabin outline of the vehicle includes:
[0018] Obtaining a range boundary corresponding to the field of view adjustment range;
[0019] The first field of view boundary is determined based on the range boundary and a front cabin outline of the vehicle.
[0020] Furthermore, the step of acquiring an eyeball adjustment line based on the first eyeball coordinates and determining a field of view adjustment range within the eyeball adjustment line based on a height adjustment range of the seat includes:
[0021] determining whether the vehicle stores a preset visual field boundary corresponding to the first eye coordinate;
[0022] If the vehicle has stored the preset visual field boundary, the preset visual field boundary is used as the first visual field boundary;
[0023] If the vehicle does not store the preset field of view boundary, an eyeball adjustment line is obtained based on the first eyeball coordinates, and a field of view adjustment range is determined within the eyeball adjustment line based on the height adjustment range of the seat.
[0024] Furthermore, the vehicle front-end field of view adjustment method further includes:
[0025] If the vehicle is not in the P gear state and the field of view adjustment is currently enabled, obtaining a second eye coordinate corresponding to the eye of the driver in the vehicle;
[0026] determining whether the vehicle currently meets a preset field of view adjustment condition based on a second field of view boundary for which field of view adjustment has been enabled and the second eye coordinates;
[0027] If the vehicle currently meets a preset field of view adjustment condition, determining a target eye coordinate corresponding to the eye based on the second field of view boundary and the second eye coordinate;
[0028] determining a second adjustment parameter corresponding to the seat based on the target eye coordinates and the second eye coordinates, and displaying the second adjustment parameter on the display screen;
[0029] When a confirmation instruction corresponding to the second adjustment parameter is detected, the seat is adjusted based on the second adjustment parameter.
[0030] Furthermore, the step of determining whether the vehicle currently meets a preset field of view adjustment condition based on the second field of view boundary for which field of view adjustment has been enabled and the second eye coordinates includes:
[0031] Determine a first starting line based on the second eye coordinates, and obtain an initial second starting line corresponding to the second visual field boundary;
[0032] Based on the first starting line and the second starting line, determining whether the offset of the second starting line reaches a preset threshold;
[0033] If the offset of the second starting line reaches a preset threshold, and the duration for which the offset reaches the preset threshold is greater than a preset duration, it is determined that the vehicle currently meets a preset field of view adjustment condition.
[0034] Furthermore, based on the first starting line and the second starting line, the step of determining whether the offset of the second starting line reaches a preset threshold includes:
[0035] Determine a first intersection point between the first starting line and a visual field range corresponding to the second visual field boundary, and determine a second intersection point between the second starting line and a visual field range corresponding to the second visual field boundary;
[0036] An offset of the second starting line is determined based on the first intersection point and the second intersection point, and it is determined whether the offset reaches a preset threshold.
[0037] In addition, in order to achieve the above-mentioned purpose, a vehicle is also provided, which includes: a camera, a display screen, a seat control motor and a controller; wherein,
[0038] Acquiring first eye coordinates corresponding to the eyeballs of the driver in the vehicle through the camera;
[0039] The controller determines a first visual field boundary of a front visual field corresponding to the driver based on the first eye coordinates;
[0040] When an adjustment operation corresponding to the first visual field boundary is detected, the controller determines a first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first visual field boundary;
[0041] When a confirmation instruction corresponding to the first adjustment parameter is detected, the controller adjusts the seat based on the first adjustment parameter and the seat control motor.
[0042] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a vehicle front-end field of view adjustment program is stored. When the vehicle front-end field of view adjustment program is executed by the processor, the steps of the vehicle front-end field of view adjustment method as described above are implemented.
[0043] The present application obtains the first eye coordinates corresponding to the eyes of the driver in the vehicle; then, based on the first eye coordinates, determines the first field of view boundary of the driver's corresponding front field of view; and then, when an adjustment operation corresponding to the first field of view boundary is detected, determines the first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first field of view boundary; and then, when a confirmation instruction corresponding to the first adjustment parameter is detected, adjusts the seat based on the first adjustment parameter, thereby achieving accurate adjustment of the front field of view according to the driver's eye position, realizing the technical problem of seat adjustment while ensuring unchanged field of view, making seat adjustment more intelligent, improving the accuracy of the vehicle's front field of view, and thereby improving the safety of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a schematic diagram of the structure of a vehicle in the hardware operating environment involved in the embodiment of the present application;
[0045] Figure 2 This is a flow chart of a first embodiment of a method for adjusting the front-end visual field of a vehicle according to the present application;
[0046] Figure 3 This is a schematic diagram of an embodiment of a vehicle front-end field of view adjustment system of the present application;
[0047] Figure 4 This is a schematic diagram of another embodiment of the vehicle front-end field of view adjustment system of the present application.
[0048] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] like Figure 1 As shown, Figure 1 Schematic diagram of the structure of the vehicle in the hardware operating environment of the embodiment of the present application. The vehicle of the embodiment of the present application can be a vehicle such as Figure 1 As shown, the vehicle may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0052] Optionally, the vehicle may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. Sensors such as light sensors, motion sensors, and other sensors are not described in detail here.
[0053] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the vehicle and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a vehicle front view adjustment program.
[0055] exist Figure 1 In the vehicle shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the vehicle front-end field of view adjustment program stored in the memory 1005.
[0056] In this embodiment, the vehicle includes: a memory 1005, a processor 1001, and a vehicle front-end field of view adjustment program stored on the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the vehicle front-end field of view adjustment program stored in the memory 1005, it executes the steps of the vehicle front-end field of view adjustment method in each of the following embodiments.
[0057] This application also provides a method for adjusting the front-end field of view of a vehicle, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the vehicle front view adjustment method of the present application.
[0058] The vehicle front-end field of view adjustment method is applied to a vehicle that includes a camera, a display screen, a seat control motor, and a controller. The vehicle may also include a voice system, seat sensors, and an instrument. The camera, display screen, and seat control motor are each communicatively connected to the controller, which is also communicatively connected to the voice system, seat sensors, and instrument. The seat control motor is used to determine seat movement.
[0059] The camera may be a camera with a positioning function, such as a TOF (time of flight) type camera, which is used to capture image information of the driver in the driving seat and determine the current eye coordinates of the driver based on the image information. The eye coordinates may be the coordinates of the driver's left eye, the coordinates of the right eye, or the coordinates of the center point of the left and right eyes. Figure 3 The bottom of the front end of the vehicle can be used as the coordinate origin to determine the three axes of the spatial coordinate system in the up-down, front-back, and left-right directions. Multiple seat sensors are provided to determine the position of the seat in the spatial coordinate system.
[0060] The vehicle front-end visual field adjustment method includes:
[0061] Step S101, obtaining first eye coordinates corresponding to the eyes of the driver in the vehicle;
[0062] When front-end visual field adjustment is required, first eye coordinates corresponding to the eyes of the driver in the vehicle are obtained. Specifically, the controller can directly obtain the first eye coordinates through the camera.
[0063] Specifically, when the vehicle is in P gear, if the vehicle has started the field of view adjustment function, the first eye coordinates corresponding to the driver's eyes in the vehicle are obtained. Among them, if the vehicle has started the field of view adjustment function, when the seat is in the driving state, the first eye coordinates corresponding to the driver's eyes in the vehicle are obtained. When the seat is in the non-driving state, the voice prompt information of the seat adjustment is output through the voice system. When the seat adjustment is completed and it is determined that the seat is in the driving state according to the seat sensor, the first eye coordinates are obtained again.
[0064] Step S102: determining a first visual field boundary of a front visual field corresponding to the driver based on the first eye coordinates;
[0065] When the first eye coordinate is obtained, the first field of view boundary of the driver's corresponding front field of view is determined according to the first eye coordinate. Specifically, the controller first determines whether the vehicle stores a preset field of view boundary corresponding to the first eye coordinate, that is, whether the front field of view has been adjusted by the first eye coordinate before the current moment. If the vehicle stores the preset field of view boundary, the preset field of view boundary is used as the first field of view boundary; if the vehicle does not store the preset field of view boundary, that is, the front field of view has not been adjusted by the first eye coordinate at present, an eye adjustment line is obtained based on the first eye coordinate, and based on the height adjustment range of the seat, the field of view adjustment range is determined in the eye adjustment line, with reference to Figure 3 , the field of view adjustment range is Figure 3 The starting point adjustment area in .
[0066] Then, the first field of view boundary is displayed on the vehicle's display screen. The first field of view boundary is provided with a starting point adjustment button. The driver can adjust the starting point of the front field of view through the starting point adjustment button. The absolute blind spot is the blind spot of the front end of the vehicle.
[0067] Step S103, when an adjustment operation corresponding to the first visual field boundary is detected, determining a first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first visual field boundary;
[0068] When the display screen displays the first field of view boundary, the driver can adjust the starting point of the front field of view through the starting point adjustment button, thereby triggering the adjustment operation corresponding to the first field of view boundary. After detecting the adjustment operation, the controller determines the first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first field of view boundary. Specifically, the target field of view line is determined by the starting point corresponding to the adjustment operation. The intersection of the determined target field of view line and the eye adjustment line corresponding to the first eye coordinate is the target eye point. The first adjustment parameter corresponding to the seat is determined through the target eye point, so that the driver's eyes are adjusted to the target eye point through the first adjustment parameter corresponding to the seat.
[0069] It should be noted that the first adjustment parameter can also be displayed on the display screen. At this time, the display screen is provided with a confirmation adjustment button and / or a rejection adjustment button. The driver can trigger a confirmation instruction or a rejection instruction according to the confirmation adjustment button or the rejection adjustment button, so that the driver can determine whether the seat needs to be adjusted according to actual needs.
[0070] Step S104: When a confirmation instruction corresponding to the first adjustment parameter is detected, the seat is adjusted based on the first adjustment parameter.
[0071] When a confirmation instruction corresponding to the first adjustment parameter is detected, the seat is adjusted based on the first adjustment parameter. Specifically, the controller adjusts the up and down position or the front and back position of the seat by controlling the seat control motor.
[0072] The present application obtains the first eye coordinates corresponding to the eyes of the driver in the vehicle; then, based on the first eye coordinates, determines the first field of view boundary of the driver's corresponding front field of view; and then, when an adjustment operation corresponding to the first field of view boundary is detected, determines the first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first field of view boundary; and then, when a confirmation instruction corresponding to the first adjustment parameter is detected, adjusts the seat based on the first adjustment parameter, thereby being able to accurately adjust the front field of view according to the driver's eye position, thereby improving the accuracy of the vehicle's front field of view, and thereby improving the safety of vehicle driving.
[0073] Based on the first embodiment, a second embodiment of the vehicle front view adjustment method of the present application is proposed, which includes all the contents of the first embodiment, wherein step S102 includes:
[0074] Step S201, acquiring an eyeball adjustment line based on the first eyeball coordinates, and determining a visual field adjustment range within the eyeball adjustment line based on a height adjustment range of the seat;
[0075] Step S202 : determining the first field of view boundary based on the field of view adjustment range and the front cabin outline of the vehicle, and displaying the first field of view boundary on a display screen of the vehicle.
[0076] Wherein, step S201 includes:
[0077] Step S2011, determining a first parameter of the eyeball adjustment line based on the first eyeball coordinates and a preset slope, and determining the eyeball adjustment line based on the first parameter and the preset slope;
[0078] Step S2012: determining the visual field adjustment range in the eyeball adjustment line based on the height adjustment range of the seat and the linear relationship between the seat height and the preset visual field adjustment range.
[0079] When the first eye coordinate is obtained, the eye adjustment line corresponding to the first eye coordinate is obtained. Specifically, the preset slope a corresponding to the eye adjustment line is obtained. The value of a is pre-set by the vehicle parameters, and then the straight line equation z=ax+b of the eye adjustment line can be obtained. Then, (x0, z0) of the first eye coordinate (x0, y0, z0) is substituted into the formula to obtain b, and then the straight line equation of the eye adjustment line is obtained.
[0080] Next, based on the vehicle's seat height adjustment range, the field of view adjustment range is determined within the eyeball adjustment line. Specifically, the seat height adjustment range is determined by the linear relationship between the seat height and the preset field of view adjustment range. This linear relationship between the seat height and the preset field of view adjustment range can be pre-stored in the vehicle. Furthermore, the eyeball adjustment line can be accurately derived based on the eyeball coordinates and a preset slope. The field of view adjustment range is then accurately determined based on the linear relationship between the seat height and the preset field of view adjustment range, thereby improving the accuracy and efficiency of front-end field of view adjustment.
[0081] Next, based on the field of view adjustment range and the front cabin contour of the vehicle, a first field of view boundary is determined. Specifically, the first field of view boundary is determined according to a range boundary corresponding to the field of view adjustment range and the front cabin contour of the vehicle.
[0082] Wherein, step S202 includes:
[0083] Step S2021, obtaining the range boundary corresponding to the field of view adjustment range;
[0084] Step S2022: determining the first field of view boundary based on the range boundary and the front cabin outline of the vehicle.
[0085] Specifically, first obtain the range boundary corresponding to the field of view adjustment range, which is the coordinates of the two boundary points corresponding to the field of view adjustment range. Figure 3 , the range boundaries can be Figure 3 The endpoint coordinates of the two endpoints corresponding to the middle eyeball adjustment line.
[0086] Next, based on the range boundaries and the vehicle's front cabin contour, a first field of view boundary is determined. Specifically, a first tangent line and a second tangent line are determined where the two range boundaries intersect the vehicle's front cabin contour. The two intersection points of the first and second tangent lines with the horizon corresponding to the front vehicle's blind spot (absolute blind spot) are obtained. The area between the two intersection points is the front field of view corresponding to the first field of view boundary. This allows the first field of view boundary to be accurately determined based on the range boundaries and the front cabin contour, further improving the accuracy of the vehicle's front field of view and, consequently, enhancing vehicle driving safety.
[0087] Furthermore, step S201 further includes:
[0088] Step a, determining whether the vehicle stores a preset visual field boundary corresponding to the first eye coordinates;
[0089] Step b: if the vehicle has stored the preset visual field boundary, using the preset visual field boundary as the first visual field boundary;
[0090] Step c: if the vehicle does not store the preset field of view boundary, obtaining an eyeball adjustment line based on the first eyeball coordinate, and determining a field of view adjustment range in the eyeball adjustment line based on the height adjustment range of the seat.
[0091] Specifically, the controller first determines whether the vehicle stores a preset field of view boundary corresponding to the first eye coordinate, that is, whether the front field of view has been adjusted through the first eye coordinate before the current moment. If the vehicle stores the preset field of view boundary, the preset field of view boundary is used as the first field of view boundary; if the vehicle does not store the preset field of view boundary, that is, the front field of view has not been adjusted through the first eye coordinate at present, the eye adjustment line is obtained based on the first eye coordinate, and the field of view adjustment range is determined in the eye adjustment line based on the height adjustment range of the seat, with reference to Figure 3 , the field of view adjustment range is Figure 3 The starting point adjustment area in the image can further improve the accuracy of the vehicle's front-end field of view and thus improve the safety of vehicle driving by adjusting the front-end field of view based on the previous result when the front-end field of view has been adjusted through the first eye coordinate.
[0092] The present application obtains an eyeball adjustment line based on the first eyeball coordinates, and determines the field of view adjustment range in the eyeball adjustment line based on the height adjustment range of the seat; then determines the first field of view boundary based on the field of view adjustment range and the front cabin contour of the vehicle. The field of view boundary of the front end of the vehicle can be accurately obtained according to the eyeball coordinates, so as to accurately adjust the front field of view according to the driver's field boundary, thereby improving the accuracy of the front field of view of the vehicle and further improving the safety of vehicle driving.
[0093] Based on the above embodiments, a third embodiment of the vehicle front view adjustment method of the present application is proposed, which includes all the contents of the first embodiment, wherein the vehicle front view adjustment method further includes:
[0094] Step S301: if the vehicle is not in the P gear state and the field of view adjustment is currently enabled, obtaining a second eye coordinate corresponding to the eye of the driver in the vehicle;
[0095] When the vehicle is not in the P gear state, if the vehicle has activated the field of view adjustment function, the second eyeball coordinates corresponding to the driver's eyeball in the vehicle are obtained. Since the vehicle is not in the P gear state, and the seat state is the driving state, when the vehicle has activated the field of view adjustment function, the second eyeball coordinates corresponding to the driver's eyeball in the vehicle are directly obtained. The second eyeball coordinates are obtained in a similar manner to the first eyeball coordinates, which will not be repeated here. Figure 4 , Figure 4 The static guidance locked eye point is the eye point corresponding to the first eye coordinate, and the dynamic eye change is the eye point of the second eye coordinate after the eye position changes.
[0096] Step S302, determining whether the vehicle currently meets a preset field of view adjustment condition based on the second field of view boundary for which field of view adjustment has been enabled and the second eye coordinates;
[0097] Step S303: if the vehicle currently meets the preset field of view adjustment condition, determining the target eye coordinates corresponding to the eye based on the second field of view boundary and the second eye coordinates;
[0098] Step S304: determining a second adjustment parameter corresponding to the seat based on the target eye coordinates and the second eye coordinates, and displaying the second adjustment parameter on the display screen;
[0099] Step S304: When a confirmation instruction corresponding to the second adjustment parameter is detected, the seat is adjusted based on the second adjustment parameter.
[0100] When the second eye coordinates are obtained, the second field of view boundary with field of view adjustment enabled, that is, the current second field of view boundary of the vehicle is obtained, and then based on the second field of view boundary and the second eye coordinates, it is determined whether the vehicle currently meets the preset field of view adjustment conditions.
[0101] Specifically, step S302 includes:
[0102] Step d: determining a first starting line based on the second eye coordinates, and obtaining an initial second starting line corresponding to the second visual field boundary;
[0103] Step e: determining, based on the first starting line and the second starting line, whether the offset of the second starting line reaches a preset threshold;
[0104] Step f: If the offset of the second starting line reaches a preset threshold, and the duration of the offset reaching the preset threshold is greater than a preset duration, it is determined that the vehicle currently meets the preset field of view adjustment condition.
[0105] Among them, the second starting line is the tangent line between the starting point corresponding to the adjustment operation and the front cabin contour when the front-end field of view was adjusted last time, and the tangent line between the second eyeball coordinates of the first starting line and the front cabin contour. Then, based on the first starting line and the second starting line, it is determined whether the offset of the second starting line reaches the preset threshold.
[0106] Furthermore, step e includes:
[0107] Step g, determining a first intersection point between the first starting line and a visual field range corresponding to the second visual field boundary, and determining a second intersection point between the second starting line and a visual field range corresponding to the second visual field boundary;
[0108] Step h: determining an offset of the second starting line based on the first intersection point and the second intersection point, and determining whether the offset reaches a preset threshold.
[0109] Among them, the field of view range corresponding to the second field of view boundary can be Figure 3 The starting point regulatory region and Figure 4 The starting point adjustment area in the image, or the remaining part of the starting point adjustment area after adjusting the starting point, determines the first intersection point corresponding to the visual range corresponding to the first starting line and the second visual range boundary, and determines the second intersection point corresponding to the visual range corresponding to the second starting line and the second visual range boundary, then determines the offset of the second starting line based on the first intersection point and the second intersection point, and determines whether the offset reaches a preset threshold. Specifically, the offset is the distance between the first intersection point and the second intersection point. When the distance between the first intersection point and the second intersection point is greater than the preset threshold, it is determined that the offset reaches the preset threshold, and then the offset can be accurately determined to reach the preset threshold, thereby improving the accuracy of adjusting the front visual range during vehicle driving. The preset threshold can be 0.3m. Figure 4 , Figure 4 The set starting line is the second starting line, the actual starting line is the first starting line, and the deviation value is the distance between the first intersection point and the second intersection point.
[0110] If the offset of the second starting line reaches a preset threshold, and the duration of the offset reaching the preset threshold is greater than the preset time, it is determined that the vehicle currently meets the preset field of view adjustment conditions, that is, the preset time can be 1 minute, so that it can accurately judge whether the vehicle currently meets the preset field of view adjustment conditions during vehicle driving, so as to adjust the front field of view when it is met, thereby improving the safety of vehicle driving.
[0111] Then, if the vehicle currently meets the preset field of view adjustment conditions, the target eyeball coordinates corresponding to the eyeball are determined based on the second field of view boundary and the second eyeball coordinates; specifically, the second eyeball adjustment line is first determined based on the second eyeball coordinates in the same manner as the first eyeball adjustment line, and then the intersection of the tangent line of the second eyeball adjustment line and the starting point corresponding to the first starting line of the second field of view boundary and the front cabin contour is used as the coordinate point of the target eyeball coordinates, and the coordinate point of the target eyeball coordinates is determined based on the second eyeball adjustment line. Figure 4 , Figure 4 The new eye point adjustment target is the target eye coordinates, and the eye adjustment line change is the change between the first eye adjustment line and the second eye adjustment line, wherein the new eye point adjustment target is located on the second eye adjustment line, and the static guide locked eye point is located on the first eye adjustment line.
[0112] Next, based on the target eye coordinates and the second eye coordinates, a second adjustment parameter corresponding to the seat is determined, and the second adjustment parameter is displayed on the display screen; and then when a confirmation instruction corresponding to the second adjustment parameter is detected, the seat is adjusted based on the second adjustment parameter.
[0113] The present application obtains the second eye coordinates corresponding to the driver's eye in the vehicle if the vehicle is not in P gear and the field of view adjustment is currently enabled; then determines whether the vehicle currently meets the preset field of view adjustment conditions based on the second field of view boundary of the enabled field of view adjustment and the second eye coordinates; then, if the vehicle currently meets the preset field of view adjustment conditions, determines the target eye coordinates corresponding to the eye based on the second field of view boundary and the second eye coordinates; then determines the second adjustment parameter corresponding to the seat based on the target eye coordinates and the second eye coordinates, and displays the second adjustment parameter on the display screen; finally, when a confirmation instruction corresponding to the second adjustment parameter is detected, the seat is adjusted based on the second adjustment parameter, so that the vehicle seat can be adjusted during vehicle driving to maintain the same front field of view, thereby improving vehicle driving safety.
[0114] In addition, the present application also proposes a vehicle comprising: a camera, a display screen, a seat control motor and a controller; wherein,
[0115] Acquiring first eye coordinates corresponding to the eyeballs of the driver in the vehicle through the camera;
[0116] The controller determines a first visual field boundary of a front visual field corresponding to the driver based on the first eye coordinates;
[0117] When an adjustment operation corresponding to the first visual field boundary is detected, the controller determines a first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first visual field boundary;
[0118] When a confirmation instruction corresponding to the first adjustment parameter is detected, the controller adjusts the seat based on the first adjustment parameter and the seat control motor.
[0119] The methods executed by the above-mentioned program units can refer to the various embodiments of the vehicle front-end field of view adjustment method of the present application, and will not be repeated here.
[0120] In addition, the present application also proposes a computer-readable storage medium, which stores a vehicle front-end field of view adjustment program. When the vehicle front-end field of view adjustment program is executed by a processor, the steps of the vehicle front-end field of view adjustment method described above are implemented.
[0121] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0122] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0124] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for adjusting the front-end field of view of a vehicle, characterized in that: The vehicle front-end visual field adjustment method comprises the following steps: Obtaining first eye coordinates corresponding to an eye of a driver in the vehicle; determining a first visual field boundary of a front visual field corresponding to the driver based on the first eye coordinates; When an adjustment operation corresponding to the first field of view boundary is detected, a first adjustment parameter corresponding to the seat of the vehicle is determined based on the adjustment operation and the first field of view boundary, wherein the driver adjusts the starting point of the front field of view using a starting point adjustment button to trigger the adjustment operation corresponding to the first field of view boundary, a target field of view line is determined based on the starting point corresponding to the adjustment operation, an intersection of the target field of view line and an eyeball adjustment line corresponding to the first eyeball coordinate is determined as a target eyeball point, and the first adjustment parameter corresponding to the seat is determined based on the target eyeball point; When a confirmation instruction corresponding to the first adjustment parameter is detected, adjusting the seat based on the first adjustment parameter; The step of determining a first visual field boundary of the driver's front visual field based on the first eye coordinates includes: Obtaining an eyeball adjustment line based on the first eyeball coordinate, and determining a field of view adjustment range within the eyeball adjustment line based on a height adjustment range of the seat, wherein a preset slope a corresponding to the eyeball adjustment line is obtained, where the value of a is preset by vehicle parameters, and a straight line equation z=ax+b is obtained. Substituting (x0, z0) of the first eyeball coordinate (x0, y0, z0) into the formula to obtain b, thereby obtaining a straight line equation for the eyeball adjustment line; Determine the first tangent and the second tangent when the two range boundaries of the field of view adjustment range are tangent to the front cabin contour of the vehicle, and obtain the two intersection points of the first tangent and the second tangent with the horizon corresponding to the blind spot of the front vehicle, use the area between the two intersection points as the front field of view corresponding to the first field of view boundary, and display the first field of view boundary on the display screen of the vehicle.
2. The vehicle front view adjustment method according to claim 1, characterized in that: The step of acquiring an eyeball adjustment line based on the first eyeball coordinates and determining a visual field adjustment range in the eyeball adjustment line based on a height adjustment range of the seat comprises: determining a first parameter of the eyeball adjustment line based on the first eyeball coordinates and a preset slope, and determining the eyeball adjustment line based on the first parameter and the preset slope; Based on the height adjustment range of the seat, a linear relationship between the seat height and a preset field of view adjustment range, the field of view adjustment range is determined in the eyeball adjustment line.
3. The vehicle front view adjustment method according to claim 1, characterized in that: The step of determining the first field of view boundary based on the field of view adjustment range and the front cabin outline of the vehicle includes: Obtaining a range boundary corresponding to the field of view adjustment range; The first field of view boundary is determined based on the range boundary and a front cabin outline of the vehicle.
4. The method for adjusting the vehicle front view according to claim 1, wherein: The step of acquiring an eyeball adjustment line based on the first eyeball coordinates and determining a visual field adjustment range in the eyeball adjustment line based on a height adjustment range of the seat comprises: determining whether the vehicle stores a preset visual field boundary corresponding to the first eye coordinate; If the vehicle has stored the preset visual field boundary, the preset visual field boundary is used as the first visual field boundary; If the vehicle does not store the preset field of view boundary, an eyeball adjustment line is obtained based on the first eyeball coordinates, and a field of view adjustment range is determined within the eyeball adjustment line based on the height adjustment range of the seat.
5. The vehicle front view adjustment method according to any one of claims 1 to 4, characterized in that: The vehicle front end field of view adjustment method further includes: If the vehicle is not in the P gear state and the field of view adjustment is currently enabled, obtaining a second eye coordinate corresponding to the eye of the driver in the vehicle; determining whether the vehicle currently meets a preset field of view adjustment condition based on a second field of view boundary for which field of view adjustment has been enabled and the second eye coordinates; If the vehicle currently meets a preset field of view adjustment condition, determining a target eye coordinate corresponding to the eye based on the second field of view boundary and the second eye coordinate; determining a second adjustment parameter corresponding to the seat based on the target eye coordinates and the second eye coordinates, and displaying the second adjustment parameter on the display screen; When a confirmation instruction corresponding to the second adjustment parameter is detected, the seat is adjusted based on the second adjustment parameter.
6. The method for adjusting the vehicle front view according to claim 5, wherein: The step of determining whether the vehicle currently meets a preset field of view adjustment condition based on the second field of view boundary for which field of view adjustment has been enabled and the second eye coordinates includes: Determine a first starting line based on the second eye coordinates, and obtain an initial second starting line corresponding to the second visual field boundary; Based on the first starting line and the second starting line, determining whether the offset of the second starting line reaches a preset threshold; If the offset of the second starting line reaches a preset threshold, and the duration for which the offset reaches the preset threshold is greater than a preset duration, it is determined that the vehicle currently meets a preset field of view adjustment condition.
7. The vehicle front view adjustment method according to claim 6, characterized in that: The step of determining whether the offset of the second starting line reaches a preset threshold based on the first starting line and the second starting line includes: Determine a first intersection point between the first starting line and a visual field range corresponding to the second visual field boundary, and determine a second intersection point between the second starting line and a visual field range corresponding to the second visual field boundary; An offset of the second starting line is determined based on the first intersection point and the second intersection point, and it is determined whether the offset reaches a preset threshold.
8. A vehicle, characterized in that: The vehicle includes: a camera, a display screen, a seat control motor and a controller; wherein, Acquiring first eye coordinates corresponding to the eyeballs of the driver in the vehicle through the camera; The controller determines a first field of view boundary of the front field of view corresponding to the driver based on the first eyeball coordinate, obtains an eyeball adjustment line based on the first eyeball coordinate, and determines a field of view adjustment range in the eyeball adjustment line based on the height adjustment range of the seat; determines a first tangent and a second tangent when two range boundaries of the field of view adjustment range are tangent to the front cabin contour of the vehicle, obtains two intersection points of the first tangent and the second tangent with the horizon corresponding to the blind spot of the front vehicle, uses the area between the two intersection points as the front field of view corresponding to the first field of view boundary, and displays the first field of view boundary on the display screen of the vehicle, wherein a preset slope a corresponding to the eyeball adjustment line is obtained, the value of a is pre-set by the parameters of the vehicle, and a straight line equation z=ax+b is obtained, (x0, z0) of the first eyeball coordinate (x0, y0, z0) is substituted into the formula to obtain b, and a straight line equation of the eyeball adjustment line is obtained; When an adjustment operation corresponding to the first field of view boundary is detected, the controller determines a first adjustment parameter corresponding to the seat of the vehicle based on the adjustment operation and the first field of view boundary, wherein the driver adjusts the starting point of the front field of view using a starting point adjustment button to trigger the adjustment operation corresponding to the first field of view boundary, determines a target field of view line based on the starting point corresponding to the adjustment operation, determines an intersection of the target field of view line and an eyeball adjustment line corresponding to the first eyeball coordinate as a target eyeball point, and determines the first adjustment parameter corresponding to the seat based on the target eyeball point; When a confirmation instruction corresponding to the first adjustment parameter is detected, the controller adjusts the seat based on the first adjustment parameter and the seat control motor.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a vehicle front-end field of view adjustment program, which, when executed by a processor, implements the steps of the vehicle front-end field of view adjustment method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Seat adjusting method and device
CN112208398A
Vehicle road driving indication method and device, and computer readable storage medium
CN113415287A