CN118254546A - Anti-glare method and device for vehicle, vehicle and storage medium - Google Patents

Anti-glare method and device for vehicle, vehicle and storage medium Download PDF

Info

Publication number
CN118254546A
CN118254546A CN202410515653.7A CN202410515653A CN118254546A CN 118254546 A CN118254546 A CN 118254546A CN 202410515653 A CN202410515653 A CN 202410515653A CN 118254546 A CN118254546 A CN 118254546A
Authority
CN
China
Prior art keywords
driver
intensity level
vehicle
current
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410515653.7A
Other languages
Chinese (zh)
Inventor
陈苏敏
常守亮
周棋
付建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Blue Automobile Nanjing Research Institute Co ltd
Original Assignee
Shenzhen Blue Automobile Nanjing Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Blue Automobile Nanjing Research Institute Co ltd filed Critical Shenzhen Blue Automobile Nanjing Research Institute Co ltd
Priority to CN202410515653.7A priority Critical patent/CN118254546A/en
Publication of CN118254546A publication Critical patent/CN118254546A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60JWINDOWS, WINDSCREENS, NON-FIXED ROOFS, DOORS, OR SIMILAR DEVICES FOR VEHICLES; REMOVABLE EXTERNAL PROTECTIVE COVERINGS SPECIALLY ADAPTED FOR VEHICLES
    • B60J3/00Antiglare equipment associated with windows or windscreens; Sun visors for vehicles
    • B60J3/04Antiglare equipment associated with windows or windscreens; Sun visors for vehicles adjustable in transparency

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Eye Examination Apparatus (AREA)

Abstract

The application relates to an anti-dazzle method and device for a vehicle, the vehicle and a storage medium, wherein the method comprises the following steps: collecting multi-frame image data of a driver, and identifying the current light intensity level of the driver and the sight focus of the driver according to the multi-frame image data; judging whether the intensity level of the current light is larger than a preset intensity level or not; and under the condition that the current light intensity level is greater than the preset intensity level, acquiring the current light source type around the vehicle, and executing corresponding color changing action on the target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level. According to the embodiment of the application, the vehicle can be controlled to execute corresponding color-changing actions according to the actual light intensity level, the light source type and the sight focus of the driver, the effectiveness of the anti-dazzling actions is ensured, and the color-changing control is only carried out on the target area, so that the influence on the environment in the vehicle is small, and the driving experience of the driver and other passengers in the vehicle is improved.

Description

Anti-glare method and device for vehicle, vehicle and storage medium
Technical Field
The application relates to the technical field of vehicle safety, in particular to an anti-dazzling method and device for a vehicle, the vehicle and a storage medium.
Background
In daily driving, strong light and high beam are one of the main factors influencing the driving safety of a driver, and in the daytime, the strong light and the high beam can possibly cause the blocking of the visual field of the driver, so that the potential safety hazard of the driver is increased. Aiming at the rear high beam, the new energy vehicle is basically popularized with an automatic anti-glare endoscope and a rearview mirror.
In the related art, the application number is: 201810955087.6 relates to the technical field of anti-dazzle, in particular to an anti-dazzle system and an automobile. Wherein, anti-dazzling system includes: the device comprises a transparent color-changing film, an optical device, a first light intensity detection device and a control device, wherein the control device is respectively connected with the optical device and the first light intensity detection device in a signal mode, the first light intensity detection device is used for detecting the light intensity of the outer side of an automobile and feeding back light intensity information to the control device, the control device receives the light intensity information fed back by the first light intensity detection device, when the light intensity information exceeds a first light intensity threshold value, the control device controls the optical device to start, and ultraviolet light emitted by the optical device irradiates the transparent color-changing film so that the color depth of the transparent color-changing film is increased. The ultraviolet light emitted by the optical device is used for irradiating the transparent color-changing film in the scheme, so that the color of the transparent color-changing film deepens, the light transmittance of the windshield is changed, the anti-dazzle effect is achieved, the ultraviolet light emitting device is possibly harmful to a human body, the application is cautious, the color-changing degree is difficult to be consistent by irradiating the transparent color-changing film through an ultraviolet LED lamp, and the experience of a driver is possibly lost.
The application number is: 201810251894.X, a control method and a vehicle. Wherein the anti-glare device comprises: the device comprises a sensing module, a driving module and an electric control color-changing film; the sensing module is used for acquiring state information when the vehicle runs; the driving module is used for generating a driving signal of the electric control color-changing film according to the state information; the electronic control color-changing film is arranged on a front windshield of the vehicle and used for forming a color-changing area according to the driving signal, and the color-changing area is used for changing the transmittance of outside light. According to the scheme, the electric control color-changing film is arranged on the front windshield, and the transmittance of the electric control color-changing film to external light is changed by changing the color of the electric control color-changing film, so that the sight of a driver is not interfered by the external light, and the anti-dazzle effect is achieved. The method for controlling the color-changing area is more focused on analysis under special conditions of a bidirectional lane and an opposite vehicle, is not suitable for the conditions of daytime sun strong light and bidirectional single-lane opposite vehicle meeting high beam strong light, and provides no specific scheme for judging the color-changing area according to the sensing module and the control driving module.
In summary, in the related art, the perception of the light intensity needs to be achieved through the photoresistor, however, the actual driving environment is complex, the reflection of sunlight on the ground and the front engine cover of the automobile in daytime, the illumination of other illumination lamps at night and the like all cause the difference of the light intensity at each point, the deviation between the position of the photoresistor and the actual projection position of the line of sight of the driver easily causes that the front windshield after actual color change cannot achieve the effective anti-dazzle effect, and the improvement is needed.
Disclosure of Invention
The application provides an anti-dazzle method and device for a vehicle, the vehicle and a storage medium, and aims to solve the technical problems that in the related art, the light intensity is sensed by using a photoresistor, and the actual light sensing intensity of a driver is difficult to accurately obtain, so that effective anti-dazzle measures are difficult to provide.
An embodiment of the first aspect of the present application provides an anti-glare method for a vehicle, a front windshield of the vehicle being provided with an electrochromic film, wherein the method comprises the steps of: collecting multi-frame image data of a driver, and identifying the current light intensity level of the driver and the sight focus of the driver according to the multi-frame image data; judging whether the intensity level of the current light is greater than a preset intensity level or not; and under the condition that the current light intensity level is larger than the preset intensity level, acquiring the current light source type around the vehicle, and executing corresponding color changing action in a target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level.
According to the technical means, the embodiment of the application can control the vehicle to execute corresponding color changing actions according to the actual light intensity level, the light source type and the sight focus of the driver, ensure the effectiveness of anti-dazzling actions, only control the color changing of the target area, have less influence on the environment in the vehicle and are beneficial to improving the driving experience of the driver and other passengers in the vehicle.
Optionally, in one embodiment of the present application, further includes: acquiring a current color change area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level; calculating the contact ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the contact ratio is smaller than a first preset threshold value, so that the contact ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
According to the technical means, whether the sight line of the driver deviates or not can be judged according to the current color-changing area and the target area, so that the focus of the sight line of the driver can be always kept at the central position of the color-changing area by adjusting the current color-changing area.
Optionally, in one embodiment of the present application, after identifying the current light intensity level received by the driver and the focus of the line of sight of the driver according to the multi-frame image data, the method includes: projecting the sight focus to the front windshield to obtain a front focus of the driver; and obtaining the target area based on the front view focus.
According to the technical means, the color-changing target area can be determined according to the sight line focus, so that the influence on the environment in the vehicle is reduced.
Optionally, in one embodiment of the present application, the identifying the current light intensity level of the driver according to the multi-frame image data includes: extracting an eye feature of the driver from each frame of image data; judging whether the eye characteristics in each frame of image data meet a preset integrity condition one by one, deleting all image data which do not meet the preset integrity condition to obtain multi-frame complete image data of the driver, and obtaining the sight focus of the driver and pupil change data of the driver by utilizing the multi-frame complete image data.
According to the technical means, the embodiment of the application can screen out the image data which does not meet the preset integrity condition so as to improve the accuracy of the subsequent received light intensity level judgment.
Optionally, in one embodiment of the present application, the identifying the current light intensity level of the driver according to the multi-frame image data further includes: sequencing the multi-frame complete image data according to the acquisition time to obtain a sequencing result; pupil size data in each frame of complete image data are obtained, and the pupil change rate of the driver is obtained by combining the sequencing result; and calculating the current light intensity level according to the pupil change rate.
According to the technical means, the embodiment of the application can obtain the current light intensity level of the driver according to the pupil size data in the image data, so that accurate perception of the light intensity is realized.
Optionally, in one embodiment of the present application, further includes: receiving a prohibition adjustment instruction of the driver to prohibit the vehicle from executing the color change action of the front windshield under the prohibition adjustment instruction; and/or receiving an adjustment opening instruction of the driver so as to allow the vehicle to execute the color change action of the front windshield under the adjustment opening instruction.
According to the technical means, whether the color is to be changed or not can be freely selected according to the control instruction.
An embodiment of the second aspect of the present application provides an anti-glare device for a vehicle, a front windshield of the vehicle being provided with an electrochromic film, wherein the device includes: the acquisition module is used for acquiring multi-frame image data of a driver and identifying the current light intensity level of the driver and the sight focus of the driver according to the multi-frame image data; the judging module is used for judging whether the current intensity level of the light is greater than a preset intensity level or not; and the color changing module is used for acquiring the current light source type around the vehicle under the condition that the current light intensity level is greater than the preset intensity level, and executing corresponding color changing action in the target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level.
Optionally, in one embodiment of the present application, further includes: the first acquisition module is used for acquiring the current color-changing area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level; the adjustment module is used for calculating the contact ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the contact ratio is smaller than a first preset threshold value, so that the contact ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
Optionally, in one embodiment of the present application, the method includes: the projection module is used for projecting the sight focus to the front windshield to obtain the front focus of the driver; and the second acquisition module is used for acquiring the target area based on the front view focus.
Optionally, in one embodiment of the present application, the acquisition module includes: an extraction unit configured to extract an eye feature of the driver from each frame of image data; the judging unit is used for judging whether the eye characteristics in each frame of image data meet the preset integrity condition one by one, deleting all image data which do not meet the preset integrity condition to obtain multi-frame complete image data of the driver, and obtaining the sight focus of the driver and pupil change data of the driver by utilizing the multi-frame complete image data.
Optionally, in one embodiment of the present application, the acquisition module further includes: the sequencing unit is used for sequencing the multi-frame complete image data according to the acquisition time to obtain a sequencing result; the acquisition unit is used for acquiring pupil size data in each frame of complete image data and obtaining the pupil change rate of the driver by combining the sequencing result; and the calculating unit is used for calculating the current light intensity level according to the pupil change rate.
Optionally, in one embodiment of the present application, further includes: the first receiving module is used for receiving an inhibition regulation command of the driver so as to inhibit the vehicle from executing the color change action of the front windshield under the inhibition regulation command; and/or a second receiving module, configured to receive an adjustment opening instruction of the driver, so as to allow the vehicle to execute a color change action of the front windshield under the adjustment opening instruction.
An embodiment of a third aspect of the present application provides a vehicle including: the anti-glare device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the anti-glare method of the vehicle according to the embodiment.
A fourth aspect embodiment of the present application provides a computer-readable storage medium storing computer instructions for causing the computer to execute the anti-glare method of a vehicle as described in the above embodiment.
The embodiment of the application has the beneficial effects that:
(1) According to the embodiment of the application, the vehicle can be controlled to execute corresponding color-changing actions according to the actual light intensity level, the light source type and the sight focus of the driver, the effectiveness of the anti-dazzling actions is ensured, and the color-changing control is only carried out on the target area, so that the influence on the environment in the vehicle is small, and the driving experience of the driver and other passengers in the vehicle is improved.
(2) According to the embodiment of the application, the effective color-changing area can be selected according to the sight focus of the driver so as to reduce the influence on the environment in the vehicle.
(3) According to the embodiment of the application, whether the sight line of the driver deviates or not can be judged according to the current color-changing area and the target area, so that the focus of the sight line of the driver can be always kept at the central position of the color-changing area by adjusting the current color-changing area.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for anti-glare of a vehicle according to an embodiment of the present application;
fig. 2 is a schematic diagram of an anti-glare method of a vehicle according to an embodiment of the present application;
Fig. 3 is a schematic view of an anti-glare method of a vehicle according to another embodiment of the present application;
FIG. 4 is a flow chart of a method of anti-glare for a vehicle according to one embodiment of the application;
Fig. 5 is a schematic structural view of an anti-glare device for a vehicle according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present application.
The device comprises a 1-sight focus capturing module, a 2-control module, a 3-front windshield, a 4-electrochromic film, a 5-steering wheel, a 6-manual parallel control switch, a 7-front focus, an 8-main driving seat and a 9-driver, wherein the front windshield is provided with a first-order display screen; 10-an anti-dazzle device of a vehicle, 100-an acquisition module, 200-a judgment module and 300-a color change module; 601-memory, 602-processor, 603-communication interface.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting the application.
An anti-glare method of a vehicle, an anti-glare device of a vehicle, and a storage medium according to embodiments of the present application are described below with reference to the accompanying drawings. Aiming at the technical problems that in the related art mentioned in the background art, the light intensity is sensed by utilizing the photoresistor, the actual light sensing intensity of a driver is difficult to obtain accurately, and therefore effective anti-dazzle measures are difficult to provide, the application provides an anti-dazzle method for a vehicle, in the method, the current light intensity level of the driver can be identified according to multi-frame image data of the driver, so that whether the front windshield of the vehicle meets preset anti-dazzle conditions is judged, and under the condition that the front windshield of the vehicle does not meet the preset anti-dazzle conditions, corresponding color changing actions are executed in a target area of the front windshield based on the current light source type, the sight focus of the driver and the current light intensity level, so that the vehicle is controlled to execute the corresponding color changing actions in combination with the actual light intensity level of the driver, the light source type and the sight focus, the effectiveness of the anti-dazzle actions is ensured, and the color changing control is only carried out on the target area, the influence on the environment in the vehicle is small, various complex light conditions can be met, and the vehicle and the experience of other passengers in the vehicle is improved.
It should be noted that, in order to implement the anti-glare method of the vehicle according to the embodiment of the present application, the front windshield of the vehicle needs to be provided with an electrochromic film.
The electrochromic film has electrochromic property and can change the color and the transparency under the action of an external electric field. Such films typically consist of two transparent conductive films sandwiched by an electrolyte layer.
Electrochromic films work by controlling the applied electric field to regulate the movement of ions in the film, thereby changing the optical properties of the film. Under the action of no electric field, the electrochromic film presents a transparent state; when an electric field is applied, ions between the conductive films move in the electrolyte layer, causing the structure and color of the film to change, rendering it opaque.
Specifically, fig. 1 is a schematic flow chart of an anti-glare method for a vehicle according to an embodiment of the present application.
As shown in fig. 1, the anti-glare method of the vehicle includes the steps of:
In step S101, a plurality of frames of image data of the driver are acquired, and the current light intensity level received by the driver and the focus of the line of sight of the driver are identified from the plurality of frames of image data.
It will be appreciated that the pupil of the eye will follow the perceived light, and thus the intensity of the light currently perceived by the eye can be extrapolated back by identifying changes in the pupil, such as changes in the size of the radius, etc.
The embodiment of the application can collect multi-frame image data of the driver, so that pupil information of the driver is identified according to the image data, and then the current light intensity level of the driver is obtained according to the change of the pupil information.
The embodiment of the application can also construct a coordinate system by taking any point in the vehicle as an origin, and deduce the sight focus of the driver through the coordinate system, the coordinates of equipment for collecting image data and the coordinates of the eye position of the driver, so that the target area for realizing the focus to deduce the color change of the front windshield can be utilized later.
Optionally, in one embodiment of the present application, identifying the current light intensity level of the driver from the multi-frame image data includes: extracting an eye feature of a driver from each frame of image data; judging whether the eye characteristics in each frame of image data meet the preset integrity condition one by one, deleting all the image data which do not meet the preset integrity condition to obtain multi-frame complete image data of the driver, and obtaining the sight focus of the driver and pupil change data of the driver by utilizing the multi-frame complete image data.
In some embodiments, the eye features of the driver, such as the outline features of the eyes, the pupil features of the eyes, etc., may be extracted from each frame of image data, and the integrity of the eye features in each frame of image may be screened, for example, the driver may input the clear and complete face image data of the driver in advance, so as to obtain the reference eye features, and compare the collected eye features of each frame of image with the reference eye features, and delete the image covering the eyes of the driver, such as the image with incomplete outline features, so as to improve the validity of the data.
For the screened complete image data, the embodiment of the application can obtain the vision focus and pupil change data of the driver by constructing a coordinate system, calculating the data change rate and the like.
Optionally, in one embodiment of the present application, identifying the current light intensity level of the driver according to the multi-frame image data further includes: sequencing the multi-frame complete image data according to the acquisition time to obtain a sequencing result; pupil size data in each frame of complete image data are obtained, and the pupil change rate of a driver is obtained by combining the sequencing result; and calculating the current light intensity level according to the pupil change rate.
As a possible implementation manner, the embodiment of the application can sort the screened multi-frame complete image data according to the acquisition time, so as to record pupil size data in the complete image data according to the acquisition time, obtain the pupil change rate of the driver, and further obtain the current light intensity level.
For example, as pupil size data decreases, it indicates that the current intensity level of light received is higher; as the pupil size data increases, it indicates that the current intensity level of light is lower.
In addition, the embodiment of the application can also determine the real-time pupil size data of the driver according to the real-time image data, and obtain the corresponding current received light intensity level according to the real-time pupil size data in a preset comparison table or through big data inquiry.
Optionally, in one embodiment of the present application, after identifying the current light intensity level received by the driver and the focus of the line of sight of the driver from the multi-frame image data, it includes: projecting the sight focus to a front windshield to obtain a front focus of a driver; based on the front focus, a target area is obtained.
In the actual implementation process, the embodiment of the application can project the sight focus to the front windshield, so that the front focus of the driver falling on the front windshield is obtained, and the target area corresponding to the front focus is obtained based on the front focus.
The target area can be a circular area or an elliptical area which is built by taking a front view focus as a center, and the specific area size can be preset by a driver and can be adaptively adjusted according to the intensity of the received light;
the target area may be any area of the electrochromic film that is divided in advance, for example, the electrochromic film may be divided in advance into eight rectangular areas, and when the front view focus falls into one of the rectangular areas, the rectangular area is the target area.
In step S102, it is determined whether the current intensity level of the light is greater than a preset intensity level.
In some embodiments, the embodiment of the application can obtain the current color change condition of the electrochromic film of the front windshield, deduce the theoretical light intensity level suffered by the driver according to the current color change condition, and can judge whether the front windshield of the vehicle needs to be changed or not by comparing the current light intensity level suffered by the driver with the theoretical light intensity level suffered by the driver, namely the preset intensity level.
For example, when the current windshield is not discolored, if the intensity level of the current light is greater than the preset intensity level, the current windshield is discolored to realize the anti-dazzling function;
When the current windshield is in a color-changing state, the current light intensity level is still larger than the preset intensity level, if the current light intensity level reaches the medium intensity level or the high-intensity level, the current color-changing condition is indicated that the current color-changing condition cannot effectively provide an anti-dazzle effect for a driver, and at the moment, the front windshield of the vehicle can be judged to still be further subjected to color changing so as to realize the anti-dazzle function.
The intensity level of the light and the preset intensity level may be classified by those skilled in the art according to the actual situation, and are not particularly limited herein.
In step S103, in the case where the current intensity level of light is greater than the preset intensity level, the current light source type around the vehicle is obtained, and a corresponding color change action is performed in the target area of the front windshield based on the current light source type, the line of sight focus, and the current intensity level of light.
As a possible implementation manner, the embodiment of the present application may determine the corresponding color-changing scheme according to the current light source type, the focal point of the driver's sight, and the current intensity level of the light, where the current intensity level of the light is greater than the preset intensity level.
The light source type may include a type such as daytime strong light and high beam, specifically, the current daytime or night time may be determined by reading time and area information of the vehicle, and a current light intensity value may be determined by combining with a device such as a light intensity sensor configured on the vehicle, so as to determine a corresponding light source type by combining the light intensity values, for example, when the light intensity value is greater than the highest normal light intensity value that can be received by human eyes in the daytime, the current light source type may be determined to be daytime strong light, otherwise, the current light source type may be determined to be high beam.
For example, when the current light source type is a high beam type, the embodiment of the application can change the electrochromic film of the target area into yellow according to the sight focus of the driver, and determine the shade of the yellow by combining the current light intensity level; when the current light source type is the daytime strong light type, the embodiment of the application can change the electrochromic film of the target area into olive green according to the sight focus of a driver, and determine the shade of the olive green and the like by combining the current light intensity level.
Optionally, in one embodiment of the present application, further includes: acquiring a current color change area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level; calculating the contact ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the contact ratio is smaller than a first preset threshold value, so that the contact ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
In the actual execution process, the embodiment of the application can judge whether the target area is suitable according to the change of the focus of the sight of the driver and adjust in time.
In some embodiments, if the target area is a circular area or an elliptical area constructed by taking the front view focus as the center, the embodiment of the application can calculate the contact ratio between the current color-changing area and the target area, and when the contact ratio is smaller, the contact ratio indicates that the sight line of the driver deviates from the original position, for example, the sight line focal point of the driver changes by adjusting the sight line height of the seat, at this time, the embodiment of the application can adjust the position of the current color-changing area until the contact ratio between the adjusted current color-changing area and the target area is greater than a second preset threshold value.
In other embodiments, if the target area is a pre-divided area, it may be determined whether the front view focal point corresponding to the current sight focal point of the driver leaves the current color-changing area, and the color-changing area is adjusted to be the area corresponding to the current sight focal point.
Optionally, in one embodiment of the present application, further includes: receiving a forbidden adjustment instruction of a driver so as to forbid the vehicle to execute the color change action of the front windshield under the forbidden adjustment instruction; and/or receiving an adjustment opening command of the driver to allow the vehicle to perform a color change action of the front windshield under the adjustment opening command.
In the actual execution process, the embodiment of the application can also be provided with a corresponding switch to turn on or turn off the anti-dazzling function of the front windshield, and when the driver triggers the turn-off instruction, the driver is regarded as sending out an inhibit adjustment instruction, so that the anti-dazzling function is turned off, the vehicle is inhibited from executing the color change action of the front windshield, the night misjudgment is prevented, the normal running of the driver is prevented from being influenced, and when the driver triggers the adjust turn-on instruction, the driver is regarded as sending out a manual turn-on instruction, so that the anti-dazzling function is manually turned on.
The working principle of the anti-glare method of the vehicle according to the embodiment of the present application will be described in detail with reference to fig. 2 to 4.
The anti-glare method for a vehicle according to the embodiment of the present application may employ a frame as shown in fig. 2 and 3 in practical application.
As shown in connection with fig. 2 and 3, the frame of an embodiment of the present application may include: a sight focus capturing module 1, a control module 2, a front windshield 3, an electrochromic film 4, a steering wheel 5, a manual and control switch 6, a front focus 7, a main driver seat 8 and a driver 9.
The sight focus capturing module 1 is installed on a driver's desk, and can be used for monitoring the change of the pupil of the eyes of the driver 9, confirming the current light intensity level received by the driver 9, the sight direction and the sight focus of the driver 9, and acquiring the data by acquiring image data so as to further determine a color-changing target area according to the falling point of the sight of the driver 9 at the front windshield, namely the front focus;
The control module 2 can be used for controlling the electrochromic film according to the current light intensity level, the sight direction, the sight focus and other information of the driver 9 fed back by the sight focus capturing module 1, so as to achieve the anti-dazzling effect. The control module 2 may be installed in a full vehicle arrangement, preferably close to the main driver seat 8, with simpler arrangement and lower harness costs.
The electrochromic film 4 can be a flexible electrochromic film which is transparent when not electrified, and has different colors by applying different voltages, so that the strong light anti-dazzling function is realized, the electrochromic film is stuck in the front windshield, the shape and the size are not limited, and the front windshield can be divided into a plurality of areas and controlled separately by one electrochromic film stick. The electrochromic film is preferably selected to be changed into olive green and yellow by applying different voltages, the olive green can effectively filter strong light under strong sunlight, and the yellow can not cause limited visual field due to too dark driving at night.
The manual parallel control switch 6 can be installed on the steering wheel 5, and on the steering wheel 5, the driver 9 operates more smoothly, and the distraction time is short, and factor of safety is higher, and the addition of manual parallel control switch 6 is considered in the three aspects: 1. from the perspective of redundant safety design, if the gaze focus capture module 1 fails, the driver 9 may also manually control; 2. some special people, such as driver 9 who cannot see strong light for a long time after eye surgery, can manually turn on the switch to be used as an eye protection mode. 3. The driver switches to manual closing instruction in manual mode to prevent erroneous judgement at night and influence the normal running of driver.
On the basis of the above frame, as shown in fig. 4, an embodiment of the present application may include the following steps:
Step S401: the current light intensity level to which the driver 9 is subjected is collected. The embodiment of the application can convert the returned pupil information of the driver 9 into the light intensity level information through the sight focus capturing module 1, such as the image data of the driver 9 collected by the image collecting device.
Step S402: the mode of the current manual parallel control switch 6 is judged, if the current manual parallel control switch 6 is in the manual mode, the step S411 is skipped, and if the current manual parallel control switch 6 is not in the manual mode, the step S403 is skipped.
Step S403: it is determined whether the front windshield 3 of the vehicle satisfies a preset antiglare condition. The embodiment of the application can judge whether the current light intensity level is larger than the highest normal light intensity value which can be received by human eyes without dazzling, and if so, the step is skipped to step S404, otherwise, the program is ended.
Step S404: the driver 9 gaze direction and gaze focus are determined. The embodiment of the application can collect the sight line information returned by the sight line focus capturing module 1.
Step S405: the front focus 7 is calculated. The embodiment of the application can calculate the falling point of the sight on the windshield, namely the front view focus 7 according to the sight direction and the realization focus.
Step S406: a target area is determined. Embodiments of the application may be determined from the front focus 7.
Step S407: the light source type is determined. The embodiment of the application can determine whether the current period belongs to the daytime or the evening by reading the time and the area of the vehicle, and the light intensity value is larger than the highest normal light intensity value which can be received by human eyes without dazzling during the daytime, so that the dazzling light source is judged to be strong light during the daytime, otherwise, the dazzling light source is judged to be high beam.
Step S408: and judging whether the light is of a high beam type. If the type is the high beam type, the process goes to step S410, otherwise, the process goes to step S409.
Step S409: the control target area electrochromic film 4 turns olive green. The control module 2 outputs a designated voltage to both ends of the electrochromic film 4 to turn it into olive green.
Step S410: the control target area electrochromic film 4 turns yellow. The control module 2 outputs a designated voltage to both ends of the electrochromic film 4 to turn it yellow.
Step S411: whether the current manual parallel control switch 6 is in the manual mode or not is judged, if yes, the step S412 is skipped, otherwise, the procedure is ended.
Step S412: the light source type is determined. The embodiment of the application can determine whether the current period belongs to the daytime or the evening by reading the time and the area of the vehicle, and the light intensity value is larger than the highest normal light intensity value which can be received by human eyes without dazzling during the daytime, so that the dazzling light source is judged to be strong light during the daytime, otherwise, the dazzling light source is judged to be high beam.
Step S413: and judging whether the light is of a high beam type. If the type is the high beam type, the process goes to step S415, otherwise the process goes to step S414.
Step S414: all electrochromic films 4 were controlled to turn olive green. The control module 2 outputs a designated voltage to both ends of the electrochromic film 4 to turn it into olive green.
Step S415: all electrochromic films 4 are controlled to turn yellow. The control module 2 outputs a designated voltage to both ends of the electrochromic film 4 to turn it yellow.
According to the anti-dazzle method for the vehicle, which is provided by the embodiment of the application, the current light intensity level of the driver can be identified according to the multi-frame image data of the driver, so that whether the front windshield of the vehicle meets the preset anti-dazzle condition is judged, and under the condition that the front windshield of the vehicle does not meet the preset anti-dazzle condition, corresponding color changing actions are executed in the target area of the front windshield based on the current light source type, the sight focal point of the driver and the current light intensity level, so that the vehicle is controlled to execute the corresponding color changing actions by combining the actual light intensity level of the driver, the light source type and the sight focal point, the effectiveness of the anti-dazzle actions is ensured, and the color changing control is only carried out on the target area, so that the influence on the environment in the vehicle is small, various complex light conditions can be met, and the driving experience of the driver and other passengers in the vehicle is improved.
An anti-glare device for a vehicle according to an embodiment of the present application will be described next with reference to the accompanying drawings.
Fig. 5 is a block schematic diagram of an antiglare device for a vehicle according to an embodiment of the application.
As shown in fig. 5, the antiglare device 10 of the vehicle includes: the device comprises an acquisition module 100, a judging module 200 and a color changing module 300.
Specifically, the acquisition module 100 is configured to acquire multiple frames of image data of the driver, and identify a current light intensity level of the driver and a focus of the line of sight of the driver according to the multiple frames of image data.
The judging module 200 is configured to judge whether the current intensity level of the light is greater than a preset intensity level.
And the color changing module 300 is used for acquiring the current light source type around the vehicle under the condition that the current light intensity level is greater than the preset intensity level, and executing corresponding color changing action on the target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level.
Optionally, in one embodiment of the present application, the anti-glare device 10 of the vehicle further includes: the first acquisition module and the adjustment module.
The first obtaining module is used for obtaining the current color-changing area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level.
The adjusting module is used for calculating the coincidence ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the coincidence ratio is smaller than a first preset threshold value, so that the coincidence ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
Alternatively, in one embodiment of the present application, the anti-glare device 10 of a vehicle includes: the device comprises a projection module and a second acquisition module.
The projection module is used for projecting the sight focus to the front windshield to obtain the front focus of the driver.
And the second acquisition module is used for acquiring a target area based on the front focus.
Optionally, in one embodiment of the present application, the acquisition module 100 includes: an extraction unit and a judgment unit.
Wherein, the extraction unit is used for extracting the eye characteristics of the driver from each frame of image data.
The judging unit is used for judging whether the eye characteristics in each frame of image data meet the preset integrity condition one by one, deleting all image data which do not meet the preset integrity condition to obtain multi-frame complete image data of the driver, and obtaining the sight focus of the driver and pupil change data of the driver by utilizing the multi-frame complete image data.
Optionally, in one embodiment of the present application, the acquisition module 100 further includes: a sorting unit and an acquisition unit.
The sequencing unit is used for sequencing the multi-frame complete image data according to the acquisition time to obtain a sequencing result.
The acquisition unit is used for acquiring pupil size data in each frame of complete image data and obtaining the pupil change rate of the driver by combining the sequencing result; and the calculating unit is used for calculating the current light intensity level according to the pupil change rate.
Optionally, in one embodiment of the present application, the anti-glare device 10 of the vehicle further includes: the first receiving module and/or the second receiving module.
The first receiving module is used for receiving a forbidden adjustment instruction of a driver so as to forbid the vehicle from executing the color changing action of the front windshield under the forbidden adjustment instruction.
The second receiving module is used for receiving an adjusting opening instruction of a driver so as to allow the vehicle to execute the color changing action of the front windshield under the adjusting opening instruction.
It should be noted that the foregoing explanation of the embodiment of the anti-glare method for a vehicle is also applicable to the anti-glare device for a vehicle of this embodiment, and will not be repeated here.
According to the anti-dazzle device for the vehicle, provided by the embodiment of the application, the current light intensity level of the driver can be identified according to the multi-frame image data of the driver, so that whether the front windshield of the vehicle meets the preset anti-dazzle condition is judged, and under the condition that the front windshield of the vehicle does not meet the preset anti-dazzle condition, corresponding color changing actions are executed in the target area of the front windshield based on the current light source type, the sight focal point of the driver and the current light intensity level, so that the vehicle is controlled to execute the corresponding color changing actions by combining the actual light intensity level of the driver, the light source type and the sight focal point, the effectiveness of the anti-dazzle actions is ensured, and the color changing control is only carried out on the target area, so that the influence on the environment in the vehicle is small, various complex light conditions can be met, and the driving experience of the driver and other passengers in the vehicle is improved.
Fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle may include:
A memory 601, a processor 602, and a computer program stored on the memory 601 and executable on the processor 602.
The processor 602 implements the anti-glare method of the vehicle provided in the above embodiment when executing a program.
Further, the vehicle further includes:
a communication interface 603 for communication between the memory 601 and the processor 602.
A memory 601 for storing a computer program executable on the processor 602.
The memory 601 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 601, the processor 602, and the communication interface 603 are implemented independently, the communication interface 603, the memory 601, and the processor 602 may be connected to each other through a bus and perform communication with each other. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 601, the processor 602, and the communication interface 603 are integrated on a chip, the memory 601, the processor 602, and the communication interface 603 may perform communication with each other through internal interfaces.
The processor 602 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the application.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the anti-glare method of a vehicle as above.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (10)

1. A method of antiglare for a vehicle, characterized in that a front windshield of the vehicle is provided with an electrochromic film, wherein the method comprises the steps of:
collecting multi-frame image data of a driver, and identifying the current light intensity level of the driver and the sight focus of the driver according to the multi-frame image data;
Judging whether the intensity level of the current light is greater than a preset intensity level or not;
and under the condition that the current light intensity level is larger than the preset intensity level, acquiring the current light source type around the vehicle, and executing corresponding color changing action in a target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level.
2. The method as recited in claim 1, further comprising:
Acquiring a current color change area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level;
Calculating the contact ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the contact ratio is smaller than a first preset threshold value, so that the contact ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
3. The method according to claim 1, characterized by, after identifying the current light intensity level received by the driver and the focus of the driver's line of sight from the multi-frame image data, comprising:
Projecting the sight focus to the front windshield to obtain a front focus of the driver;
and obtaining the target area based on the front view focus.
4. The method of claim 1, wherein said identifying the current light intensity level received by the driver from the multi-frame image data comprises:
extracting an eye feature of the driver from each frame of image data;
judging whether the eye characteristics in each frame of image data meet a preset integrity condition one by one, deleting all image data which do not meet the preset integrity condition to obtain multi-frame complete image data of the driver, and obtaining the sight focus of the driver and pupil change data of the driver by utilizing the multi-frame complete image data.
5. The method of claim 1, wherein said identifying the current light intensity level received by the driver from the multi-frame image data further comprises:
sequencing the multi-frame complete image data according to the acquisition time to obtain a sequencing result;
Pupil size data in each frame of complete image data are obtained, and the pupil change rate of the driver is obtained by combining the sequencing result;
and calculating the current light intensity level according to the pupil change rate.
6. The method as recited in claim 1, further comprising:
Receiving a prohibition adjustment instruction of the driver to prohibit the vehicle from executing the color change action of the front windshield under the prohibition adjustment instruction;
And/or receiving an adjustment opening instruction of the driver so as to allow the vehicle to execute the color change action of the front windshield under the adjustment opening instruction.
7. An anti-glare device for a vehicle, characterized in that a front windshield of the vehicle is provided with an electrochromic film, wherein the device comprises:
The acquisition module is used for acquiring multi-frame image data of a driver and identifying the current light intensity level of the driver and the sight focus of the driver according to the multi-frame image data;
the judging module is used for judging whether the current intensity level of the light is greater than a preset intensity level or not;
And the color changing module is used for acquiring the current light source type around the vehicle under the condition that the current light intensity level is greater than the preset intensity level, and executing corresponding color changing action in the target area of the front windshield based on the current light source type, the sight line focus and the current light intensity level.
8. The apparatus as recited in claim 7, further comprising:
the acquisition module is used for acquiring the current color-changing area of the front windshield under the condition that the current intensity level of the light is smaller than or equal to the preset intensity level;
The adjustment module is used for calculating the contact ratio between the current color-changing area and the target area, and adjusting the position of the current color-changing area when the contact ratio is smaller than a first preset threshold value, so that the contact ratio between the adjusted current color-changing area and the target area is larger than a second preset threshold value, wherein the second preset threshold value is larger than the first preset threshold value.
9. A vehicle, characterized by comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the anti-glare method of a vehicle as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing the anti-glare method of a vehicle according to any one of claims 1-6.
CN202410515653.7A 2024-04-26 2024-04-26 Anti-glare method and device for vehicle, vehicle and storage medium Pending CN118254546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410515653.7A CN118254546A (en) 2024-04-26 2024-04-26 Anti-glare method and device for vehicle, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410515653.7A CN118254546A (en) 2024-04-26 2024-04-26 Anti-glare method and device for vehicle, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN118254546A true CN118254546A (en) 2024-06-28

Family

ID=91611120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410515653.7A Pending CN118254546A (en) 2024-04-26 2024-04-26 Anti-glare method and device for vehicle, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN118254546A (en)

Similar Documents

Publication Publication Date Title
EP1683668B1 (en) Variable transmissivity window system
KR101283304B1 (en) Apparatus and method for detecting dazzle of driver, and anti-dazzling system and method using it
EP1933256B1 (en) Eye closure recognition system and method
CN106994884B (en) Active anti-dazzling method and device based on OLED display technology
JP5003398B2 (en) Lighting device
US20090058126A1 (en) Glare reduction
CN111178225A (en) Light screen control method, light screen control system and device
CN108162729B (en) Automobile anti-glare system and method
DE102011084730A1 (en) Apparatus and method for reducing glare
CN113547978B (en) Driving light warning method, device, equipment and storage medium
CN111619324A (en) Intelligent anti-dazzling method and system for sight tracking automobile
JP2007331545A (en) Vehicle drive support apparatus
JP2010179817A (en) Anti-dazzling device for vehicle
CN117549846A (en) Vehicle-mounted screen self-adaptive adjustment method and device, vehicle and storage medium
CN118254546A (en) Anti-glare method and device for vehicle, vehicle and storage medium
CN113665325A (en) Sun visor, control method and device thereof, and computer-readable storage medium
JP5352266B2 (en) Anti-glare device
CN115649094B (en) Intelligent control method for driving position, domain controller and related device
EP2131308B1 (en) Method and device for classifying an object detected in at least one image of an area visualised in front of a vehicle
CN215474384U (en) Vehicle-mounted virtual light adjusting system
US11851003B2 (en) Driving assistance system and method for driver
CN111055771B (en) Automobile anti-dazzling rearview mirror control system and method
JP7243379B2 (en) Dimming control device, dimming system, dimming control method, and control program
CN110626152B (en) Method and device for preventing automobile from being subjected to strong light at night
JP2015030305A (en) On-board dimmer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination