Seat headrest adjustment method, electronic device, seat, and storage medium

CN118061879BActive Publication Date: 2026-08-11CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-08
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]有鉴于此,本申请实施例的目的在于提供一种座椅头枕调节方法、电子设备、座椅及存储介质,能够改善实现座椅头枕电动调节功能的系统存在结构复杂、成本较高的问题

Benefits of technology

[0031] The invention employing the above technical solution has the following advantages:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118061879B_ABST
    Figure CN118061879B_ABST
Patent Text Reader

Abstract

This application provides a method for adjusting a seat headrest, an electronic device, a seat, and a storage medium. The method includes: acquiring a processing image with depth data using a visual sensing component, wherein the processing image is an image of the headrest area of ​​the seat and the head area of ​​an occupant on the seat; determining the relative height difference between the occupant's head and the headrest from the processing image; and controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference, so that the relative height difference after adjustment is within a first preset range. Thus, by using a visual sensing component to acquire images, the system relies on fewer sensors, which helps reduce the complexity of the system structure and the system hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of sensing and control technology, and more specifically, to a method for adjusting a seat headrest, an electronic device, a seat, and a storage medium. Background Technology

[0002] With the continuous development of the automotive industry and the improvement of people's living standards, automobiles have increasingly become necessities for people's lives and travel. The comfort, safety, and differentiation of automobiles are receiving increasing attention, among which headrest height directly affects the user experience of passengers. For seats with adjustable relative positions between the seat and headrest, adjustments can currently be made manually or electrically. Manual adjustments are inconvenient, while electric adjustments suffer from complex system structures and high costs. For example, patent CN108501785A uses multiple modules, including a gravity sensor, infrared tester, camera, pressure sensor, slide rail, slider, distance sensor, processor, controller, actuator, and pressure correction device, to achieve electric headrest adjustment. However, the addition of a separate control system makes the system structure complex and costly. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a seat headrest adjustment method, electronic device, seat and storage medium, which can improve the problems of complex structure and high cost of the system that realizes the electric adjustment function of the seat headrest.

[0004] To achieve the above technical objectives, the technical solution adopted in this application is as follows:

[0005] In a first aspect, embodiments of this application provide a method for adjusting a seat headrest, the method comprising:

[0006] A visual sensing component is used to obtain an image to be processed containing depth data, wherein the image to be processed is an image obtained by capturing the headrest area of ​​the seat and the head area of ​​the occupant located on the seat.

[0007] From the image to be processed, determine the relative height difference between the occupant's head and the headrest;

[0008] Based on the relative height difference, the seat is controlled to adjust the relative position of the seat body and the headrest so that the relative height difference after adjusting the relative position is within a first preset range.

[0009] In conjunction with the first aspect, in some alternative implementations, obtaining the image to be processed with depth data via a visual sensing component includes:

[0010] A first image with depth data is obtained by capturing the front or side of the seat with an occupant using a first visual sensor, wherein the visual sensing component includes the first visual sensor and the image to be processed includes the first image.

[0011] In conjunction with the first aspect, in some optional implementations, determining the relative height difference between the occupant's head and the headrest from the image to be processed includes:

[0012] Based on the target recognition algorithm, the facial features of the occupant and the reference point of the headrest are determined from the first image. The facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The reference point includes the edge point of the headrest.

[0013] Based on the depth data, the facial features, and the position of the reference point in the first image, the relative height difference between the occupant's head and the headrest is determined.

[0014] In conjunction with the first aspect, in some alternative implementations, obtaining the image to be processed with depth data via a visual sensing component includes:

[0015] Using a first visual sensor, a first image with depth data is obtained by capturing the front of the seat with the occupant in it.

[0016] The second visual sensor captures a picture of the side of the seat where the occupant is seated, resulting in a second image with depth data. The visual sensing component includes the first visual sensor and the second visual sensor, and the image to be processed includes the first image and the second image.

[0017] In conjunction with the first aspect, in some optional implementations, determining the relative height difference between the occupant's head and the headrest from the image to be processed includes:

[0018] Based on the target recognition algorithm, the first facial features of the occupant and the first reference point of the headrest are determined from the first image. The first facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The first reference point includes the edge point of the headrest in a frontal view.

[0019] Based on the target recognition algorithm, the second facial features of the occupant and the second reference point of the headrest are determined from the second image. The second facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The second reference point includes the edge point of the headrest in a side view.

[0020] Based on the depth data of the first image, the position of the first facial feature and the first reference point in the first image, the first relative height difference between the occupant's head and the headrest is determined; and based on the depth data of the second image, the position of the second facial feature and the second reference point in the second image, the second relative height difference between the occupant's head and the headrest is determined.

[0021] When the difference between the first relative height difference and the second relative height difference is within a second preset range, the first relative height difference, or the second relative height difference, or the average of the first relative height difference and the second relative height difference, is taken as the final relative height difference between the occupant's head and the headrest.

[0022] When the difference between the first relative height difference and the second relative height difference is not within the second preset range, the first height value of the occupant's head in the cabin is determined based on the depth data of the first image and the position of the first facial feature in the first image, and the second height of the headrest in the cabin is determined based on the depth data of the second image and the position of the second reference point in the second image, and the final relative height difference between the occupant's head and the headrest is obtained based on the first height and the second height.

[0023] In conjunction with the first aspect, in some optional embodiments, controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference includes:

[0024] When the relative height difference is not within the first preset range, the target adjustment height is determined based on the relative height difference and the first preset range;

[0025] Control the adjustment mechanism of the seat to adjust the relative position of the seat body and the headrest to the target adjustment height.

[0026] In conjunction with the first aspect, in some alternative embodiments, before controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference, the method further includes:

[0027] Determine whether the vehicle equipped with the seat is in motion. If the vehicle is not in motion, perform the step of controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference.

[0028] Secondly, embodiments of this application also provide an electronic device, the electronic device including a visual sensing component, a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device performs the method described above.

[0029] Thirdly, this application embodiment also provides a seat, the seat including a seat body and the aforementioned electronic device, the electronic device being electrically connected to an adjustment mechanism in the seat body, the adjustment mechanism being used to adjust the relative position of the seat body and the headrest in the seat body.

[0030] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the methods described above.

[0031] The invention employing the above technical solution has the following advantages:

[0032] In the technical solution provided in this application, a visual sensing component is used to obtain an image to be processed containing depth data. This image is an image of the headrest area of ​​the seat and the head area of ​​the occupant sitting on the seat. Next, the relative height difference between the occupant's head and the headrest is determined from the image to be processed. Finally, based on the relative height difference, the seat is controlled to adjust the relative position of the seat body and the headrest so that the relative height difference after adjustment is within a first preset range. Thus, by using a visual sensing component to acquire images, the system relies on fewer sensors, which helps reduce the complexity of the system structure and the system hardware cost. Furthermore, by utilizing the relative height difference between the occupant's head and the headrest, the relative position of the seat body and the headrest can be accurately adjusted, simplifying the data processing flow in implementing the electric headrest adjustment function. Attached Figure Description

[0033] This application can be further illustrated by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate some embodiments of this application and should not be considered as limiting the scope. For those skilled in the art, other related drawings can be obtained from these drawings without any inventive effort.

[0034] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0035] Figure 2 This is a schematic flowchart illustrating the headrest adjustment method for a seat provided in an embodiment of this application.

[0036] Icons: 10-Electronic device; 11-First vision sensor; 12-Second vision sensor; 13-Processing module; 21-Adjustment control unit; 22-Adjustment mechanism; 31-Vehicle network management unit. Detailed Implementation

[0037] The present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that similar or identical parts are referred to by the same reference numerals in the drawings or description. Implementations not shown or described in the drawings are forms known to those skilled in the art. In the description of this application, terms such as "first" and "second" are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0038] Please refer to the reference. Figure 1 and Figure 2 This application provides an electronic device 10, which may include a visual sensing component, a processing module 13, and a storage module. The storage module stores a computer program, which, when executed by the processing module 13, enables the electronic device 10 to perform corresponding steps in the following seat headrest adjustment method. The electronic device 10 can be applied to vehicles or other facilities with seats (such as ships).

[0039] The visual sensing component may include one or two visual sensors, and the installation location of the visual sensors can be flexibly determined according to the actual situation. The visual sensor can be a depth camera, or a combination of a camera and an infrared camera, which can acquire depth data while acquiring image data.

[0040] This application uses the electronic device 10 applied to a vehicle as an example. If the vision sensing component is a vision sensor, the vision sensor can be set in the roof, A-pillar, or steering wheel area of ​​the vehicle, and can be used to capture the headrest area in front of the seat; or, the vision sensor can be set in a part of the vehicle that can capture the headrest area on the side of the seat, such as the B-pillar or the part of the roof near the B-pillar.

[0041] If the vision sensing component includes a first vision sensor 11 and a second vision sensor 12, for a total of two vision sensors, then the first vision sensor 11 can be installed in the vehicle's roof, A-pillar, or steering wheel area, and can be used to capture images of the headrest area on the front of the seat. The second vision sensor 12 can be installed in a location on the vehicle that can capture images of the headrest area on the side of the seat, such as the B-pillar or the area of ​​the roof near the B-pillar.

[0042] In this embodiment, the processing module 13 and the storage module can be integrated into one unit or exist independently; no specific limitation is made here.

[0043] This application embodiment also provides a seat, which may include a seat body and the aforementioned electronic device 10. The seat body may include a headrest, a backrest, a seat body, and an adjustment mechanism 22. The headrest is disposed on the backrest, which may be fixedly disposed on the floor of the vehicle cabin. The adjustment mechanism 22 may be used to adjust the movement of the seat body relative to the backrest, so as to adjust the relative position between the seat body and the headrest, thereby meeting the different headrest height requirements of different occupants.

[0044] Please refer to this again. Figure 1 The adjustment mechanism 22 can be directly electrically connected to the processing module 13, or the adjustment mechanism 22 can be electrically connected to the processing module 13 through the adjustment control unit 21. The processing module 13 can be directly electrically connected to the vehicle network management unit 31, or the processing module 13 can be electrically connected to the vehicle network management unit 31 through the adjustment control unit 21. The adjustment control unit 21 / processing module 13 can be used to control the adjustment mechanism 22 to adjust the relative position between the seat and the headrest. The vehicle network management unit 31 can be used to collect the vehicle's operating status, including driving status and non-driving status.

[0045] Please refer to Figure 2 This application also provides a method for adjusting a seat headrest, which can be applied to the aforementioned electronic device 10. The method for adjusting the seat headrest may include the following steps:

[0046] Step 110: Obtain an image to be processed with depth data through a visual sensing component, wherein the image to be processed is an image obtained by capturing the headrest area of ​​the seat and the head area of ​​the occupant located on the seat.

[0047] Step 120: Determine the relative height difference between the occupant's head and the headrest from the image to be processed;

[0048] Step 130: Based on the relative height difference, control the seat to adjust the relative position of the seat body and the headrest so that the relative height difference after adjusting the relative position is within a first preset range.

[0049] The following is a detailed explanation of each step in adjusting the seat headrest:

[0050] As an optional implementation, if the visual sensing component is a visual sensor, step 110 may include:

[0051] The first visual sensor 11 is used to capture the front or side of the seat with an occupant, and a first image with depth data is obtained. The visual sensing component includes the first visual sensor 11, and the image to be processed includes the first image.

[0052] Accordingly, step 120 may include:

[0053] Based on the target recognition algorithm, the facial features of the occupant and the reference point of the headrest are determined from the first image. The facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The reference point includes the edge point of the headrest.

[0054] Based on the depth data, the facial features, and the position of the reference point in the first image, the relative height difference between the occupant's head and the headrest is determined.

[0055] In this embodiment, the target recognition algorithm can be a deep learning-based neural network algorithm, which can be used to recognize the facial features of occupants in the image (such as ears, eyes, nose, mouth, chin, etc.) and the headrest. The recognition method is conventional and will not be described in detail here.

[0056] The relative height difference between the head and the headrest can be understood as the vertical height difference between the first reference point of the head and the second reference point of the headrest. The first reference point can be flexibly determined according to the actual situation; for example, it can be the center point of the back of the head, the center of the eyebrows, the center point of the face, etc. The second reference point can be the center point of the headrest, or the highest or lowest point of the headrest, etc. The position of the center point of the headrest can be calculated from multiple edge points of the headrest.

[0057] Since headrests typically support the back of the head, in a normal sitting posture, the horizontal height of the back of the head is the same as or close to the horizontal height of the eyes. Based on this, the midpoint of the line connecting the two eyes can be used as the first reference point, and the center point of the headrest as the second reference point. If the vertical height difference between the first and second reference points is within a first preset range, it indicates that the headrest is well-suited to the occupant's head position and can provide adequate support. If the vertical height difference between the first and second reference points is not within the first preset range, it indicates that the headrest is not well-suited to the occupant's head position, for example, the headrest is too high or too low, resulting in inadequate head support. The first preset range can be flexibly set according to actual conditions, for example, [-3, 3] cm.

[0058] If the facial features include only one of the following: ears, eyes, nose, mouth, or chin, the relative height difference between the center point of that single feature and the center point of the headrest can be compared with a predefined first preset range to determine whether the headrest is a good fit for the head. The first preset range may differ for different feature areas.

[0059] It should be noted that the visual sensor only acquires images after the occupant is seated and their posture is relatively fixed. This improves the effectiveness of image acquisition, avoids blurry images caused by occupant movement, and prevents the occupant's head position from becoming an ineffective reference point due to body movement. The method for detecting the timing of image acquisition is conventional and will not be elaborated upon here.

[0060] As an optional implementation, if the visual sensing component consists of two visual sensors, step 110 may include:

[0061] The first visual sensor 11 captures a picture of the front of the seat with the occupant, and obtains a first image with depth data.

[0062] The second visual sensor 12 captures a picture of the side of the seat where the occupant is seated, and obtains a second image with depth data. The visual sensing component includes the first visual sensor 11 and the second visual sensor 12, and the image to be processed includes the first image and the second image.

[0063] Accordingly, step 120 may include:

[0064] Based on the target recognition algorithm, the first facial features of the occupant and the first reference point of the headrest are determined from the first image. The first facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The first reference point includes the edge point of the headrest in a frontal view.

[0065] Based on the target recognition algorithm, the second facial features of the occupant and the second reference point of the headrest are determined from the second image. The second facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The second reference point includes the edge point of the headrest in a side view.

[0066] Based on the depth data of the first image, the position of the first facial feature and the first reference point in the first image, the first relative height difference between the occupant's head and the headrest is determined; and based on the depth data of the second image, the position of the second facial feature and the second reference point in the second image, the second relative height difference between the occupant's head and the headrest is determined.

[0067] When the difference between the first relative height difference and the second relative height difference is within a second preset range, the first relative height difference, or the second relative height difference, or the average of the first relative height difference and the second relative height difference, is taken as the final relative height difference between the occupant's head and the headrest.

[0068] When the difference between the first relative height difference and the second relative height difference is not within the second preset range, the first height value of the occupant's head in the cabin is determined based on the depth data of the first image and the position of the first facial feature in the first image, and the second height of the headrest in the cabin is determined based on the depth data of the second image and the position of the second reference point in the second image, and the final relative height difference between the occupant's head and the headrest is obtained based on the first height and the second height.

[0069] When using two vision sensors, the second preset range can be flexibly determined according to the actual situation, usually a smaller range value, such as [-1, 1] cm. If the difference between the first relative height difference and the second relative height difference is not within the second preset range, it means that the difference between the two is large, and it is necessary to redetermine the relative height difference between the occupant's head and the headrest.

[0070] Since the first image is taken from the front of the occupant / seat, and the second image is taken from the side, the occupant's facial features are clearer and more complete in the first image, while the headrest is clearer and more complete in the second image. That is, the first image can be used to calculate the first height of the occupant's head in the cabin, and the second image can be used to calculate the second height of the headrest in the cabin. The difference between the first and second heights is the final relative height difference between the head and the headrest. Using images acquired by two visual sensors improves the accuracy of the relative height difference calculation.

[0071] Since the acquired images (first image and second image) record depth data for each pixel, this depth data represents the distance between the corresponding point on the surface of the object and the vision sensor. If the center point of the two eyes is taken as the first reference point for the head position, and the center point of the headrest is taken as the second reference point for the headrest position, then based on the depth data of the center points of the two eyes in the first image and the depth data of the center point of the headrest in the second image, the first relative position of the head and the first vision sensor 11, and the second relative position of the headrest and the second vision sensor 12 can be obtained.

[0072] Relative positions (e.g., first relative position / second relative position) include relative distance and orientation, and can be represented using Eulerian coordinates in the camera coordinate system of the visual sensor. For example, the relative position between the center point of the headrest and the second visual sensor 12 can be represented using Eulerian coordinates in the camera coordinate system. Based on the transformation matrix between the camera coordinate system and the world coordinate system, the second relative position can be converted into the second position coordinates of the headrest center point in the cockpit. Similarly, the first relative position can be converted into the first position coordinates of the center points of both eyes in the cockpit. The world coordinate system can be understood as a three-dimensional coordinate system established based on the cockpit space. The camera coordinate system can be understood as a three-dimensional coordinate system established based on the corresponding visual sensor. After obtaining the first and second position coordinates, the final relative height difference between the head and the headrest can be calculated.

[0073] In step 130, based on the relative height difference, the seat is controlled to adjust the relative position of the seat body and the headrest, including:

[0074] When the relative height difference is not within the first preset range, the target adjustment height is determined based on the relative height difference and the first preset range;

[0075] The adjustment mechanism 22 of the seat is controlled to adjust the relative position of the seat body and the headrest to the target adjustment height.

[0076] In this embodiment, if the relative height difference is within the first preset range, it indicates that the headrest is compatible with the occupant's head position, and in this case, it is not necessary to adjust the relative position between the headrest and the seat. If the relative height difference is not within the first preset range, it indicates that the headrest is not compatible with the occupant's head position, and the relative position between the headrest and the seat needs to be adjusted. The adjustment height can be determined based on the current relative height difference and the first preset range, and the target adjustment height is the height parameter that satisfies the compatibility between the headrest and the head position.

[0077] In this embodiment, the adjustment mechanism 22 of the control seat is used to adjust the relative position of the seat body and the headrest to the target height. In this way, after the position is adjusted, the occupant's head is adapted to the position of the headrest.

[0078] As an optional implementation, the method may further include the following steps before step 130:

[0079] Determine whether the vehicle equipped with the seat is in motion. If the vehicle is not in motion, perform the step of controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference.

[0080] In this embodiment, headrest height adjustment can be disabled while the vehicle is in motion; adjustment is only permitted when the vehicle is stationary. This improves occupant safety. The vehicle's driving status can be collected by the vehicle network management unit 31.

[0081] In this embodiment, the processing module 13 can be an integrated circuit chip with signal processing capabilities. The processing module 13 can be a general-purpose processor. For example, the processor can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0082] The storage module can be, but is not limited to, random access memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, etc. In this embodiment, the storage module can be used to store a first preset range, a second preset range, etc. Of course, the storage module can also be used to store a program, which the processing module 13 executes after receiving an execution instruction.

[0083] Understandable Figure 1 The electronic device 10 shown is only a schematic diagram; the electronic device 10 may also include components that are larger than... Figure 1 More components are shown. Figure 1 The components shown can be implemented using hardware, software, or a combination thereof.

[0084] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the electronic device described above can be referred to the corresponding steps in the aforementioned method, and will not be elaborated further here.

[0085] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the seat headrest adjustment method as described in the above embodiments.

[0086] Based on the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by hardware or by using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as a personal computer, electronic device, or network device, etc.) to execute the methods described in the various implementation scenarios of this application.

[0087] In the embodiments provided in this application, it should be understood that the disclosed electronic devices and methods can also be implemented in other ways. The device and method embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a specified logical function. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0088] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for adjusting a seat headrest, characterized in that, The method includes: A visual sensing component is used to obtain an image to be processed containing depth data. The image to be processed is an image obtained by capturing the headrest area of ​​the seat and the head area of ​​the occupant on the seat. The image to be processed includes a first image and a second image. Determining the relative height difference between the occupant's head and the headrest from the image to be processed includes: Based on the target recognition algorithm, the first facial features of the occupant and the first reference point of the headrest are determined from the first image. The first facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The first reference point includes the edge point of the headrest in a frontal view. Based on the target recognition algorithm, the second facial features of the occupant and the second reference point of the headrest are determined from the second image. The second facial features include at least one of the following: ears, eyes, nose, mouth, and chin. The second reference point includes the edge point of the headrest in a side view. Based on the depth data of the first image, the position of the first facial feature and the first reference point in the first image, the first relative height difference between the occupant's head and the headrest is determined; and based on the depth data of the second image, the position of the second facial feature and the second reference point in the second image, the second relative height difference between the occupant's head and the headrest is determined. When the difference between the first relative height difference and the second relative height difference is within a second preset range, the first relative height difference, or the second relative height difference, or the average of the first relative height difference and the second relative height difference, is taken as the final relative height difference between the occupant's head and the headrest. When the difference between the first relative height difference and the second relative height difference is not within the second preset range, the first height value of the occupant's head in the cabin is determined based on the depth data of the first image and the position of the first facial feature in the first image, and the second height of the headrest in the cabin is determined based on the depth data of the second image and the position of the second reference point in the second image, and the final relative height difference between the occupant's head and the headrest is obtained based on the first height and the second height. Based on the relative height difference, the seat is controlled to adjust the relative position of the seat body and the headrest so that the relative height difference after adjusting the relative position is within a first preset range.

2. The method according to claim 1, characterized in that, The image to be processed, containing depth data, is obtained through a visual sensing component, including: Using a first visual sensor, a first image with depth data is obtained by capturing the front of the seat with the occupant in it. The second visual sensor captures a picture of the side of the seat where the occupant is seated, resulting in a second image with depth data. The visual sensing component includes the first visual sensor and the second visual sensor.

3. The method according to claim 1 or 2, characterized in that, Based on the relative height difference, controlling the seat to adjust the relative position of the seat body and the headrest includes: When the relative height difference is not within the first preset range, the target adjustment height is determined based on the relative height difference and the first preset range; Control the adjustment mechanism of the seat to adjust the relative position of the seat body and the headrest to the target adjustment height.

4. The method according to claim 1, characterized in that, Before controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference, the method further includes: Determine whether the vehicle equipped with the seat is in motion. If the vehicle is not in motion, perform the step of controlling the seat to adjust the relative position of the seat body and the headrest based on the relative height difference.

5. An electronic device, characterized in that, The electronic device includes a visual sensing component, a processor, and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the electronic device to perform the method as described in any one of claims 1-4.

6. A type of seat, characterized in that, The seat includes a seat body and an electronic device as described in claim 5, wherein the electronic device is electrically connected to an adjustment mechanism in the seat body, and the adjustment mechanism is used to adjust the relative position of the seat body and the headrest in the seat body.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • System used for adjusting automobile seat headrest

    CN108501785A

  • Device for height setting of head rest in vehicles, has optical sensors and control device that collects signals emitted by optical sensor, where control device executes image pattern comparison, on basis of superimposed images

    DE102008017951A1

  • Moving system for vehicle seat

    JP2018197027A

  • Systems and methods for adjustment of vehicle sub-systems based on monitoring of vehicle occupant(s)

    US20210179117A1