Vehicle co-driver intelligent sun protection method and system, and automobile

By collecting facial images of the front passenger and recognizing light sensitivity values ​​and the area to be shaded, the sunshade device and seat are automatically adjusted, solving the problems of poor sunshade effect and device damage in existing technologies, and achieving precise sunshade and improved passenger comfort.

CN116331134BActive Publication Date: 2026-06-16HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
Filing Date
2022-12-28
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

Existing intelligent sun protection methods for the passenger side of vehicles cannot coordinate multiple sunshade devices for sun protection, resulting in poor sun protection effect. Furthermore, manual adjustment may damage the sunshade devices and distract the driver, affecting driving safety and passenger comfort.

Method used

By collecting facial images of the front passenger, identifying light sensitivity values ​​and the area to be shaded, the system automatically adjusts the shading device and seat to achieve precise shading. This includes the coordinated control of the sunshade and the sunshade panel, and optimizes the shading angle by combining preset control rules and models.

Benefits of technology

It achieves precise shading of the sunshade area, reduces the risk of damage to the sunshade device, improves passenger comfort and ensures driving safety, and avoids interference with driving due to manual adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116331134B_ABST
    Figure CN116331134B_ABST
Patent Text Reader

Abstract

The application relates to a vehicle co-driver intelligent sun protection method and system, an automobile, computer equipment and a storage medium. The method comprises the following steps: collecting a face image of a vehicle co-driver; obtaining a light value of the face image based on the face image, and determining a sun-shielding area of the face image; and adjusting a sun-shielding device and a seat of the vehicle based on the sun-shielding area until the sun-shielding area is shielded. The sun-shielding device and the seat of the vehicle are adjusted based on the sun-shielding area, the sun-shielding area is shielded, the sun-shielding effect is ensured, the sun-shielding efficiency is improved, and the beneficial effect of sun protection is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle automatic control technology, and in particular to a vehicle passenger seat intelligent sun protection method, system, automobile, computer equipment, and storage medium. Background Technology

[0002] With technological advancements and social development, the number of cars on the road continues to increase, making automobiles a common mode of transportation. Furthermore, with the development of intelligent technologies, autonomous vehicles are gradually entering our lives, changing the way we live, work, and play, and creating a safer and more efficient road transportation environment. In both autonomous and non-autonomous vehicles, front-seat passengers are easily exposed to sunlight due to the influence of buildings and other factors. Therefore, current car manufacturers install sun visors and other sun-shading devices in vehicles to protect front-seat passengers from direct sunlight.

[0003] In existing technology, when a front passenger is exposed to sunlight, they need to manually adjust the vehicle's sun shade to achieve the desired sun protection. However, manually adjusting the sun shade has the following drawbacks: First, adjusting the sun shade while driving can distract the driver and compromise safe driving; second, manual adjustment may damage the sun shade due to improper operation by the front passenger. Vehicle manufacturers have gradually recognized these technical problems, and many vehicles on the market now use automatic sun shading systems for front passenger protection. However, current intelligent sun protection methods for front passengers have the following drawbacks: First, they can only control a single sun shade and cannot coordinate multiple sun shades; second, the sun protection effect is poor, specifically in terms of difficulty in accurately identifying the area to be shaded and accurately determining the adjustment angle of the sun shade, especially the angle of the sun visor itself.

[0004] Therefore, there is an urgent need to propose a vehicle passenger-side intelligent sun protection method, system, and automobile that can solve the above-mentioned technical problems. Summary of the Invention

[0005] Therefore, it is necessary to provide a vehicle passenger-side intelligent sun protection method, system, automobile, computer equipment, and storage medium to address the above-mentioned technical problems, thereby resolving the discomfort caused by excessive sunlight exposure to the front passenger of a vehicle when the light intensity is too high; and to resolve potential damage to the sun shading device or driving safety issues caused by the front passenger manually adjusting the sun shading device, thus ensuring the safety of vehicle driving and the comfort of the front passenger.

[0006] On the one hand, a method for intelligent sun protection for the passenger side of a vehicle is provided, the method comprising:

[0007] Collect facial images of the front passenger in the vehicle;

[0008] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0009] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0010] In one embodiment, acquiring a facial image of a vehicle's front passenger includes: in response to a vehicle front passenger smart sun protection trigger signal, identifying facial feature points according to an OMS recognition algorithm; wherein the vehicle front passenger smart sun protection trigger signal includes a vehicle front passenger smart sun protection activation request, and / or, the current light intensity is greater than a preset light intensity; determining the facial image of the vehicle front passenger based on the facial feature points; wherein the facial feature points include at least one of a nose, eyes, mouth, and ears.

[0011] In one embodiment, determining the area to be shaded based on the light sensitivity value of the face image includes: acquiring coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value based on the acquired light sensitivity value of the face image; determining edge coordinate points from the coordinate points, wherein the edge coordinate points are the coordinate points with the longest straight-line distance from the preset coordinate origin; and drawing a circle with the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius and the preset coordinate origin as the center, and determining the face image area covered by the circle as the area to be shaded.

[0012] In one embodiment, the method further includes: determining the angle between the vertical plane where the area to be shaded is located and the vertical plane where the vehicle window is located based on the area to be shaded; and determining the position to be shaded based on the angle, wherein the position to be shaded includes a front position to be shaded and a side position to be shaded.

[0013] In one embodiment, the vehicle's sunshade device includes a sunshade curtain and a sunshade panel; adjusting the vehicle's sunshade device and seats based on the area to be shaded until the area to be shaded is blocked includes: when the area to be shaded includes a side area to be shaded, adjusting the sunshade curtain and seats according to side shading control rules until the area to be shaded at the side area to be shaded is blocked; when the area to be shaded includes a front area to be shaded, adjusting the sunshade panel and seats according to front shading control rules until the area to be shaded at the front area to be shaded is blocked.

[0014] In one embodiment, the front sunshade control rule includes: obtaining the highest and lowest coordinate points of the sunshade area at the front sunshade location, wherein the highest coordinate point is the coordinate point furthest from the vehicle's seat along the Z-axis direction, and the lowest coordinate point is the coordinate point closest to the vehicle's seat along the Z-axis direction, where the Z-axis is a vertical direction perpendicular to the vehicle's driving direction; determining the length of the sunshade area based on the highest and lowest coordinate points; and determining the location of the highest coordinate point based on the highest coordinate point. The actual vertical distance between the plane and the plane where the hinge axis of the sun visor is located, and the width of the sun visor, are used to determine the target adjustment angle of the sun visor. The plane where the highest coordinate point is located is parallel to the plane where the hinge axis of the sun visor is located. The length of the area, the actual vertical distance, and the width of the vehicle's sun visor are input into a preset trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor. Based on the target adjustment angle, the sun visor is rotated along the hinge axis of the sun visor, and the area to be shaded is monitored in real time to see if it is completely shaded. When the area to be shaded is completely shaded, the rotation of the sun visor is stopped.

[0015] In one embodiment, the pre-trained sunshade angle adjustment model includes:

[0016]

[0017] Where θ is the target adjustment angle of the sun visor determined based on the preset trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; and B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

[0018] In one embodiment, the front sunshade rule further includes: when the sun visor is adjusted to the target adjustment angle, re-collecting whether there is a sunshade area at the front sunshade position; if so, adjusting the seat along the Z-axis and / or along the X-axis; wherein the X-axis is the vehicle's driving direction.

[0019] In one embodiment, the front sunshade control rule further includes: obtaining the leftmost and rightmost coordinate points of the sunshade area at the front sunshade position, and the leftmost and rightmost edge points of the sunshade; adjusting the sunshade along the Y-axis based on a first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and a second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located; wherein the Y-axis is a horizontal direction perpendicular to the vehicle's driving direction.

[0020] In one embodiment, before adjusting the sunshade along the Y-axis based on a first vertical distance between the vertical plane of the leftmost coordinate point and the vertical plane of the leftmost edge point, and a second vertical distance between the vertical plane of the rightmost coordinate point and the vertical plane of the rightmost edge point, the method further includes: if the first vertical distance and / or the second vertical distance is 0, then the sunshade is not adjusted; if the first vertical distance and / or the second vertical distance is not 0, then the sunshade is adjusted along the Y-axis based on the positive or negative values ​​of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, and vice versa; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, and vice versa.

[0021] In one embodiment, adjusting the light-shielding plate along the Y-axis based on the sign of the first vertical distance and the second vertical distance includes: if the first vertical distance is positive and the second vertical distance is negative, adjusting the light-shielding plate to the right along the Y-axis until either the first vertical distance or the second vertical distance is 0; if the first vertical distance is negative and the second vertical distance is positive, adjusting the light-shielding plate to the left along the Y-axis until either the first vertical distance or the second vertical distance is 0.

[0022] In one embodiment, adjusting the sunshade along the Y-axis based on the sign of the first vertical distance and the second vertical distance includes: if the signs of the first vertical distance and the second vertical distance are the same, then not adjusting the sunshade; or, adjusting the sunshade along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0023] In one embodiment, the side shading control rule includes: adjusting the vehicle's sunshade curtain along the X-axis and monitoring in real time whether the area to be shaded is completely blocked; when the area to be shaded is completely blocked, stopping the adjustment of the vehicle's sunshade curtain.

[0024] In one embodiment, the side sunshade control rule further includes: when the sunshade is adjusted to the maximum adjustable range, re-collecting whether there is a sunshade area at the side sunshade position; if so, adjusting the seat along the X-axis until the sunshade area is completely blocked; wherein, the X-axis is the vehicle's driving direction.

[0025] In one embodiment, the method further includes: determining the horizontal central axis of the face image based on the acquired face image; determining the position of the area to be shaded relative to the horizontal central axis based on the determined area to be shaded and the horizontal central axis of the face image; and adjusting the seat along the X-axis based on the position of the area to be shaded relative to the horizontal central axis until the area to be shaded is completely shaded.

[0026] In one embodiment, the seat is adjusted along the X-axis based on the position of the area to be shaded relative to the horizontal centerline until the area to be shaded is completely shaded. This includes: when the area to be shaded is above the horizontal centerline, adjusting the seat along the X-axis in the direction opposite to the vehicle's travel direction until the area to be shaded is completely shaded; and when the area to be shaded is below the horizontal centerline, adjusting the seat along the X-axis in the vehicle's travel direction until the area to be shaded is completely shaded.

[0027] In one embodiment, when the sun visor is adjusted to the target adjustment angle, the presence of a sun-shading area at the front sun-shading position is re-acquired. If it exists, the seat is adjusted along the Z-axis and / or along the X-axis, including: obtaining whether the sun-shading area at the re-acquired front sun-shading position is located below the sun-shading area covered by the sun visor; if so, the projection length of the sun-shading area at the front sun-shading position on the Z-axis is acquired, and the seat is adjusted upward along the Z-axis based on the projection length, wherein the seat adjustment height is not less than the projection length; and / or, the seat is adjusted along the X-axis in a direction opposite to the vehicle's driving direction until the sun-shading area no longer exists.

[0028] In one embodiment, adjusting the vehicle's sunshade device based on the area to be shaded and the position to be shaded until the area to be shaded is blocked includes: when the position to be shaded includes a side position and a front position, adjusting the sunshade curtain and seat based on the side sunshade control rules until the area to be shaded at the side position is blocked; after the area to be shaded at the side position is blocked, re-collecting the light sensitivity value of the current face image, determining the area to be shaded at the front position of the face image, and adjusting the sunshade panel and seat based on the front sunshade control rules until the area to be shaded at the front position is blocked.

[0029] On the other hand, a vehicle passenger-side intelligent sun protection system is provided, the system comprising:

[0030] An image acquisition unit is used to acquire facial images of the vehicle's front passenger.

[0031] A region determination unit is used to obtain the light sensitivity value of the face image based on the face image and determine the area of ​​the face image to be shaded.

[0032] An adjustment unit is used to adjust the vehicle's sunshade and seats based on the area to be shaded until the area to be shaded is blocked.

[0033] In another aspect, a car is provided, the car including the vehicle passenger intelligent sun protection system.

[0034] In another aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:

[0035] Collect facial images of the front passenger in the vehicle;

[0036] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0037] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0038] In another aspect, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0039] Collect facial images of the front passenger in the vehicle;

[0040] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0041] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0042] The aforementioned intelligent sun protection method, system, automobile, computer equipment, and storage medium for the passenger side of a vehicle include: acquiring a facial image of the passenger in the front seat; obtaining the light sensitivity value of the facial image based on the facial image to determine the area to be shaded; and adjusting the vehicle's sunshade device and seat based on the area to be shaded until the area is covered. The system adjusts the vehicle's sunshade device and seat in a coordinated manner based on the area to be shaded, thereby achieving sun protection, ensuring sunshade effectiveness, improving sunshade efficiency, and ultimately achieving sun protection.

[0043] In this system, by automatically controlling the vehicle's sunshade and seats to shield the sun-shading area, the problem of potential damage to the sunshade caused by manual adjustment by the front passenger can be solved. Furthermore, it reduces interference with the driver's safe driving caused by the front passenger adjusting the sunshade, thus ensuring driving safety. Additionally, by using the sunshade to shield the sun-shading area, the system also improves the comfort of the front passenger. Attached Figure Description

[0044] Figure 1 This is a flowchart illustrating a smart sun protection method for the passenger side of a vehicle in one embodiment.

[0045] Figure 2 This is a flowchart illustrating the frontal sunshade control rule steps in a vehicle passenger seat intelligent sun protection method in one embodiment.

[0046] Figure 3 This is a flowchart illustrating the side shading control rule steps in a vehicle passenger seat intelligent sun protection method in one embodiment;

[0047] Figure 4 This is a schematic diagram of the X-axis, Y-axis, and Z-axis directions in the intelligent sun protection method for the passenger side of a vehicle in another embodiment.

[0048] Figure 5 This is a structural block diagram of a vehicle passenger-side intelligent sun protection system in one embodiment;

[0049] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] Example 1

[0052] The intelligent sun protection method for the passenger side of the vehicle provided in this application, such as Figure 1 As shown, the method includes:

[0053] Collect facial images of the front passenger in the vehicle;

[0054] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0055] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0056] In one embodiment, acquiring a facial image of a vehicle's front passenger includes: in response to a vehicle front passenger smart sun protection trigger signal, identifying facial feature points according to an OMS recognition algorithm; wherein the vehicle front passenger smart sun protection trigger signal includes a vehicle front passenger smart sun protection activation request, and / or, the current light intensity is greater than a preset light intensity; determining the facial image of the vehicle front passenger based on the facial feature points; wherein the facial feature points include at least one of a nose, eyes, mouth, and ears. It should be understood that this application does not limit the specific value of the preset light intensity, and those skilled in the art can limit it according to the actual situation.

[0057] In one embodiment, determining the area to be shaded based on the light sensitivity value of the face image includes: acquiring coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value based on the acquired light sensitivity value of the face image; determining edge coordinate points from the coordinate points, wherein the edge coordinate points are the coordinate points with the longest straight-line distance from the preset coordinate origin; and drawing a circle with the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius and the preset coordinate origin as the center, and determining the face image area covered by the circle as the area to be shaded.

[0058] It should be understood that when determining the area of ​​the face image covered by the circle as the area to be shaded, there is a possibility that areas not exposed to sunlight (i.e., light sensitivity values ​​not greater than a preset light sensitivity value) may also be included in the area to be shaded. Therefore, in one embodiment, the method further includes: when adjusting the sunshade device and seat of the vehicle to shade the area to be shaded, detecting in real time whether there is an area to be shaded in the face image (i.e., detecting in real time whether there are coordinate points on the face image with light sensitivity values ​​greater than a preset light sensitivity value); when it is detected that there is no area to be shaded in the face image, the adjustment of the sunshade device and seat of the vehicle is stopped.

[0059] In one embodiment, the method further includes: when determining the area to be shaded in the face image, the method further includes: determining whether the light sensitivity value at the location of the facial feature point is greater than a preset light sensitivity value; when the light sensitivity value at the location of the facial feature point is greater than the preset light sensitivity value, then the facial feature point is determined to be the area to be shaded. For example, when the light sensitivity value at the eye location is detected to be greater than the preset light sensitivity value, then the eye is determined to be the area to be shaded; that is, in practical application scenarios, only key parts such as the eyes can be shaded, without having to shade areas of the entire face where the light sensitivity value is greater than the preset light sensitivity value.

[0060] In one embodiment, the method further includes: determining the angle between the vertical plane of the area to be shaded and the vertical plane of the vehicle window based on the area to be shaded; and determining the position to be shaded based on the angle, wherein the position to be shaded includes a frontal position and a side position. Specifically, in practical applications, the vertical plane of the vehicle window is the outer tangent plane of the vehicle window perpendicular to the ground.

[0061] To avoid the inability to obtain the angle between the vertical plane of the area to be shaded and the vertical plane of the vehicle window when the vehicle window is open, those skilled in the art can add an image acquisition unit to the vehicle to collect facial images of the passenger from various angles.

[0062] In one embodiment, the vehicle's sunshade device includes a sunshade curtain and a sunshade panel; adjusting the vehicle's sunshade device and seats based on the area to be shaded until the area to be shaded is blocked includes: when the area to be shaded includes a side area to be shaded, adjusting the sunshade curtain and seats according to side shading control rules until the area to be shaded at the side area to be shaded is blocked; when the area to be shaded includes a front area to be shaded, adjusting the sunshade panel and seats according to front shading control rules until the area to be shaded at the front area to be shaded is blocked.

[0063] In one embodiment, the front sunshade control rule includes: obtaining the highest and lowest coordinate points of the sunshade area at the front sunshade location, wherein the highest coordinate point is the coordinate point furthest from the vehicle's seat along the Z-axis direction, and the lowest coordinate point is the coordinate point closest to the vehicle's seat along the Z-axis direction; determining the area length of the sunshade area based on the highest and lowest coordinate points; projecting the hinge axis of the sun visor onto the plane where the sunshade area is located to obtain the actual vertical distance between the projection of the highest coordinate point and the hinge axis of the sun visor, and obtaining the width of the sun visor; inputting the area length, the actual vertical distance, and the width of the vehicle's sun visor into a preset trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor; rotating the sun visor along its hinge axis based on the target adjustment angle, and monitoring in real time whether the sunshade area is completely blocked, stopping the rotation of the sun visor when the sunshade area is completely blocked. Wherein, the Z-axis is a vertical direction perpendicular to the vehicle's direction of travel, such as... Figure 4 As shown.

[0064] In one embodiment, the pre-trained sunshade angle adjustment model includes:

[0065]

[0066] Where θ is the target adjustment angle of the sun visor determined based on the preset trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; and B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

[0067] In one embodiment, such as Figure 2 As shown, the front sunshade rule further includes: when the sun visor is adjusted to the target adjustment angle, re-collecting whether there is a sunshade area at the front sunshade position; if so, adjusting the seat along the Z-axis; wherein, the Z-axis is a vertical direction perpendicular to the vehicle's driving direction. That is, adjusting the seat along the Z-axis means adjusting the seat upwards or downwards based on the sunshade area.

[0068] In one embodiment, such as Figure 2 As shown, the front shading control rules further include: obtaining the leftmost and rightmost coordinate points of the shading area at the front shading position, and the leftmost and rightmost edge points of the sunshade; adjusting the sunshade along the Y-axis based on the first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and the second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located; wherein, the Y-axis is a horizontal direction parallel to the ground, such as... Figure 4 As shown. Adjusting the sunshade along the Y-axis direction, i.e., adjusting it to the left or right, is defined as adjusting towards the driver's side as left and adjusting towards the passenger's side as negative in practical applications.

[0069] In one embodiment, before adjusting the sunshade along the Y-axis based on a first vertical distance between the vertical plane of the leftmost coordinate point and the vertical plane of the leftmost edge point, and a second vertical distance between the vertical plane of the rightmost coordinate point and the vertical plane of the rightmost edge point, the method further includes: if the first vertical distance and / or the second vertical distance is 0, then the sunshade is not adjusted; if the first vertical distance and / or the second vertical distance is not 0, then the sunshade is adjusted along the Y-axis based on the positive or negative values ​​of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, and vice versa; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, and vice versa.

[0070] In one embodiment, adjusting the light-shielding plate along the Y-axis based on the sign of the first vertical distance and the second vertical distance includes: if the first vertical distance is positive and the second vertical distance is negative, adjusting the light-shielding plate to the right along the Y-axis until either the first vertical distance or the second vertical distance is 0; if the first vertical distance is negative and the second vertical distance is positive, adjusting the light-shielding plate to the left along the Y-axis until either the first vertical distance or the second vertical distance is 0.

[0071] In one embodiment, adjusting the sunshade along the Y-axis based on the sign of the first vertical distance and the second vertical distance includes: if the signs of the first vertical distance and the second vertical distance are the same, then not adjusting the sunshade; or, adjusting the sunshade along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0072] In one embodiment, such as Figure 3 As shown, the side sunshade control rules include: adjusting the vehicle's sunshade curtain along the X-axis and monitoring in real time whether the area to be shaded is completely blocked. Once the area to be shaded is completely blocked, the adjustment of the vehicle's sunshade curtain is stopped. Stopping the adjustment of the vehicle's sunshade curtain after the area to be shaded is completely blocked ensures that the area to be shaded is blocked, improving the comfort of the front passenger; on the other hand, it ensures that the front passenger can see the scenery outside the vehicle.

[0073] In one embodiment, the side sunshade control rule further includes: when the sunshade is adjusted to its maximum adjustable range, re-collecting whether there is a sunshade area at the side sunshade position; if so, adjusting the seat along the X-axis until the sunshade area is completely blocked; wherein, the X-axis is the vehicle's driving direction, such as... Figure 4 As shown.

[0074] In one embodiment, when the sunshade is adjusted to its maximum adjustable range, the presence of a sunshade area at the side sunshade position is re-acquired. If a sunshade area exists, the seat is adjusted along the X-axis until the sunshade area is completely covered. This includes: determining the horizontal centerline of the face image based on the acquired face image; determining the position of the sunshade area relative to the horizontal centerline based on the determined sunshade area and the horizontal centerline of the face image; and adjusting the seat along the X-axis based on the position of the sunshade area relative to the horizontal centerline until the sunshade area is completely covered.

[0075] In one embodiment, the seat is adjusted along the X-axis based on the position of the area to be shaded relative to the horizontal centerline until the area to be shaded is completely shaded. This includes: when the area to be shaded is above the horizontal centerline, adjusting the seat along the X-axis in the direction opposite to the vehicle's travel direction until the area to be shaded is completely shaded; and when the area to be shaded is below the horizontal centerline, adjusting the seat along the X-axis in the vehicle's travel direction until the area to be shaded is completely shaded.

[0076] In one embodiment, when the sun visor is adjusted to the target adjustment angle, the presence of a sun-shading area at the front sun-shading position is re-acquired. If a sun-shading area exists, the seat is adjusted along the Z-axis and / or along the X-axis. This includes: determining whether the sun-shading area at the re-acquired front sun-shading position is located below the sun-shading area obscured by the sun visor; if so, acquiring the projection length of the sun-shading area at the front sun-shading position on the Z-axis; adjusting the seat upwards along the Z-axis based on the projection length; wherein the seat adjustment height is not less than the projection length; and / or adjusting the seat along the X-axis in a direction opposite to the vehicle's driving direction until the sun-shading area no longer exists. It is important to understand that in real-world applications, the following situation is highly likely: the area to be shaded at the re-collected frontal sunshade position may be located to the left, right, or below the sunshade area already covered by the sun visor (in reality, the re-collected frontal sunshade area will not be above the sunshade area already covered by the sun visor, because the top of the sun visor is the roof, and the roof also effectively shades the sunshade area). Adjusting the seat along the Z-axis can only shade the lower sunshade area, so it is necessary to determine the specific location of the re-collected sunshade area.

[0077] In one embodiment, adjusting the vehicle's sunshade device based on the area to be shaded and the position to be shaded until the area to be shaded is blocked includes: when the position to be shaded includes a side position and a front position, adjusting the sunshade curtain and seat based on the side shading control rules until the area to be shaded at the side position is shaded; after the area to be shaded at the side position is shaded, re-collecting the light sensitivity value of the current face image to determine the area to be shaded at the front position of the face image, and adjusting the sunshade panel and seat based on the front shading control rules until the area to be shaded at the front position is shaded. The side position is shaded first because the adjustment paths of the sunshade curtain and the seat are fixed. Furthermore, in practical applications, when adjusting the sunshade curtains and seats to block the sunshade area on the side, it is possible to partially or even completely block the sunshade area on the front at the same time. This can reduce or even eliminate the need to adjust the sunshade and seats, thereby reducing workload to some extent.

[0078] The aforementioned intelligent sun protection method for the front passenger seat of a vehicle automatically and adaptively adjusts the sunshades and seats of multiple vehicles through coordinated control, ultimately achieving the beneficial effect of shielding the area to be shielded from the sun. On the one hand, it solves the problem of potential damage to the sunshades caused by manual adjustment by the front passenger in real-world situations; on the other hand, it reduces interference with the driver's safe driving caused by the front passenger adjusting the sunshades, ensuring driving safety; furthermore, by using the sunshades to shield the area to be shielded, it improves the comfort of the front passenger and provides effective sun protection.

[0079] It should be understood that, although Figures 1-3 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figures 1-3 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0080] Example 2

[0081] In one embodiment, such as Figure 5As shown, a vehicle passenger-side intelligent sun protection system is provided, including: an image acquisition unit, a region determination unit, and an adjustment unit, wherein:

[0082] An image acquisition unit is used to acquire facial images of the vehicle's front passenger.

[0083] A region determination unit is used to obtain the light sensitivity value of the face image based on the face image and determine the area of ​​the face image to be shaded.

[0084] An adjustment unit is used to adjust the vehicle's sunshade and seats based on the area to be shaded until the area to be shaded is blocked.

[0085] In one embodiment, the image acquisition unit includes a response module and a determination module; the response module is configured to identify facial feature points according to the OMS recognition algorithm in response to a vehicle passenger's smart sun protection trigger signal; wherein the vehicle passenger's smart sun protection trigger signal includes a vehicle passenger's smart sun protection activation request, and / or, the current light intensity is greater than a preset light intensity; the determination module is configured to determine the facial image of the vehicle passenger based on the facial feature points; wherein the facial feature points include at least one of a nose, eyes, mouth, and ears.

[0086] In one embodiment, the region determination unit is further configured to: obtain coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value based on the light sensitivity values ​​of the collected face image; determine edge coordinate points from the coordinate points, wherein the edge coordinate points are the coordinate points with the longest straight-line distance from the preset coordinate origin; and draw a circle with the preset coordinate origin as the center and the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius, thereby determining the face image area covered by the circle as the area to be shaded.

[0087] In one embodiment, the system further includes: a position determination unit for determining the angle between the vertical plane of the area to be shaded and the vertical plane of the vehicle window based on the area to be shaded; and determining the position to be shaded based on the angle, the position to be shaded including a front position to be shaded and a side position to be shaded.

[0088] In one embodiment, the adjustment unit is further configured to, when the sunshade location includes a side sunshade location, adjust the sunshade curtain and seat according to side sunshade control rules until the sunshade area of ​​the side sunshade location is blocked; and when the sunshade location includes a front sunshade location, adjust the sunshade panel and seat according to front sunshade control rules until the sunshade area of ​​the front sunshade location is blocked. The vehicle's sunshade device includes a sunshade panel and a sunshade curtain.

[0089] In one embodiment, the adjustment unit is further configured to obtain the highest and lowest coordinate points of the sun-shading area at the front sun-shading position, wherein the highest coordinate point is the coordinate point furthest from the vehicle's seat along the Z-axis direction of the sun-shading area, and the lowest coordinate point is the coordinate point closest to the vehicle's seat along the Z-axis direction of the sun-shading area; determine the length of the sun-shading area based on the highest and lowest coordinate points; project the hinge axis of the sun visor onto the plane where the sun-shading area is located to obtain the actual vertical distance between the projection of the highest coordinate point and the hinge axis of the sun visor, and obtain the width of the sun visor; input the length of the area, the actual vertical distance, and the width of the vehicle's sun visor into a preset trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor; based on the target adjustment angle, rotate the sun visor along the hinge axis of the sun visor, and monitor in real time whether the sun-shading area is completely blocked; stop rotating the sun visor when the sun-shading area is completely blocked. The pre-trained sunshade angle adjustment model includes:

[0090]

[0091] Where θ is the target adjustment angle of the sun visor determined based on the preset trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; and B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

[0092] In one embodiment, the adjustment unit is further configured to, when the sun visor is adjusted to the target adjustment angle, re-collect whether there is a sun-shading area at the front sun-shading position; if so, adjust the seat along the Z-axis; wherein the Z-axis is a vertical direction perpendicular to the vehicle's driving direction.

[0093] In one embodiment, the adjustment unit is further configured to obtain the leftmost and rightmost coordinate points of the sun-shading area at the front sun-shading position, and the leftmost and rightmost edge points of the sun visor; and adjust the sun visor along the Y-axis based on the first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and the second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located; wherein the Y-axis is a horizontal direction perpendicular to the vehicle's driving direction.

[0094] In one embodiment, the adjustment unit is further configured to: if the first vertical distance and / or the second vertical distance is 0, then not adjust the sunshade; if the first vertical distance and / or the second vertical distance is not 0, then adjust the sunshade along the Y-axis based on the sign of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, and vice versa; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, and vice versa.

[0095] In one embodiment, the adjustment unit is further configured to, if the first vertical distance is positive and the second vertical distance is negative, adjust the light-shielding plate to the right along the Y-axis until the first vertical distance or the second vertical distance is 0; if the first vertical distance is negative and the second vertical distance is positive, adjust the light-shielding plate to the left along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0096] In one embodiment, the adjustment unit is further configured to either not adjust the sun visor if the first vertical distance and the second vertical distance have the same sign, or adjust the sun visor along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0097] In one embodiment, the adjustment unit is further configured to adjust the sunshade of the vehicle along the X-axis and monitor in real time whether the area to be shaded is completely blocked. When the area to be shaded is completely blocked, the adjustment of the sunshade of the vehicle is stopped.

[0098] In one embodiment, the adjustment unit is further configured to, when the sunshade is adjusted to the maximum adjustable range, re-collect whether there is a sunshade area at the side sunshade position; if so, adjust the seat along the X-axis until the sunshade area is completely covered; wherein, the X-axis is the vehicle's driving direction.

[0099] In one embodiment, the determining module is further configured to: determine the horizontal central axis of the face image based on the acquired face image; determine the position of the area to be shaded relative to the horizontal central axis based on the determined area to be shaded and the horizontal central axis of the face image; and adjust the seat along the X-axis based on the position of the area to be shaded relative to the horizontal central axis until the area to be shaded is completely shaded.

[0100] In one embodiment, the adjustment unit is further configured to adjust the seat along the X-axis in the direction opposite to the vehicle's driving direction when the area to be shaded is above the horizontal central axis, until the area to be shaded is completely shaded; and to adjust the seat along the X-axis in the vehicle's driving direction when the area to be shaded is below the horizontal central axis, until the area to be shaded is completely shaded.

[0101] In one embodiment, the adjustment unit is further configured to determine whether the sun-shading area at the re-collected front sun-shading position is located below the sun-shading area blocked by the sun visor; if so, to collect the projection length of the sun-shading area at the front sun-shading position on the Z-axis; to adjust the seat upward along the Z-axis based on the projection length, wherein the seat adjustment height is not less than the projection length; and / or to adjust the seat along the X-axis in a direction opposite to the vehicle's driving direction until the sun-shading area no longer exists.

[0102] In one embodiment, the adjustment unit is further configured to, when the sunshade position includes a side sunshade position and a front sunshade position, adjust the blackout curtain and seat according to the side sunshade control rules until the sunshade area of ​​the side sunshade position is blocked; after the sunshade area of ​​the side sunshade position is blocked, re-collect the light sensitivity value of the current face image, determine the sunshade area of ​​the front sunshade position of the face image, and adjust the blackout panel and seat according to the front sunshade control rules until the sunshade area of ​​the front sunshade position is blocked.

[0103] Specific limitations regarding the vehicle passenger-side intelligent sun protection system can be found in the above description of the vehicle passenger-side intelligent sun protection method, and will not be repeated here. Each module in the aforementioned vehicle passenger-side intelligent sun protection system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0104] Example 3

[0105] In one embodiment, a vehicle is provided that includes a vehicle passenger-side intelligent sun protection system as described in Embodiment 2.

[0106] Example 4

[0107] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a smart sun protection method for the passenger side of a vehicle. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0108] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0109] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:

[0110] Collect facial images of the front passenger in the vehicle;

[0111] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0112] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0113] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0114] In response to a smart sun protection trigger signal for the passenger seat, facial feature points are identified according to the OMS recognition algorithm; wherein, the smart sun protection trigger signal for the passenger seat includes a smart sun protection activation request for the passenger seat, and / or, the current light intensity is greater than a preset light intensity; the facial image of the passenger seat occupant is determined based on the facial feature points; wherein, the facial feature points include at least one of the nose, eyes, mouth, and ears.

[0115] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0116] Based on the light sensitivity value of the collected face image, obtain the coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value; determine edge coordinate points from the coordinate points, the edge coordinate points being the coordinate points with the longest straight-line distance from the preset coordinate origin; draw a circle with the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius and the preset coordinate origin as the center, and determine the face image area covered by the circle as the area to be shaded.

[0117] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0118] The angle between the vertical plane containing the area to be shaded and the vertical plane containing the vehicle window is determined based on the area to be shaded; the position to be shaded is determined based on the angle, including the front position to be shaded and the side position to be shaded.

[0119] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0120] When the sunshade location includes a side sunshade location, adjust the sunshade curtain and seat according to the side sunshade control rules until the sunshade area of ​​the side sunshade location is blocked; when the sunshade location includes a front sunshade location, adjust the sunshade panel and seat according to the front sunshade control rules until the sunshade area of ​​the front sunshade location is blocked.

[0121] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0122] Obtain the highest and lowest coordinates of the sun-shading area at the desired sun-shading position. The highest coordinate is the point furthest from the vehicle's seat along the Z-axis, and the lowest coordinate is the point closest to the vehicle's seat along the Z-axis. Based on the highest and lowest coordinates, determine the length of the sun-shading area. Project the hinge axis of the sun visor onto the plane containing the sun-shading area to obtain the actual vertical distance between the highest coordinate and the projection of the hinge axis, and obtain the width of the sun visor. Input the area length, the actual vertical distance, and the width of the sun visor into a pre-trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor. Based on the target adjustment angle, rotate the sun visor along its hinge axis, and monitor in real time whether the sun-shading area is completely blocked. Stop rotating the sun visor when the sun-shading area is completely blocked. The pre-trained sun visor angle adjustment model includes:

[0123]

[0124] Where θ is the target adjustment angle of the sun visor determined based on the preset trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; and B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

[0125] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0126] Once the sun visor is adjusted to the target adjustment angle, the presence of a sun-shading area at the front sun-shading position is re-acquired. If such an area exists, the seat is adjusted along the Z-axis, where the Z-axis is a vertical direction perpendicular to the vehicle's driving direction; and / or, the seat is adjusted along the X-axis in the direction opposite to the vehicle's driving direction, until the sun-shading area no longer exists.

[0127] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0128] Obtain the leftmost and rightmost coordinate points of the area to be shaded at the front sunshade position, and the leftmost and rightmost edge points of the sun visor; based on the first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and the second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located, adjust the sun visor along the Y-axis; wherein, the Y-axis is a horizontal direction perpendicular to the vehicle's driving direction.

[0129] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0130] If the first vertical distance and / or the second vertical distance is 0, the sunshade is not adjusted; if the first vertical distance and / or the second vertical distance is not 0, the sunshade is adjusted along the Y-axis based on the sign of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, otherwise the first vertical distance is defined as negative; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, otherwise the second vertical distance is defined as negative.

[0131] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0132] If the first vertical distance is positive and the second vertical distance is negative, then adjust the light-shielding plate to the right along the Y-axis until either the first vertical distance or the second vertical distance is 0; if the first vertical distance is negative and the second vertical distance is positive, then adjust the light-shielding plate to the left along the Y-axis until either the first vertical distance or the second vertical distance is 0.

[0133] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0134] If the first vertical distance and the second vertical distance have the same sign, then the sun visor is not adjusted, or the sun visor is adjusted along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0135] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0136] Adjust the vehicle's sunshade along the X-axis and monitor in real time whether the area to be shaded is completely blocked. Stop adjusting the vehicle's sunshade when the area to be shaded is completely blocked.

[0137] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the sunshade is adjusted to the maximum adjustable range, it re-collects whether there is a sunshade area at the side sunshade position; if so, it adjusts the seat along the X-axis until the sunshade area is completely blocked; wherein, the X-axis is the vehicle's driving direction.

[0138] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining the horizontal central axis of the face image based on the acquired face image; determining the position of the area to be shaded relative to the horizontal central axis based on the determined area to be shaded and the horizontal central axis of the face image; and adjusting the seat along the X-axis based on the position of the area to be shaded relative to the horizontal central axis until the area to be shaded is completely shaded.

[0139] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the area to be shaded is above the horizontal central axis, the seat is adjusted along the X-axis in the direction opposite to the vehicle's driving direction until the area to be shaded is completely shaded; when the area to be shaded is below the horizontal central axis, the seat is adjusted along the X-axis in the vehicle's driving direction until the area to be shaded is completely shaded.

[0140] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0141] If the area to be shaded at the re-collected frontal sunshade position is located below the area to be shaded that is already covered by the sun visor, then collect the projected length of the area to be shaded at the frontal sunshade position along the Z-axis; adjust the seat upwards along the Z-axis based on the projected length; wherein the adjusted height of the seat is not less than the projected length.

[0142] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0143] When the sunshade location includes both a side sunshade location and a front sunshade location, based on the side sunshade control rules, the blackout curtain and seat are adjusted until the sunshade area of ​​the side sunshade location is blocked; after the sunshade area of ​​the side sunshade location is blocked, the light sensitivity value of the current face image is re-acquired to determine the sunshade area of ​​the front sunshade location of the face image, and based on the front sunshade control rules, the blackout panel and seat are adjusted until the sunshade area of ​​the front sunshade location is blocked.

[0144] Example 5

[0145] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0146] Collect facial images of the front passenger in the vehicle;

[0147] Based on the face image, obtain the light sensitivity value of the face image to determine the area of ​​the face image to be shaded;

[0148] Adjust the vehicle's sunshade and seats based on the area to be shaded until the area is covered.

[0149] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0150] In response to a smart sun protection trigger signal for the passenger seat, facial feature points are identified according to the OMS recognition algorithm; wherein, the smart sun protection trigger signal for the passenger seat includes a smart sun protection activation request for the passenger seat, and / or, the current light intensity is greater than a preset light intensity; the facial image of the passenger seat occupant is determined based on the facial feature points; wherein, the facial feature points include at least one of the nose, eyes, mouth, and ears.

[0151] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0152] Based on the light sensitivity value of the collected face image, obtain the coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value; determine edge coordinate points from the coordinate points, the edge coordinate points being the coordinate points with the longest straight-line distance from the preset coordinate origin; draw a circle with the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius and the preset coordinate origin as the center, and determine the face image area covered by the circle as the area to be shaded.

[0153] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0154] The angle between the vertical plane containing the area to be shaded and the vertical plane containing the vehicle window is determined based on the area to be shaded; the position to be shaded is determined based on the angle, including the front position to be shaded and the side position to be shaded.

[0155] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0156] When the sunshade location includes a side sunshade location, adjust the sunshade curtain and seat according to the side sunshade control rules until the sunshade area of ​​the side sunshade location is blocked; when the sunshade location includes a front sunshade location, adjust the sunshade panel and seat according to the front sunshade control rules until the sunshade area of ​​the front sunshade location is blocked.

[0157] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0158] Obtain the highest and lowest coordinates of the sun-shading area at the desired sun-shading position. The highest coordinate is the point furthest from the vehicle's seat along the Z-axis, and the lowest coordinate is the point closest to the vehicle's seat along the Z-axis. Based on the highest and lowest coordinates, determine the length of the sun-shading area. Project the hinge axis of the sun visor onto the plane containing the sun-shading area to obtain the actual vertical distance between the highest coordinate and the projection of the hinge axis, and obtain the width of the sun visor. Input the area length, the actual vertical distance, and the width of the sun visor into a pre-trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor. Based on the target adjustment angle, rotate the sun visor along its hinge axis, and monitor in real time whether the sun-shading area is completely blocked. Stop rotating the sun visor when the sun-shading area is completely blocked. The pre-trained sun visor angle adjustment model includes:

[0159]

[0160] Where θ is the target adjustment angle of the sun visor determined based on the preset trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; and B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

[0161] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0162] Once the sun visor is adjusted to the target adjustment angle, the system re-collects whether there is a sun-shading area at the front sun-shading position. If so, the seat is adjusted along the Z-axis; where the Z-axis is the vertical direction perpendicular to the vehicle's driving direction.

[0163] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0164] Obtain the leftmost and rightmost coordinate points of the area to be shaded at the front sunshade position, and the leftmost and rightmost edge points of the sun visor; based on the first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and the second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located, adjust the sun visor along the Y-axis; wherein, the Y-axis is a horizontal direction perpendicular to the vehicle's driving direction.

[0165] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0166] If the first vertical distance and / or the second vertical distance is 0, the sunshade is not adjusted; if the first vertical distance and / or the second vertical distance is not 0, the sunshade is adjusted along the Y-axis based on the sign of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, otherwise the first vertical distance is defined as negative; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, otherwise the second vertical distance is defined as negative.

[0167] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0168] If the first vertical distance is positive and the second vertical distance is negative, then adjust the light-shielding plate to the right along the Y-axis until either the first vertical distance or the second vertical distance is 0; if the first vertical distance is negative and the second vertical distance is positive, then adjust the light-shielding plate to the left along the Y-axis until either the first vertical distance or the second vertical distance is 0.

[0169] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0170] If the first vertical distance and the second vertical distance have the same sign, then the sun visor is not adjusted, or the sun visor is adjusted along the Y-axis until the first vertical distance or the second vertical distance is 0.

[0171] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0172] Adjust the vehicle's sunshade along the X-axis and monitor in real time whether the area to be shaded is completely blocked. Stop adjusting the vehicle's sunshade when the area to be shaded is completely blocked.

[0173] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0174] Once the sunshade is adjusted to its maximum adjustable range, the system re-detects whether there is a sunshade area at the side sunshade position. If so, the seat is adjusted along the X-axis until the sunshade area is completely blocked; where the X-axis is the vehicle's driving direction.

[0175] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0176] Based on the acquired face image, the horizontal central axis of the face image is determined; based on the determined area to be shaded and the horizontal central axis of the face image, the position of the area to be shaded relative to the horizontal central axis is determined; based on the position of the area to be shaded relative to the horizontal central axis, the seat is adjusted along the X-axis until the area to be shaded is completely blocked.

[0177] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0178] When the area to be shaded is above the horizontal centerline, the seat is adjusted along the X-axis in the opposite direction to the vehicle's travel direction until the area to be shaded is completely shaded; when the area to be shaded is below the horizontal centerline, the seat is adjusted along the X-axis in the vehicle's travel direction until the area to be shaded is completely shaded.

[0179] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0180] If the area to be shaded at the re-collected frontal sunshade position is located below the area to be shaded that is already covered by the sun visor, then collect the projected length of the area to be shaded at the frontal sunshade position on the Z-axis; adjust the seat upwards along the Z-axis based on the projected length, wherein the seat adjustment height is not less than the projected length; and / or adjust the seat along the X-axis in the direction opposite to the vehicle's driving direction until the area to be shaded no longer exists.

[0181] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0182] When the sunshade location includes both a side sunshade location and a front sunshade location, based on the side sunshade control rules, the blackout curtain and seat are adjusted until the sunshade area of ​​the side sunshade location is blocked; after the sunshade area of ​​the side sunshade location is blocked, the light sensitivity value of the current face image is re-acquired to determine the sunshade area of ​​the front sunshade location of the face image, and based on the front sunshade control rules, the blackout panel and seat are adjusted until the sunshade area of ​​the front sunshade location is blocked.

[0183] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAM bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0184] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0185] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for intelligent sun protection for the passenger side of a vehicle, characterized in that, The method includes: In response to the vehicle passenger's intelligent sun protection trigger signal, facial feature points are identified according to the OMS recognition algorithm, and a facial image of the vehicle passenger is acquired based on the facial feature points; wherein, the vehicle passenger's intelligent sun protection trigger signal includes a vehicle passenger's intelligent sun protection start request, and / or, the current light intensity is greater than the preset light intensity; Based on the light sensitivity value of the collected face image, obtain the coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value; determine edge coordinate points from the coordinate points, the edge coordinate points being the coordinate points with the longest straight-line distance from the preset coordinate origin; draw a circle with the straight-line distance between the edge coordinate points and the preset coordinate origin as the radius and the preset coordinate origin as the center, and determine the face image area covered by the circle as the area to be shaded; Based on the area to be shaded, determine the angle between the vertical plane of the area to be shaded and the vertical plane of the vehicle window; based on the angle, determine the position to be shaded, which includes a front position to be shaded and a side position to be shaded. Adjust the vehicle's sunshade and seats based on the location to be shaded until the area to be shaded is covered.

2. The intelligent sun protection method for the passenger side of a vehicle according to claim 1, characterized in that, The vehicle's sunshade device includes a sunshade curtain and a sun visor; adjusting the vehicle's sunshade device and seats based on the area to be shaded until the area to be shaded is blocked includes: When the sunshade location includes a side sunshade location, adjust the sunshade curtain and seat according to the side sunshade control rules until the sunshade area of ​​the side sunshade location is blocked. When the sunshade location includes the front sunshade location, the sunshade and seat are adjusted according to the front sunshade control rules until the sunshade area of ​​the front sunshade location is blocked.

3. The intelligent sun protection method for the passenger side of a vehicle according to claim 2, characterized in that, The frontal shading control rules include: Obtain the highest and lowest coordinates of the sunshade area at the front sunshade position. The highest coordinate is the coordinate point of the sunshade area that is farthest from the vehicle's seat along the Z-axis direction, and the lowest coordinate is the coordinate point of the sunshade area that is closest to the vehicle's seat along the Z-axis direction. The Z-axis is the vertical direction perpendicular to the vehicle's driving direction. Based on the highest and lowest coordinate points, determine the length of the area to be shaded; Project the hinge axis of the sunshade onto the plane of the area to be shaded to obtain the actual vertical distance between the highest coordinate point and the projection of the hinge axis of the sunshade, and obtain the width of the sunshade. The region length, the actual vertical distance, and the width of the vehicle's sun visor template are input into a pre-trained sun visor angle adjustment model to determine the target adjustment angle of the sun visor. Adjust the angle based on the target, rotate the sunshade along the hinge axis, and monitor in real time whether the area to be shaded is completely blocked. When the area to be shaded is completely blocked, stop rotating the sunshade.

4. The intelligent sun protection method for the passenger side of a vehicle according to claim 3, characterized in that, The pre-trained sun visor angle adjustment model includes: ; in, The target adjustment angle of the sun visor is determined based on a pre-trained sun visor angle adjustment model; A is the region length; C is the width of the sun visor; B is the actual vertical distance between the plane where the highest coordinate point is located and the plane where the hinge axis of the sun visor is located, determined based on the highest coordinate point.

5. The intelligent sun protection method for the passenger side of a vehicle according to claim 3, characterized in that, The frontal shading control rules also include: Once the sun visor is adjusted to the target adjustment angle, the system re-collects whether there is a sun-shading area at the front sun-shading position. If so, the seat is adjusted along the Z-axis and / or along the X-axis; where the X-axis is the vehicle's driving direction.

6. The intelligent sun protection method for the passenger side of a vehicle according to any one of claims 3, characterized in that, The frontal shading control rules also include: Obtain the leftmost and rightmost coordinates of the area to be shaded at the front sunshade position, and the leftmost and rightmost edge points of the sunshade. Based on the first vertical distance between the vertical plane where the leftmost coordinate point is located and the vertical plane where the leftmost edge point is located, and the second vertical distance between the vertical plane where the rightmost coordinate point is located and the vertical plane where the rightmost edge point is located, the sun visor is adjusted along the Y-axis; wherein, the Y-axis is a horizontal direction perpendicular to the vehicle's driving direction.

7. The intelligent sun protection method for the passenger side of a vehicle according to claim 6, characterized in that, Based on the first vertical distance between the vertical plane containing the leftmost coordinate point and the vertical plane containing the leftmost edge point, and the second vertical distance between the vertical plane containing the rightmost coordinate point and the vertical plane containing the rightmost edge point, before adjusting the sun visor along the Y-axis, the method further includes: If the first vertical distance and / or the second vertical distance is 0, then the sun visor is not adjusted; If the first vertical distance and / or the second vertical distance are not 0, the sun visor is adjusted along the Y-axis based on the sign of the first vertical distance and the second vertical distance; wherein, when the leftmost coordinate point is located to the right of the leftmost edge point, the first vertical distance is defined as positive, and vice versa; when the rightmost coordinate point is located to the left of the rightmost edge point, the second vertical distance is defined as positive, and vice versa.

8. The intelligent sun protection method for the passenger side of a vehicle according to claim 7, characterized in that, Adjusting the sunshade along the Y-axis based on the signs of the first and second vertical distances includes: If the first vertical distance is positive and the second vertical distance is negative, then adjust the sunshade to the right along the Y-axis until either the first vertical distance or the second vertical distance is 0. If the first vertical distance is negative and the second vertical distance is positive, then adjust the sunshade to the left along the Y-axis until either the first vertical distance or the second vertical distance is 0.

9. The intelligent sun protection method for the passenger side of a vehicle according to claim 2, characterized in that, The side shading control rules include: Adjust the vehicle's sunshade along the X-axis and monitor in real time whether the area to be shaded is completely blocked. Stop adjusting the vehicle's sunshade when the area to be shaded is completely blocked.

10. The intelligent sun protection method for the passenger side of a vehicle according to claim 9, characterized in that, The side shading control rules also include: Once the sunshade is adjusted to its maximum adjustable range, the system re-detects whether there is a sunshade area at the side sunshade position. If so, the seat is adjusted along the X-axis until the sunshade area is completely blocked; where the X-axis is the vehicle's driving direction.

11. The intelligent sun protection method for the passenger side of a vehicle according to claim 10, characterized in that, Once the sunshade is adjusted to its maximum adjustable range, the system re-detects whether there is a sun-shading area at the side sun-shading position. If so, the seat is adjusted along the X-axis until the sun-shading area is completely blocked, including: Based on the acquired face image, determine the horizontal midline of the face image; Based on the determined area to be shaded and the horizontal central axis of the face image, the position of the area to be shaded relative to the horizontal central axis is determined; Based on the position of the area to be shaded relative to the horizontal central axis, adjust the seat along the X-axis until the area to be shaded is completely blocked.

12. The intelligent sun protection method for the passenger side of a vehicle according to claim 2, characterized in that, Adjusting the vehicle's sunshade device based on the desired sunshade location until the desired sunshade area is blocked includes: When the sunshade position includes a side sunshade position and a front sunshade position, the blackout curtain and seat are adjusted according to the side sunshade control rules until the sunshade area of ​​the side sunshade position is blocked. After the sunshade area at the side position is blocked, the light sensitivity value of the current face image is re-acquired to determine the sunshade area at the front position of the face image. Based on the front sunshade control rules, the sun visor and seat are adjusted until the sunshade area at the front position is blocked.

13. A vehicle passenger-side intelligent sun protection system, characterized in that, The system includes: An image acquisition unit is configured to, in response to a vehicle passenger-side intelligent sun protection trigger signal, identify facial feature points according to an OMS recognition algorithm and acquire a facial image of the vehicle passenger based on the facial feature points; wherein, the vehicle passenger-side intelligent sun protection trigger signal includes a vehicle passenger-side intelligent sun protection activation request, and / or, the current light intensity is greater than a preset light intensity; a region determination unit is configured to, based on the light sensitivity value of the acquired facial image, obtain coordinate points corresponding to light sensitivity values ​​greater than a preset light sensitivity value; and determine edge coordinate points from the coordinate points, wherein the edge coordinate points are located at a distance from a preset coordinate origin. The coordinate point with the furthest line distance; a circle is drawn with the linear distance between the edge coordinate point and the preset coordinate origin as the radius and the preset coordinate origin as the center, and the face image area covered by the circle is determined as the area to be shaded; the angle between the vertical plane where the area to be shaded is located and the vertical plane where the vehicle window is located is determined based on the area to be shaded; the position to be shaded is determined based on the angle, and the position to be shaded includes the front position to be shaded and the side position to be shaded; an adjustment unit is used to adjust the vehicle's sunshade device and seat based on the position to be shaded until the area to be shaded is blocked.

14. A car, characterized in that, The vehicle is equipped with the intelligent sun protection system for the passenger side as described in claim 13.

15. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 12.

16. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Intelligent vehicle sunshade curtain device

    CN107487161A

  • Intelligent sun shading device for automobiles and control method of intelligent sun shading device

    CN109910567A

  • Shading system for vehicle

    JP2004352182A