CN114291038B - Automatic heating method and device for rearview mirror - Google Patents
Automatic heating method and device for rearview mirror Download PDFInfo
- Publication number
- CN114291038B CN114291038B CN202111412384.4A CN202111412384A CN114291038B CN 114291038 B CN114291038 B CN 114291038B CN 202111412384 A CN202111412384 A CN 202111412384A CN 114291038 B CN114291038 B CN 114291038B
- Authority
- CN
- China
- Prior art keywords
- rearview mirror
- heating
- micro
- car owner
- vehicle
- 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.)
- Active
Links
- 238000010438 heat treatment Methods 0.000 title claims abstract description 107
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000008921 facial expression Effects 0.000 claims abstract description 30
- 238000004458 analytical method Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010195 expression analysis Methods 0.000 abstract description 34
- 238000004891 communication Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008451 emotion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 206010027940 Mood altered Diseases 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 210000004709 eyebrow Anatomy 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000007510 mood change Effects 0.000 description 1
Landscapes
- Rear-View Mirror Devices That Are Mounted On The Exterior Of The Vehicle (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
本发明实施例提供一种后视镜自动加热方法及装置,所述方法包括:通过摄像装置采集到车主的摄像数据,并获取摄像数据中车主在车辆驾驶时的视线方向;当视线方向为后视镜方向时,检测车主保持视线方向的时长是否大于预设时长;当车主保持视线方向的时长大于预设时长时,通过摄像装置采集车主的面部表情,并对面部表情进行微表情分析,得到微表情分析结果;获取预设的车主微表情集合,将微表情分析结果与车主微表情集合进行对比,当微表情分析结果与车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。采用本方法能够更智能的根据车主的需求进行后视镜加热装置的开启,进而也节省了能源。
Embodiments of the present invention provide a method and device for automatically heating rearview mirrors. The method includes: collecting camera data of a car owner through a camera device, and obtaining the direction of sight of the car owner while driving the vehicle in the camera data; when the direction of sight is to the rear When looking at the direction of the mirror, it is detected whether the time the car owner maintains the direction of sight is greater than the preset time; when the time the car owner maintains the direction of sight is longer than the preset time, the facial expression of the car owner is collected through the camera device, and micro-expression analysis is performed on the facial expression to obtain Micro-expression analysis results; obtain the preset car owner's micro-expression set, compare the micro-expression analysis results with the car owner's micro-expression set, when the micro-expression analysis results match the car owner's micro-expression set, start the rearview mirror heating device to heat the rearview mirror Apply heat. Using this method, the rearview mirror heating device can be turned on more intelligently according to the needs of the car owner, thus saving energy.
Description
技术领域Technical field
本发明涉及车辆技术领域,尤其涉及一种后视镜自动加热方法及装置。The present invention relates to the field of vehicle technology, and in particular to an automatic rearview mirror heating method and device.
背景技术Background technique
在车辆的行驶过程中,车辆后视镜是车辆的重要部分,驾驶员需要通过后视镜看清后方或侧方的道路情况,但是,在雨雪大雾天气,或者车辆后视镜本身就不干净的情况下,会影响驾驶员对道路情况的判断,此时就需要对后视镜进行加热清洁。When the vehicle is driving, the vehicle rearview mirror is an important part of the vehicle. The driver needs to use the rearview mirror to see clearly the road conditions behind or to the side. However, in rain, snow, foggy weather, or the vehicle rearview mirror itself is damaged. If it is not clean, it will affect the driver's judgment of the road conditions. At this time, the rearview mirror needs to be heated and cleaned.
但是,在实际的驾驶过程中,在后视镜相同模糊程度的情况下,经验丰富的驾驶员能完成驾驶,而新手驾驶员则不行,但目前的加热装置基本都是通过外界的环境因素来检测是否需要加热,有时会浪费能源,也不够智能。However, in the actual driving process, when the rearview mirror has the same degree of blur, an experienced driver can complete the driving, but a novice driver cannot. However, the current heating device basically relies on external environmental factors. Detecting whether heating is needed sometimes wastes energy and is not smart enough.
发明内容Contents of the invention
针对现有技术中存在的问题,本发明实施例提供一种后视镜自动加热方法及装置。In order to solve the problems existing in the prior art, embodiments of the present invention provide a method and device for automatically heating a rearview mirror.
本发明实施例提供一种后视镜自动加热方法,包括:An embodiment of the present invention provides a rearview mirror automatic heating method, which includes:
通过摄像装置采集到车主的摄像数据,并获取所述摄像数据中车主在车辆驾驶时的视线方向;Collect camera data of the car owner through the camera device, and obtain the direction of sight of the car owner while driving the vehicle in the camera data;
当所述视线方向为后视镜方向时,检测所述车主保持所述视线方向的时长是否大于预设时长;When the direction of sight is the direction of the rearview mirror, detect whether the length of time the owner maintains the direction of sight is greater than a preset time;
当所述车主保持视线方向的时长大于预设时长时,通过所述摄像装置采集所述车主的面部表情,并对所述面部表情进行微表情分析,得到微表情分析结果;When the car owner maintains the direction of his gaze for longer than the preset time, the camera device collects the facial expression of the car owner, performs micro-expression analysis on the facial expression, and obtains micro-expression analysis results;
获取预设的车主微表情集合,将所述微表情分析结果与所述车主微表情集合进行对比,当所述微表情分析结果与所述车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。Obtain the preset micro-expression set of the car owner, compare the micro-expression analysis result with the car owner's micro-expression set, and when the micro-expression analysis result matches the car owner's micro-expression set, start the rearview mirror heating device to The rearview mirrors are heated.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态;Obtain external information, and determine the corresponding heating demand level based on the external information. The external information includes rainfall, brightness outside the vehicle, temperature outside the vehicle, and vehicle fog light status;
根据所述加热需求程度确定所述加热装置启动后的加热时长。The heating time after the heating device is started is determined according to the degree of heating demand.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
当未获取到预设的车主微表情集合时,获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态;When the preset set of micro-expressions of the car owner is not obtained, external information is obtained, and the corresponding heating demand level is determined based on the external information. The external information includes the amount of rainfall, brightness outside the vehicle, temperature outside the vehicle, and vehicle fog light status;
当所述加热需求程度大于预设等级时,启动后视镜加热装置对后视镜进行加热。When the heating demand level is greater than the preset level, the rearview mirror heating device is started to heat the rearview mirror.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
获取所述雨量大小、车外亮度、车外温度、车辆雾灯状态对应的权重值,结合预设公式对所述雨量大小、车外亮度、车外温度、车辆雾灯状态进行加权求和,根据加权求和的计算结果得到对应的加热需求程度。Obtain the weight values corresponding to the amount of rain, the brightness outside the car, the temperature outside the car, and the status of the vehicle fog lights, and perform a weighted sum of the amount of rain, brightness outside the car, temperature outside the car, and fog light status of the vehicle based on the preset formula. The corresponding heating demand degree is obtained based on the calculation results of the weighted sum.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
根据车主预先上传的照片进行面部表情采集得到的微表情集合。A collection of micro-expressions obtained by collecting facial expressions based on photos uploaded by car owners in advance.
本发明实施例提供一种用户邀请关系的统计装置,包括:An embodiment of the present invention provides a statistical device for user invitation relationships, including:
获取模块,用于通过摄像装置采集到车主的摄像数据,并获取所述摄像数据中车主在车辆驾驶时的视线方向;An acquisition module, used to collect the camera data of the car owner through the camera device, and obtain the direction of sight of the car owner while driving the vehicle in the camera data;
检测模块,用于当所述视线方向为后视镜方向时,检测所述车主保持所述视线方向的时长是否大于预设时长;A detection module, configured to detect whether the length of time the car owner maintains the direction of sight is greater than a preset time when the direction of sight is the direction of the rearview mirror;
采集模块,用于当所述车主保持视线方向的时长大于预设时长时,通过所述摄像装置采集所述车主的面部表情,并对所述面部表情进行微表情分析,得到微表情分析结果;A collection module, configured to collect the facial expression of the car owner through the camera device when the length of time the car owner maintains the direction of vision is greater than the preset time length, and perform micro-expression analysis on the facial expression to obtain micro-expression analysis results;
对比模块,用于获取预设的车主微表情集合,将所述微表情分析结果与所述车主微表情集合进行对比,当所述微表情分析结果与所述车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。A comparison module is used to obtain a preset set of micro-expressions of the car owner, and compare the analysis results of the micro-expressions with the set of micro-expressions of the car owner. When the analysis results of the micro-expressions match the set of micro-expressions of the car owner, after starting The mirror heating device heats the rearview mirror.
在其中一个实施例中,所述装置还包括:In one embodiment, the device further includes:
第二获取模块,用于获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态;The second acquisition module is used to obtain external information, and determine the corresponding degree of heating demand based on the external information. The external information includes rainfall, exterior brightness, exterior temperature, and vehicle fog light status;
加热时长确定模块,用于根据所述加热需求程度确定所述加热装置启动后的加热时长。A heating duration determination module is used to determine the heating duration after the heating device is started according to the heating demand level.
在其中一个实施例中,所述装置还包括:In one embodiment, the device further includes:
第三获取模块,用于当未获取到预设的车主微表情集合时,获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态;The third acquisition module is used to obtain external information when the preset set of micro-expressions of the car owner is not obtained, and determine the corresponding degree of heating demand based on the external information. The external information includes rainfall, brightness outside the vehicle, brightness outside the vehicle, Temperature, vehicle fog light status;
启动模块,用于当所述加热需求程度大于预设等级时,启动后视镜加热装置对后视镜进行加热。A start module is used to start the rearview mirror heating device to heat the rearview mirror when the heating demand level is greater than a preset level.
本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述后视镜自动加热方法的步骤。An embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the above automatic rearview mirror heating method are implemented. .
本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述后视镜自动加热方法的步骤。Embodiments of the present invention provide a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned automatic rearview mirror heating method are implemented.
本发明实施例提供的一种后视镜自动加热方法及装置,通过摄像装置采集到车主的摄像数据,并获取摄像数据中车主在车辆驾驶时的视线方向;当视线方向为后视镜方向时,检测车主保持视线方向的时长是否大于预设时长;当车主保持视线方向的时长大于预设时长时,通过摄像装置采集车主的面部表情,并对面部表情进行微表情分析,得到微表情分析结果;获取预设的车主微表情集合,将微表情分析结果与车主微表情集合进行对比,当微表情分析结果与车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。这样能够更智能的根据车主的需求进行后视镜加热装置的开启,进而也节省了能源。An embodiment of the present invention provides a method and device for automatically heating a rearview mirror, which collects camera data of a car owner through a camera device, and obtains the direction of the car owner's line of sight while driving the vehicle in the camera data; when the line of sight direction is the direction of the rearview mirror , detecting whether the car owner maintains the gaze direction for longer than the preset time; when the car owner maintains the gaze direction for longer than the preset time, the facial expression of the car owner is collected through the camera device, and micro-expression analysis is performed on the facial expression to obtain the micro-expression analysis results ; Obtain the preset car owner's micro-expression set, compare the micro-expression analysis results with the car owner's micro-expression set, and when the micro-expression analysis results match the car owner's micro-expression set, start the rearview mirror heating device to heat the rearview mirror. In this way, the rearview mirror heating device can be turned on more intelligently according to the needs of the car owner, thereby saving energy.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are: For some embodiments of the present invention, those of ordinary skill in the art can also obtain other drawings based on these drawings without exerting creative efforts.
图1为本发明实施例中后视镜自动加热方法的流程图;Figure 1 is a flow chart of a rearview mirror automatic heating method in an embodiment of the present invention;
图2为本发明实施例中后视镜自动加热装置的结构图;Figure 2 is a structural diagram of an automatic rearview mirror heating device in an embodiment of the present invention;
图3为本发明实施例中电子设备结构示意图。Figure 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.
图1为本发明实施例提供的一种后视镜自动加热方法的流程示意图,如图1所示,本发明实施例提供了一种后视镜自动加热方法,包括:Figure 1 is a schematic flow chart of an automatic rearview mirror heating method provided by an embodiment of the present invention. As shown in Figure 1, an embodiment of the present invention provides an automatic rearview mirror heating method, which includes:
步骤S101,通过摄像装置采集到车主的摄像数据,并获取所述摄像数据中车主在车辆驾驶时的视线方向。Step S101, collect the camera data of the car owner through the camera device, and obtain the direction of sight of the car owner while driving the vehicle in the camera data.
具体地,车辆驾驶系统通过摄像装置采集到车主的摄像数据,并根据摄像数据获取到车主在摄像数据中,车辆驾驶时车主的视线方向,其中,车主的视线方向可以通过车主驾驶时的头部偏转角度确定。Specifically, the vehicle driving system collects the camera data of the car owner through the camera device, and obtains the direction of the car owner's sight when driving the vehicle in the camera data based on the camera data. The direction of the car owner's sight can be determined by the head of the car owner when driving. The deflection angle is determined.
步骤S102,当所述视线方向为后视镜方向时,检测所述车主保持所述视线方向的时长是否大于预设时长。Step S102: When the line of sight direction is the direction of the rearview mirror, detect whether the length of time the car owner maintains the line of sight direction is greater than a preset time period.
具体地,当检测到车主的视线方向为左右两边的后视镜方向时,检测车主保持后视镜方向的视线方向的时长是否大于预设时长,即检测车主是否长时间的查看后视镜中的交通情况,预设时长可以由车主设置,比如4秒、5秒等。Specifically, when it is detected that the direction of the car owner's sight is the direction of the left and right rearview mirrors, it is detected whether the length of time the car owner maintains the direction of the rearview mirror is greater than the preset time, that is, it is detected whether the car owner looks in the rearview mirror for a long time. Depending on the traffic situation, the preset time can be set by the car owner, such as 4 seconds, 5 seconds, etc.
步骤S103,当所述车主保持视线方向的时长大于预设时长时,通过所述摄像装置采集所述车主的面部表情,并对所述面部表情进行微表情分析,得到微表情分析结果。Step S103: When the car owner maintains the direction of his gaze for longer than a preset time, the camera device collects the facial expression of the car owner, performs micro-expression analysis on the facial expression, and obtains micro-expression analysis results.
具体地,当车主保持后视镜方向的视线方向的时长大于预设时长时,说明车主在长时间的查看后视镜中的交通情况,此时后视镜可能存在模糊的情况,也有可能是车主在观察交通情况,为了完成车辆转向、倒车等情况,为了确定后视镜是否存在模糊,则通过摄像装置采集车主的面部表情,并通过微表情分析技术分析车主的面部表情,可以得到在车主查看后视镜的过程中,车主的情绪变化。Specifically, when the car owner keeps his sight direction in the rearview mirror for longer than the preset time, it means that the car owner is checking the traffic situation in the rearview mirror for a long time. At this time, the rearview mirror may be blurred, or it may be blurred. When the car owner is observing the traffic situation, in order to complete the vehicle steering, reversing, etc., and to determine whether the rearview mirror is blurred, the car owner's facial expressions are collected through the camera device, and the car owner's facial expressions are analyzed through micro-expression analysis technology, and the car owner's facial expressions can be obtained. The car owner's mood changes while checking the rearview mirror.
步骤S104,获取预设的车主微表情集合,将所述微表情分析结果与所述车主微表情集合进行对比,当所述微表情分析结果与所述车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。Step S104: Obtain the preset micro-expression set of the car owner, compare the micro-expression analysis result with the car owner's micro-expression set, and activate the rearview mirror when the micro-expression analysis result matches the car owner's micro-expression set. The heating device heats the rearview mirrors.
具体地,获取预设的车主微表情集合,其中,车主微表情集合可以由车主预先拍摄,然后上传的照片进行面部表情采集得到,包括车主不满、疑惑、好奇、生气等情绪,具体表现在微表情上表现为眉毛收紧、嘴唇紧张、眼睛张大等特征,当微表情分析结果与车主微表情集合匹配时,说明用户处于上述情绪中,需要从后视镜中获取到信息,后视镜处于模糊状态,则启动后视镜加热装置对后视镜进行加热,保证车主能及时获取到当前的交通状况。Specifically, a preset set of micro-expressions of the car owner is obtained. The set of micro-expressions of the car owner can be pre-photographed by the car owner and then collected by uploading photos to collect facial expressions, including the car owner's dissatisfaction, doubt, curiosity, anger and other emotions, which are specifically reflected in the micro-expressions. The expression is characterized by tightened eyebrows, tense lips, widened eyes, etc. When the micro-expression analysis results match the car owner's micro-expression collection, it means that the user is in the above emotions and needs to obtain information from the rearview mirror, which is in If the vehicle is in a blurry state, the rearview mirror heating device will be activated to heat the rearview mirror to ensure that the car owner can obtain the current traffic conditions in a timely manner.
本发明实施例提供的一种后视镜自动加热方法,通过摄像装置采集到车主的摄像数据,并获取摄像数据中车主在车辆驾驶时的视线方向;当视线方向为后视镜方向时,检测车主保持视线方向的时长是否大于预设时长;当车主保持视线方向的时长大于预设时长时,通过摄像装置采集车主的面部表情,并对面部表情进行微表情分析,得到微表情分析结果;获取预设的车主微表情集合,将微表情分析结果与车主微表情集合进行对比,当微表情分析结果与车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。这样能够更智能的根据车主的需求进行后视镜加热装置的开启,进而也节省了能源。An embodiment of the present invention provides a method for automatically heating rearview mirrors, which collects the camera data of the car owner through a camera device, and obtains the direction of the car owner's line of sight while driving the vehicle in the camera data; when the line of sight direction is the direction of the rearview mirror, detect Whether the car owner maintains his/her gaze direction for longer than the preset time period; when the car owner maintains his/her gaze direction for longer than the preset time period, the facial expression of the car owner is collected through the camera device, and micro-expression analysis is performed on the facial expression to obtain the micro-expression analysis results; Obtain The preset car owner's micro-expression set compares the micro-expression analysis results with the car owner's micro-expression set. When the micro-expression analysis results match the car owner's micro-expression set, the rearview mirror heating device is started to heat the rearview mirror. In this way, the rearview mirror heating device can be turned on more intelligently according to the needs of the car owner, thereby saving energy.
在上述实施例的基础上,所述一种后视镜自动加热方法,还包括:Based on the above embodiments, the method for automatically heating rearview mirrors also includes:
获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态;Obtain external information, and determine the corresponding heating demand level based on the external information. The external information includes rainfall, brightness outside the vehicle, temperature outside the vehicle, and vehicle fog light status;
根据所述加热需求程度确定所述加热装置启动后的加热时长。The heating time after the heating device is started is determined according to the degree of heating demand.
在本发明实施例中,在当启动后视镜加热装置对后视镜进行加热之后,还可以获取外界信息,包括雨量大小、车外亮度、车外温度、车辆雾灯状态等影响后视镜模糊程度的信息,然后根据外界信息确定后视镜对应的加热需求程度,并根据加热需求程度确定加热装置启动后的加热时长,其中,根据外界信息确定后视镜对应的加热需求程度,包括,获取雨量大小、车外亮度、车外温度、车辆雾灯状态的实际数据,获取对应的权重值,然后结合预设公式对雨量大小、车外亮度、车外温度、车辆雾灯状态进行加权求和,根据加权求和的计算结果得到对应的加热需求程度,通常来说,加热需求程度越高,加热装置启动后的加热时长越长。In the embodiment of the present invention, after the rearview mirror heating device is started to heat the rearview mirror, external information can also be obtained, including the amount of rainfall, brightness outside the vehicle, outside temperature, vehicle fog light status, etc. that affect the rearview mirror. The degree of fuzzy information is then used to determine the degree of heating demand corresponding to the rearview mirror based on external information, and the heating duration after the heating device is started is determined based on the degree of heating demand. Among them, the degree of heating demand corresponding to the rearview mirror is determined based on external information, including, Obtain the actual data of rainfall amount, exterior brightness, exterior temperature, and vehicle fog light status, obtain the corresponding weight values, and then use the preset formula to perform a weighted calculation of rainfall amount, exterior brightness, exterior temperature, and vehicle fog light status. and, the corresponding heating demand degree is obtained based on the calculation result of the weighted sum. Generally speaking, the higher the heating demand degree, the longer the heating time after the heating device is started.
另外,当未获取到预设的车主微表情集合时,说明车主可能并未预设对应的微表情集合,则获取外界信息,根据外界信息确定是否需要加热,通过外界信息确定对应的加热需求程度,当加热需求程度大于预设等级时,说明后视镜处于模糊状态,则启动后视镜加热装置对后视镜进行加热。In addition, when the preset set of micro-expressions of the car owner is not obtained, it means that the car owner may not have preset the corresponding set of micro-expressions. Then, external information is obtained, whether heating is required based on the external information, and the corresponding heating demand level is determined based on the external information. , when the heating demand is greater than the preset level, it means that the rearview mirror is in a blurry state, and the rearview mirror heating device is started to heat the rearview mirror.
本发明实施例通过外界信息智能的调整加热装置启动后的加热时长,使得车辆的后视镜加热过程更智能,也更加节省能源。The embodiment of the present invention intelligently adjusts the heating time after the heating device is started through external information, making the vehicle's rearview mirror heating process more intelligent and more energy-saving.
图2为本发明实施例提供的一种后视镜自动加热装置,包括:获取模块S201、检测模块S202、采集模块S203、对比模块S204,其中:Figure 2 is an automatic rearview mirror heating device provided by an embodiment of the present invention, including: an acquisition module S201, a detection module S202, a collection module S203, and a comparison module S204, where:
获取模块S201,用于通过摄像装置采集到车主的摄像数据,并获取所述摄像数据中车主在车辆驾驶时的视线方向。The acquisition module S201 is used to collect the camera data of the car owner through the camera device, and obtain the direction of sight of the car owner while driving the vehicle in the camera data.
检测模块S202,用于当所述视线方向为后视镜方向时,检测所述车主保持所述视线方向的时长是否大于预设时长。The detection module S202 is used to detect whether the length of time the car owner maintains the direction of sight is greater than a preset time when the direction of sight is the direction of the rearview mirror.
采集模块S203,用于当所述车主保持视线方向的时长大于预设时长时,通过所述摄像装置采集所述车主的面部表情,并对所述面部表情进行微表情分析,得到微表情分析结果。The collection module S203 is used to collect the facial expression of the car owner through the camera device when the length of time the car owner maintains the direction of sight is longer than the preset time, and perform micro-expression analysis on the facial expression to obtain micro-expression analysis results. .
对比模块S204,用于获取预设的车主微表情集合,将所述微表情分析结果与所述车主微表情集合进行对比,当所述微表情分析结果与所述车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。Comparison module S204 is used to obtain a preset set of micro-expressions of the car owner, compare the analysis results of the micro-expressions with the set of micro-expressions of the car owner, and start when the analysis results of the micro-expressions match the set of micro-expressions of the car owner. The rearview mirror heating device heats the rearview mirrors.
在一个实施例中,装置还可以包括:In one embodiment, the device may further include:
第二获取模块,用于获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态。The second acquisition module is used to obtain external information, and determine the corresponding degree of heating demand based on the external information. The external information includes rainfall, exterior brightness, exterior temperature, and vehicle fog light status.
加热时长确定模块,用于根据所述加热需求程度确定所述加热装置启动后的加热时长。A heating duration determination module is used to determine the heating duration after the heating device is started according to the heating demand level.
在一个实施例中,装置还可以包括:In one embodiment, the device may further include:
第三获取模块,用于当未获取到预设的车主微表情集合时,获取外界信息,根据所述外界信息确定对应的加热需求程度,所述外界信息包括雨量大小、车外亮度、车外温度、车辆雾灯状态。The third acquisition module is used to obtain external information when the preset set of micro-expressions of the car owner is not obtained, and determine the corresponding degree of heating demand based on the external information. The external information includes rainfall, brightness outside the vehicle, brightness outside the vehicle, Temperature, vehicle fog light status.
启动模块,用于当所述加热需求程度大于预设等级时,启动后视镜加热装置对后视镜进行加热。A starting module is used to start the rearview mirror heating device to heat the rearview mirror when the heating demand level is greater than a preset level.
在一个实施例中,装置还可以包括:In one embodiment, the device may further include:
第四获取模块,用于获取所述雨量大小、车外亮度、车外温度、车辆雾灯状态对应的权重值,结合预设公式对所述雨量大小、车外亮度、车外温度、车辆雾灯状态进行加权求和,根据加权求和的计算结果得到对应的加热需求程度。The fourth acquisition module is used to obtain the weight values corresponding to the rainfall amount, vehicle exterior brightness, vehicle exterior temperature, and vehicle fog light status, and combine the preset formulas to calculate the rainfall amount, vehicle exterior brightness, vehicle exterior temperature, and vehicle fog light status. The lamp status is weighted and summed, and the corresponding heating demand level is obtained based on the calculation result of the weighted summation.
在一个实施例中,装置还可以包括:In one embodiment, the device may further include:
第二采集模块,用于根据车主预先上传的照片进行面部表情采集得到的微表情集合。The second collection module is used to collect a collection of micro-expressions based on facial expressions based on photos uploaded by the car owner in advance.
关于后视镜自动加热装置的具体限定可以参见上文中对于后视镜自动加热方法的限定,在此不再赘述。上述后视镜自动加热装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the automatic rearview mirror heating device, please refer to the above limitations on the automatic rearview mirror heating method, which will not be described again here. Each module in the above-mentioned automatic rearview mirror heating device can be realized in whole or in part through software, hardware and a combination thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
图3示例了一种电子设备的实体结构示意图,如图3所示,该电子设备可以包括:处理器(processor)301、存储器(memory)302、通信接口(Communications Interface)303和通信总线304,其中,处理器301,存储器302,通信接口303通过通信总线304完成相互间的通信。处理器301可以调用存储器302中的逻辑指令,以执行如下方法:通过摄像装置采集到车主的摄像数据,并获取摄像数据中车主在车辆驾驶时的视线方向;当视线方向为后视镜方向时,检测车主保持视线方向的时长是否大于预设时长;当车主保持视线方向的时长大于预设时长时,通过摄像装置采集车主的面部表情,并对面部表情进行微表情分析,得到微表情分析结果;获取预设的车主微表情集合,将微表情分析结果与车主微表情集合进行对比,当微表情分析结果与车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。Figure 3 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 3, the electronic device may include: a processor (processor) 301, a memory (memory) 302, a communications interface (Communications Interface) 303 and a communication bus 304. Among them, the processor 301, the memory 302, and the communication interface 303 complete communication with each other through the communication bus 304. The processor 301 can call the logic instructions in the memory 302 to perform the following method: collect the camera data of the car owner through the camera device, and obtain the direction of the car owner's line of sight while driving the vehicle in the camera data; when the line of sight direction is the direction of the rearview mirror , detecting whether the car owner maintains the gaze direction for longer than the preset time; when the car owner maintains the gaze direction for longer than the preset time, the facial expression of the car owner is collected through the camera device, and micro-expression analysis is performed on the facial expression to obtain the micro-expression analysis results ; Obtain the preset car owner's micro-expression set, compare the micro-expression analysis results with the car owner's micro-expression set, and when the micro-expression analysis results match the car owner's micro-expression set, start the rearview mirror heating device to heat the rearview mirror.
此外,上述的存储器302中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logical instructions in the memory 302 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
另一方面,本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的传输方法,例如包括:通过摄像装置采集到车主的摄像数据,并获取摄像数据中车主在车辆驾驶时的视线方向;当视线方向为后视镜方向时,检测车主保持视线方向的时长是否大于预设时长;当车主保持视线方向的时长大于预设时长时,通过摄像装置采集车主的面部表情,并对面部表情进行微表情分析,得到微表情分析结果;获取预设的车主微表情集合,将微表情分析结果与车主微表情集合进行对比,当微表情分析结果与车主微表情集合匹配时,启动后视镜加热装置对后视镜进行加热。On the other hand, embodiments of the present invention also provide a non-transitory computer-readable storage medium on which a computer program is stored. The computer program is implemented when executed by a processor to perform the transmission method provided by the above embodiments, for example, including : Collect the camera data of the car owner through the camera device, and obtain the direction of the car owner's gaze while driving the vehicle in the camera data; when the gaze direction is the direction of the rearview mirror, detect whether the length of time the car owner maintains the gaze direction is greater than the preset length; when the car owner When the duration of maintaining the gaze direction is longer than the preset duration, the facial expressions of the car owner are collected through the camera device, and micro-expression analysis is performed on the facial expressions to obtain the micro-expression analysis results; the preset micro-expression collection of the car owner is obtained, and the micro-expression analysis results are compared with The car owner's micro-expression collection is compared. When the micro-expression analysis results match the car owner's micro-expression collection, the rearview mirror heating device is started to heat the rearview mirror.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solutions that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be used Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111412384.4A CN114291038B (en) | 2021-11-25 | 2021-11-25 | Automatic heating method and device for rearview mirror |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111412384.4A CN114291038B (en) | 2021-11-25 | 2021-11-25 | Automatic heating method and device for rearview mirror |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114291038A CN114291038A (en) | 2022-04-08 |
CN114291038B true CN114291038B (en) | 2024-01-02 |
Family
ID=80965636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111412384.4A Active CN114291038B (en) | 2021-11-25 | 2021-11-25 | Automatic heating method and device for rearview mirror |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114291038B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140006569A (en) * | 2012-07-06 | 2014-01-16 | 인제대학교 산학협력단 | Apparatus for removing moisture on the side mirrors using rain sensor |
CN106335432A (en) * | 2016-08-29 | 2017-01-18 | 赵谕 | Smart rearview mirror with driving assistant system, control system and processing method |
CN107492347A (en) * | 2017-08-31 | 2017-12-19 | 惠州华阳通用电子有限公司 | A kind of electronics rearview mirror backlight control apparatus and method |
CN108556744A (en) * | 2018-04-11 | 2018-09-21 | 北京车和家信息技术有限公司 | Control method, control system and the vehicle of mirror heater device |
CN109050396A (en) * | 2018-07-16 | 2018-12-21 | 浙江合众新能源汽车有限公司 | A kind of vehicle intelligent robot |
CN109766776A (en) * | 2018-12-18 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Operation performing method, apparatus, computer equipment and storage medium |
CN112428925A (en) * | 2020-12-02 | 2021-03-02 | 安徽江淮汽车集团股份有限公司 | Control method, device and equipment for heating intelligent rearview mirror and storage medium |
CN113139469A (en) * | 2021-04-25 | 2021-07-20 | 武汉理工大学 | Driver road stress adjusting method and system based on micro-expression recognition |
-
2021
- 2021-11-25 CN CN202111412384.4A patent/CN114291038B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140006569A (en) * | 2012-07-06 | 2014-01-16 | 인제대학교 산학협력단 | Apparatus for removing moisture on the side mirrors using rain sensor |
CN106335432A (en) * | 2016-08-29 | 2017-01-18 | 赵谕 | Smart rearview mirror with driving assistant system, control system and processing method |
CN107492347A (en) * | 2017-08-31 | 2017-12-19 | 惠州华阳通用电子有限公司 | A kind of electronics rearview mirror backlight control apparatus and method |
CN108556744A (en) * | 2018-04-11 | 2018-09-21 | 北京车和家信息技术有限公司 | Control method, control system and the vehicle of mirror heater device |
CN109050396A (en) * | 2018-07-16 | 2018-12-21 | 浙江合众新能源汽车有限公司 | A kind of vehicle intelligent robot |
CN109766776A (en) * | 2018-12-18 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Operation performing method, apparatus, computer equipment and storage medium |
CN112428925A (en) * | 2020-12-02 | 2021-03-02 | 安徽江淮汽车集团股份有限公司 | Control method, device and equipment for heating intelligent rearview mirror and storage medium |
CN113139469A (en) * | 2021-04-25 | 2021-07-20 | 武汉理工大学 | Driver road stress adjusting method and system based on micro-expression recognition |
Also Published As
Publication number | Publication date |
---|---|
CN114291038A (en) | 2022-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11891023B1 (en) | Using camera data to manage a vehicle parked outside in cold climates | |
CN110852274A (en) | Intelligent rainfall sensing method and device based on image recognition | |
CN114676844A (en) | Method, apparatus, device, computer-readable storage medium for automatic driving | |
WO2021203717A1 (en) | Method for recognizing roadside parking behavior in complex scenario on basis of video frames | |
CN110147698A (en) | System and method for lane detection | |
US20150042805A1 (en) | Detecting device, detection method, and computer program product | |
CN112699719A (en) | Raindrop recognition device, vehicle control device, method of training model, and training model | |
CN110636224A (en) | Camera starting method, device, equipment and computer readable storage medium | |
CN111572549A (en) | Driving environment adjusting method and system, storage medium and electronic equipment | |
CN110263628A (en) | Obstacle detection method, device, electronic equipment and storage medium | |
EP3332352A1 (en) | Device and method for detecting a parking space that is available for a motor vehicle | |
CN114291038B (en) | Automatic heating method and device for rearview mirror | |
CN112541408B (en) | Feasible area identification method, apparatus, device, and computer-readable storage medium | |
CN111898475A (en) | State estimation method and device for non-motor vehicle, storage medium, and electronic device | |
WO2018015446A1 (en) | Method for determining a glare level for a motor vehicle driver | |
JP2021060782A (en) | Vehicle reservation system and vehicle reservation method | |
CN114852015B (en) | Automobile glass cleaning method, device and vehicle based on weather and visual recognition | |
CN113673361A (en) | Rain and fog recognition method, sweeping system and computer-readable storage medium | |
CN115158228A (en) | Automobile control method and device and storage medium | |
CN116022092A (en) | Vehicle wiper control method, device, vehicle and storage medium | |
CN110276322B (en) | Image processing method and device combined with vehicle machine idle resources | |
EP3635690A1 (en) | Device for recording movement data, corresponding method and program | |
CN109849851B (en) | Windscreen wiper control method and system | |
CN116118667B (en) | Intelligent wiper control method, device, vehicle and storage medium | |
CN117087608A (en) | Windshield wiper control method and device of new energy automobile |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang Applicant after: United New Energy Automobile Co.,Ltd. Address before: 314500 988 Tong Tong Road, Wu Tong Street, Tongxiang, Jiaxing, Zhejiang Applicant before: Hozon New Energy Automobile Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Automatic heating method and device for rearview mirrors Granted publication date: 20240102 Pledgee: Tongxiang Science and Technology Entrepreneurship Service Center Co.,Ltd. Pledgor: United New Energy Automobile Co.,Ltd. Registration number: Y2024330000709 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20250121 Granted publication date: 20240102 |