CN115257632B - Vehicle window defogging control method and device, computer equipment and storage medium - Google Patents
Vehicle window defogging control method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115257632B CN115257632B CN202210980307.7A CN202210980307A CN115257632B CN 115257632 B CN115257632 B CN 115257632B CN 202210980307 A CN202210980307 A CN 202210980307A CN 115257632 B CN115257632 B CN 115257632B
- Authority
- CN
- China
- Prior art keywords
- vehicle window
- information
- temperature
- vehicle
- image
- 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
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000007613 environmental effect Effects 0.000 claims abstract description 99
- 238000004590 computer program Methods 0.000 claims description 30
- 230000008859 change Effects 0.000 claims description 20
- 239000000725 suspension Substances 0.000 claims description 6
- 230000000694 effects Effects 0.000 abstract description 6
- 239000005357 flat glass Substances 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Chemical compound O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 241001156002 Anthonomus pomorum Species 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60S—SERVICING, CLEANING, REPAIRING, SUPPORTING, LIFTING, OR MANOEUVRING OF VEHICLES, NOT OTHERWISE PROVIDED FOR
- B60S1/00—Cleaning of vehicles
- B60S1/02—Cleaning windscreens, windows or optical devices
- B60S1/023—Cleaning windscreens, windows or optical devices including defroster or demisting means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60H—ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
- B60H1/00—Heating, cooling or ventilating [HVAC] devices
- B60H1/00271—HVAC devices specially adapted for particular vehicle parts or components and being connected to the vehicle HVAC unit
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60H—ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
- B60H1/00—Heating, cooling or ventilating [HVAC] devices
- B60H1/00642—Control systems or circuits; Control members or indication devices for heating, cooling or ventilating devices
- B60H1/00735—Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models
- B60H1/00785—Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models by the detection of humidity or frost
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Air-Conditioning For Vehicles (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及汽车零部件技术领域,特别是涉及一种车窗除雾控制方法、装置、计算机设备和存储介质。The present application relates to the technical field of automobile parts, and in particular to a vehicle window defog control method, device, computer equipment and storage medium.
背景技术Background technique
车窗作为驾驶员观察车外情况的窗口,对行车安全有着举足轻重的作用。As a window for drivers to observe the situation outside the car, car windows play a vital role in driving safety.
当车窗玻璃处在有温差的场景时,极容易形成雾气附着在车窗玻璃上,导致驾驶员的视线受影响,进而危害驾驶安全。虽然驾驶员可以通过启动车载空调来实现除雾,但该方法会分散驾驶员的注意力,不仅除雾效果不理想,同样也会带来一定的安全隐患。When the car window glass is in a scene with temperature difference, it is very easy to form fog and adhere to the car window glass, which will affect the driver's vision and endanger driving safety. Although the driver can start the car air conditioner to achieve defogger, this method will distract the driver's attention, not only the defogger effect is not ideal, but also brings certain safety hazards.
发明内容Summary of the invention
基于此,提供一种车窗除雾控制方法、装置、计算机设备和存储介质,以改善现有技术中车窗除雾效果不佳的问题。Based on this, a vehicle window defog control method, device, computer equipment and storage medium are provided to improve the problem of poor vehicle window defog effect in the prior art.
一方面,提供一种车窗除雾控制方法,所述方法包括:In one aspect, a vehicle window defog control method is provided, the method comprising:
获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;Acquiring environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;Determining whether a vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。If so, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
在其中一个实施例中,还包括:In one embodiment, it also includes:
将所述环境信息和结雾阈值进行对比,得到对比结果,根据所述对比结果判断所述车窗是否达到所述结雾条件,其中,所述环境信息包括湿度信息和温度信息,结雾阈值包括湿度阈值和温差阈值;Comparing the environmental information with the fogging threshold to obtain a comparison result, and judging whether the vehicle window reaches the fogging condition according to the comparison result, wherein the environmental information includes humidity information and temperature information, and the fogging threshold includes a humidity threshold and a temperature difference threshold;
当所述车窗达到所述结雾条件时,对所述环境信息进行调整。When the vehicle window reaches the fogging condition, the environmental information is adjusted.
在其中一个实施例中,还包括:In one embodiment, it also includes:
获取实时车窗图像;Get real-time car window images;
将所述实时车窗图像和正常车窗图像进行对比,以判断所述车窗是否结雾;Comparing the real-time vehicle window image with a normal vehicle window image to determine whether the vehicle window is fogged;
若是,则根据所述环境信息和所述车窗图像选择对应的除雾方案对所述车窗进行除雾。If so, a corresponding defog scheme is selected according to the environmental information and the vehicle window image to defog the vehicle window.
在其中一个实施例中,还包括:In one embodiment, it also includes:
将所述湿度信息和所述湿度阈值进行对比;comparing the humidity information with the humidity threshold;
当所述湿度信息大于所述湿度阈值时,获取所述温度信息,其中,所述温度信息包括环境温度和座舱温度;When the humidity information is greater than the humidity threshold, acquiring the temperature information, wherein the temperature information includes the ambient temperature and the cabin temperature;
根据所述环境温度和所述座舱温度得到第一温差,将所述第一温差和所述第一温差阈值进行对比;Obtaining a first temperature difference according to the ambient temperature and the cabin temperature, and comparing the first temperature difference with the first temperature difference threshold;
当所述第一温差大于所述第一温差阈值时,对所述车窗进行温度控制。When the first temperature difference is greater than the first temperature difference threshold, the vehicle window is temperature controlled.
在其中一个实施例中,还包括:In one embodiment, it also includes:
获取车窗温度,根据所述车窗温度和所述环境温度得到第二温差;Acquiring a vehicle window temperature, and obtaining a second temperature difference according to the vehicle window temperature and the ambient temperature;
将所述第二温差和所述第二温差阈值进行对比;comparing the second temperature difference with the second temperature difference threshold;
当所述第二温差小于所述第二温差阈值时,暂停对所述车窗进行所述温度控制。When the second temperature difference is less than the second temperature difference threshold, the temperature control of the vehicle window is suspended.
在其中一个实施例中,还包括:In one embodiment, it also includes:
当对所述车窗进行所述温度控制时,记录相应的时间,得到温控时间;When the temperature of the vehicle window is controlled, the corresponding time is recorded to obtain the temperature control time;
当暂停对所述车窗进行所述温度控制时,记录相应的时间,得到暂停时间;When the temperature control of the vehicle window is suspended, the corresponding time is recorded to obtain the suspension time;
将所述温控时间和所述暂停时间进行对比,当温控时间大于或等于所述暂停时间时,将所述环境信息和所述结雾阈值进行对比,以判断所述车窗是否达到所述结雾条件。The temperature control time is compared with the pause time. When the temperature control time is greater than or equal to the pause time, the environmental information is compared with the fogging threshold to determine whether the vehicle window meets the fogging condition.
在其中一个实施例中,还包括:In one embodiment, it also includes:
实时获取至少两帧车窗图像,其中,所述车窗图像包括第一帧车窗图像和第二帧车窗图像;Acquire at least two vehicle window image frames in real time, wherein the vehicle window images include a first vehicle window image frame and a second vehicle window image frame;
获取所述第一帧车窗图像的第一图像信息和所述第二帧车窗图像的第二图像信息;Acquire first image information of the first frame vehicle window image and second image information of the second frame vehicle window image;
根据所述第一图像信息判断所述第一帧车窗图像的清晰度是否达到清晰度阈值;Determining whether the clarity of the first frame of the vehicle window image reaches a clarity threshold according to the first image information;
若是,则根据所述第一图像信息和所述第二图像信息得到所述第一帧车窗图像和所述第二帧车窗图像的变化信息;If yes, obtaining the change information of the first frame vehicle window image and the second frame vehicle window image according to the first image information and the second image information;
根据所述变化信息判断所述车窗是否结雾。Determine whether the vehicle window is fogged according to the change information.
另一方面,提供了一种车窗除雾控制装置,所述装置包括:In another aspect, a vehicle window defogger control device is provided, the device comprising:
获取模块,用于获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;An acquisition module, used to acquire environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
判断模块,用于根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;A judgment module, used for judging whether the vehicle window meets the fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
调整模块,用于通过温控方式对所述环境信息进行调整,以预防所述车窗结雾。The adjustment module is used to adjust the environmental information by temperature control to prevent the vehicle window from fogging.
再一方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;Acquiring environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;Determining whether a vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。If so, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
又一方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;Acquiring environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;Determining whether a vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。If so, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
上述车窗除雾控制方法、装置、计算机设备和存储介质,通过获取环境信息,可以根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件,若达到结雾条件则可以通过温控方式对所述环境信息进行调整,防止车窗结雾,同时还要检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制,以使对车窗除雾过程能进行更有效地管控。通过上述车窗除雾控制方法能够有效地对车窗进行除雾控制,提升除雾效果。The above-mentioned vehicle window defogger control method, device, computer equipment and storage medium can determine whether the vehicle window has reached the fogging condition according to the vehicle interior environment information and the vehicle exterior environment information by acquiring environmental information. If the fogging condition has been reached, the environmental information can be adjusted by temperature control to prevent the vehicle window from fogging. At the same time, the vehicle window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the vehicle window information, so that the vehicle window defogger process can be more effectively controlled. The above-mentioned vehicle window defogger control method can effectively control the vehicle window defogger and improve the defogger effect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一个实施例中车窗除雾控制方法的流程示意图;FIG1 is a schematic flow chart of a vehicle window defog control method according to an embodiment;
图2为一个实施例中车窗除雾控制装置的结构框图;FIG2 is a structural block diagram of a vehicle window defogger control device in one embodiment;
图3为一个实施例中计算机设备的内部结构图。FIG. 3 is a diagram showing the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
需要说明的是,本实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。本说明书所附图式所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本发明可实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本发明所能产生的功效及所能达成的目的下,均应仍落在本发明所揭示的技术内容得能涵盖的范围内。同时,本说明书中所引用的如“上”、“下”、“左”、“右”、“中间”及“一”等的用语,亦仅为便于叙述的明了,而非用以限定本发明可实施的范围,其相对关系的改变或调整,在无实质变更技术内容下,当亦视为本发明可实施的范畴。It should be noted that the diagram provided in the present embodiment only illustrates the basic concept of the present invention in a schematic manner, so the diagram only shows the components related to the present invention rather than drawing according to the number, shape and size of the components during actual implementation. The type, quantity and ratio of each component during actual implementation can be a random change, and the component layout type may also be more complicated. The structure, ratio, size, etc. illustrated in the drawings of the present specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions that the present invention can implement, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effect that the present invention can produce and the purpose that can be achieved. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of narration, and are not used to limit the scope of the present invention. The change or adjustment of its relative relationship should also be regarded as the scope of the present invention without substantial change of the technical content.
当车窗玻璃处在有温差的场景时,极容易形成雾气附着在车窗玻璃上,导致驾驶员的视线受影响,进而危害驾驶安全。虽然驾驶员可以通过启动车载空调来实现除雾,但该方法会分散驾驶员的注意力,不仅除雾效果不理想,同样也会带来一定的安全隐患。When the car window glass is in a scene with temperature difference, it is very easy to form fog and adhere to the car window glass, which will affect the driver's vision and endanger driving safety. Although the driver can start the car air conditioner to achieve defogger, this method will distract the driver's attention, not only the defogger effect is not ideal, but also brings certain safety hazards.
在一个实施例中,如图1所示,提供了一种车窗除雾控制方法,以该方法应用于车辆为例进行说明,包括以下步骤:In one embodiment, as shown in FIG1 , a vehicle window defog control method is provided, and the method is described by taking the application of the method to a vehicle as an example, including the following steps:
步骤101,获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息。Step 101, obtaining environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information.
具体地,可以通过车辆上设有的传感器来获取环境信息,或通过联网的方式获取车外环境信息。Specifically, the environmental information can be obtained through sensors installed on the vehicle, or the external environmental information can be obtained through networking.
步骤102,根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件。Step 102: determine whether the vehicle windows have reached a fogging condition based on the vehicle interior environment information and the vehicle exterior environment information.
其中,结雾条件指的是空气中的水汽在车窗玻璃上凝成水滴时的阈值(临界值)。Among them, the fogging condition refers to the threshold (critical value) when water vapor in the air condenses into water droplets on the car window glass.
具体地,在空气湿度和车内外温差达到一定阈值时,则可能会在车窗玻璃内侧或车窗玻璃外侧结雾,因此通过车内环境信息和车外环境信息可以判断是否存在结雾可能。Specifically, when the air humidity and the temperature difference between the inside and outside of the vehicle reach a certain threshold, fog may form on the inside or outside of the vehicle window glass. Therefore, whether fogging is possible can be determined based on the inside and outside environment information.
步骤103,若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。Step 103: If yes, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
其中,温控方式指的是控制温度的方式,通过控制温度来防止车窗结雾,温控方式可以是通过启用车载空调对车内和/或车窗的温度进行调节,和/或存在温控装置可以对车窗玻璃进行温度控制,例如对车窗进行升温或降温。Among them, the temperature control method refers to a method of controlling temperature, which prevents the car windows from fogging up. The temperature control method can be to adjust the temperature of the car interior and/or the windows by activating the car air conditioner, and/or there is a temperature control device that can control the temperature of the car window glass, such as heating or cooling the windows.
具体地,通过温控方式对环境信息进行调整时,同时还需要检测车窗的车窗信息,根据车窗信息控制温控方式,以使温控方式能够根据实时车窗信息进行适应性地调整,还能防止温控方式的执行时间过长,降低车窗玻璃的使用耐久性。Specifically, when adjusting environmental information through temperature control, it is also necessary to detect the window information of the vehicle windows and control the temperature control method according to the window information, so that the temperature control method can be adaptively adjusted according to the real-time window information, and it can also prevent the temperature control method from being executed for too long, reducing the durability of the window glass.
上述车窗除雾控制方法中,通过获取环境信息,可以根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件,若达到结雾条件则可以通过温控方式对所述环境信息进行调整,防止车窗结雾,同时还要检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制,以使对车窗除雾过程能进行更有效地管控。通过上述车窗除雾控制方法能够有效地对车窗进行除雾。In the above-mentioned vehicle window defogger control method, by acquiring environmental information, it is possible to determine whether the vehicle window has reached the fogging condition according to the vehicle interior environmental information and the vehicle exterior environmental information. If the fogging condition has been reached, the environmental information can be adjusted by temperature control to prevent the vehicle window from fogging. At the same time, the vehicle window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the vehicle window information, so that the vehicle window defogger process can be more effectively controlled. The vehicle window can be defogged effectively by the above-mentioned vehicle window defogger control method.
在其中一个实施例中,还包括:In one embodiment, it also includes:
将所述环境信息和结雾阈值进行对比,得到对比结果,根据所述对比结果判断所述车窗是否达到所述结雾条件,其中,所述环境信息包括湿度信息和温度信息,结雾阈值包括湿度阈值和温差阈值;Comparing the environmental information with the fogging threshold to obtain a comparison result, and judging whether the vehicle window reaches the fogging condition according to the comparison result, wherein the environmental information includes humidity information and temperature information, and the fogging threshold includes a humidity threshold and a temperature difference threshold;
当所述车窗达到所述结雾条件时,对所述环境信息进行调整。When the vehicle window reaches the fogging condition, the environmental information is adjusted.
其中,结雾阈值是一种结雾条件,当车内外环境信息达到结雾阈值所对应的条件时,则此时的车窗玻璃可能会结雾。The fogging threshold is a fogging condition. When the vehicle interior and exterior environment information reaches the condition corresponding to the fogging threshold, the vehicle window glass may fog up.
具体地,根据温度信息计算车内外温差,得到温差信息,将湿度信息与湿度阈值进行对比以及将温差信息和温差阈值进行对比,得到对比结果,根据对比结果判断车窗是否达到结雾条件,若是,则对环境信息进行调整。Specifically, the temperature difference between inside and outside the vehicle is calculated based on the temperature information to obtain the temperature difference information, the humidity information is compared with the humidity threshold, and the temperature difference information is compared with the temperature difference threshold to obtain a comparison result, and whether the vehicle window reaches the fogging condition is determined based on the comparison result. If so, the environmental information is adjusted.
优选地,可以通过湿度信息计算相对湿度,其中,相对湿度指的是空气中实际水汽含量(绝对湿度)与同温度下的饱和湿度(最大可能水汽含量)的百分比值,若相对湿度达到湿度阈值(例如100%),则证明空气中的水汽超过饱和量,达到了饱和状态,可能会凝结成水珠,即结雾。Preferably, relative humidity can be calculated through humidity information, wherein relative humidity refers to the percentage value of the actual water vapor content in the air (absolute humidity) to the saturated humidity (maximum possible water vapor content) at the same temperature. If the relative humidity reaches a humidity threshold (e.g. 100%), it proves that the water vapor in the air exceeds the saturation amount and has reached a saturated state, and may condense into water droplets, i.e., fog.
在其中一个实施例中,还包括:In one embodiment, it also includes:
获取实时车窗图像;Get real-time car window images;
将所述实时车窗图像和正常车窗图像进行对比,以判断所述车窗是否结雾;Comparing the real-time vehicle window image with a normal vehicle window image to determine whether the vehicle window is fogged;
若是,则根据所述环境信息和所述车窗图像选择对应的除雾方案对所述车窗进行除雾。If so, a corresponding defog scheme is selected according to the environmental information and the vehicle window image to defog the vehicle window.
其中,正常车窗图像为车窗未结雾时的图像信息,可以是预存的,也可以是联网获取的。The normal window image is the image information when the window is not fogged, which can be pre-stored or obtained through the Internet.
具体地,通过将实时车窗图像和正常车窗图像进行对比,以判断车窗是否已经结雾,若是,则需要根据环境信息判断是车窗内侧起雾还是车窗外侧起雾,并选择对应的除雾方案对车窗进行除雾。Specifically, the real-time window image is compared with the normal window image to determine whether the window is fogged. If so, it is necessary to determine whether the fog is on the inside or outside of the window based on environmental information, and select the corresponding defogger solution to defog the window.
可以理解的是,结雾原因通常是因为热空气接触到冷玻璃,所以会在玻璃上结雾,而根据不同的环境信息,则可能存在内侧结雾或外侧结雾的两种情况。It is understandable that fogging is usually caused by hot air coming into contact with cold glass, which results in fogging on the glass. Depending on the environmental information, there may be two situations: fogging on the inside or fogging on the outside.
在其中一个实施例中,还包括:In one embodiment, it also includes:
将所述湿度信息和所述湿度阈值进行对比;comparing the humidity information with the humidity threshold;
当所述湿度信息大于所述湿度阈值时,获取所述温度信息,其中,所述温度信息包括环境温度和座舱温度;When the humidity information is greater than the humidity threshold, acquiring the temperature information, wherein the temperature information includes the ambient temperature and the cabin temperature;
根据所述环境温度和所述座舱温度得到第一温差,将所述第一温差和所述第一温差阈值进行对比;Obtaining a first temperature difference according to the ambient temperature and the cabin temperature, and comparing the first temperature difference with the first temperature difference threshold;
当所述第一温差大于所述第一温差阈值时,对所述车窗进行温度控制。When the first temperature difference is greater than the first temperature difference threshold, the vehicle window is temperature controlled.
其中,环境温度指的是车窗所处的环境温度,其包含车外环境温度和车内环境温度,但在结雾判断过程中,可以以车外环境温度为准便于计算说明,而座舱温度则用于表示说明车内的温度信息。Among them, the ambient temperature refers to the ambient temperature of the vehicle window, which includes the ambient temperature outside the vehicle and the ambient temperature inside the vehicle. However, in the process of fogging judgment, the ambient temperature outside the vehicle can be used as the basis for calculation and explanation, while the cabin temperature is used to indicate the temperature information inside the vehicle.
具体地,根据环境温度和座舱温度计算出第一温差,为车内外的环境温差,将第一温差与第一温差阈值进行对比,以判断在当前环境温差情况下,是否会发生结雾现象,若是,则进行温度控制。Specifically, a first temperature difference is calculated based on the ambient temperature and the cabin temperature, which is the ambient temperature difference between the inside and outside of the vehicle. The first temperature difference is compared with a first temperature difference threshold to determine whether fogging will occur under the current ambient temperature difference. If so, temperature control is performed.
在其中一个实施例中,还包括:In one embodiment, it also includes:
获取车窗温度,根据所述车窗温度和所述环境温度得到第二温差;Acquiring a vehicle window temperature, and obtaining a second temperature difference according to the vehicle window temperature and the ambient temperature;
将所述第二温差和所述第二温差阈值进行对比;comparing the second temperature difference with the second temperature difference threshold;
当所述第二温差小于所述第二温差阈值时,暂停对所述车窗进行所述温度控制。When the second temperature difference is less than the second temperature difference threshold, the temperature control of the vehicle window is suspended.
具体地,除了需要获取车辆内外环境的温差,还需要获取车窗温度与环境温度的温差,以反映车窗相对于周围环境的温度情况,能够更精确地对车窗进行温度控制。Specifically, in addition to obtaining the temperature difference between the inside and outside environments of the vehicle, it is also necessary to obtain the temperature difference between the window temperature and the ambient temperature to reflect the temperature condition of the window relative to the surrounding environment, so as to more accurately control the temperature of the window.
在其中一个实施例中,还包括:In one embodiment, it also includes:
当对所述车窗进行所述温度控制时,记录相应的时间,得到温控时间;When the temperature of the vehicle window is controlled, the corresponding time is recorded to obtain the temperature control time;
当暂停对所述车窗进行所述温度控制时,记录相应的时间,得到暂停时间;When the temperature control of the vehicle window is suspended, the corresponding time is recorded to obtain the suspension time;
将所述温控时间和所述暂停时间进行对比,当温控时间大于或等于所述暂停时间时,将所述环境信息和所述结雾阈值进行对比,以判断所述车窗是否达到所述结雾条件。The temperature control time is compared with the pause time. When the temperature control time is greater than or equal to the pause time, the environmental information is compared with the fogging threshold to determine whether the vehicle window meets the fogging condition.
当温度控制暂停后,则可能再次形成结雾条件,因此通过将温控时间和暂停时间进行对比,在温控时间大于或等于暂停时间后,将环境信息和结雾阈值再次进行对比,以判断车窗是否又达到结雾条件。When temperature control is suspended, fogging conditions may form again. Therefore, by comparing the temperature control time and the pause time, after the temperature control time is greater than or equal to the pause time, the environmental information and the fogging threshold are compared again to determine whether the vehicle windows have reached the fogging conditions again.
在其中一个实施例中,还包括:In one embodiment, it also includes:
实时获取至少两帧车窗图像,其中,所述车窗图像包括第一帧车窗图像和第二帧车窗图像;Acquire at least two vehicle window image frames in real time, wherein the vehicle window image frames include a first vehicle window image frame and a second vehicle window image frame;
获取所述第一帧车窗图像的第一图像信息和所述第二帧车窗图像的第二图像信息;Acquire first image information of the first frame vehicle window image and second image information of the second frame vehicle window image;
根据所述第一图像信息判断所述第一帧车窗图像的清晰度是否达到清晰度阈值;Determining whether the clarity of the first frame of the vehicle window image reaches a clarity threshold according to the first image information;
若是,则根据所述第一图像信息和所述第二图像信息得到所述第一帧车窗图像和所述第二帧车窗图像的变化信息;If yes, obtaining the change information of the first frame vehicle window image and the second frame vehicle window image according to the first image information and the second image information;
根据所述变化信息判断所述车窗是否结雾。Determine whether the vehicle window is fogged according to the change information.
其中,第一帧车窗图像和第二帧车窗图像仅为便于说明而举例,实际上并未对车窗图像的数量和/或获取条件进行限定,可以理解的是,本实施例还可以包括第三帧车窗图像、第四帧车窗图像等,以及第一帧车窗图像和第二帧车窗图像间也并未限定其间隔时间为一帧。Among them, the first frame of the vehicle window image and the second frame of the vehicle window image are examples only for the convenience of explanation, and in fact, the number and/or acquisition conditions of the vehicle window images are not limited. It can be understood that this embodiment can also include a third frame of the vehicle window image, a fourth frame of the vehicle window image, etc., and the interval time between the first frame of the vehicle window image and the second frame of the vehicle window image is not limited to one frame.
具体地,将采集到的车窗图像经过图像处理,如灰度处理、滤波处理、边缘识别等,得到对应的图像信息,其中,图像信息包括图像的像素信息、直方图信息、RGB信息、HSV信息等在此不再赘述,进一步地能够根据图像信息计算出图像的清晰度。Specifically, the collected window image is subjected to image processing, such as grayscale processing, filtering processing, edge recognition, etc., to obtain corresponding image information, wherein the image information includes pixel information, histogram information, RGB information, HSV information, etc. of the image, which will not be repeated here, and the clarity of the image can be further calculated based on the image information.
示例性地,可以将RGB图像经过灰度处理转换成灰度图,并通过灰度图对应的直方图信息的分布情况,判断图像是否存在雾,可以理解的是,若图像无雾时,灰度图的直方图应该是分布相对均匀的。Exemplarily, the RGB image can be converted into a grayscale image through grayscale processing, and the distribution of the histogram information corresponding to the grayscale image can be used to determine whether the image has fog. It can be understood that if the image has no fog, the histogram of the grayscale image should be distributed relatively evenly.
优选地,也可以将图像由RGB颜色空间转化为HSV颜色空间,通过HSV颜色空间进行清晰度检测。Preferably, the image may also be converted from the RGB color space to the HSV color space, and the clarity detection may be performed using the HSV color space.
更优地,还可以通过多种清晰度算法、调焦评价函数等对车窗图像进行识别以及清晰度检测,其中包括Brenner函数、Tenengrad梯度函数、Laplacian梯度函数、灰度方差函数等,在此不再赘述。Preferably, the window image can be recognized and the clarity detected by a variety of clarity algorithms, focusing evaluation functions, etc., including Brenner function, Tenengrad gradient function, Laplacian gradient function, grayscale variance function, etc., which will not be repeated here.
当识别到第一帧车窗图像的清晰度未达到清晰度阈值时,再结合当前的环境信息与结雾条件进行判断此刻的第一帧车窗图像是否为已经结雾的车窗图像,若是,则根据环境信息判断是车窗内侧起雾或车窗外侧起雾,并根据不同的情况,选择对应的除雾方法(包括温度控制、车窗清洗等)。When it is identified that the clarity of the first frame of the window image does not reach the clarity threshold, the current environmental information and fogging conditions are combined to determine whether the first frame of the window image at this moment is a fogged window image. If so, it is determined based on the environmental information whether the window is fogged on the inside or outside, and the corresponding defogger method (including temperature control, window cleaning, etc.) is selected according to different situations.
若识别到第一帧车窗图像的清晰度达到清晰度阈值时,则可以通过将第二帧车窗图像的第二图像信息与第一帧车窗图像的第一图像信息进行对比,得到变化信息,根据变化信息判断第二帧车窗图像相对于第一帧车窗图像是否发生清晰度上的改变,若变化信息大于变化阈值,则可能说明由第一帧车窗图像到第二帧车窗图像的采集过程中,产生了结雾现象,进而明显影响了第二帧车窗图像的清晰度。通过动态检测的方式,使对车窗结雾情况的检测更加精准,更提升了车窗除雾的控制效率,结合以上实施例,不仅在预防车窗结雾的方面进行了控制,还在检测到车窗结雾后也有相应的控制方法来应对,极大提升了车辆使用者的使用体验。If it is recognized that the clarity of the first frame window image reaches the clarity threshold, the second image information of the second frame window image can be compared with the first image information of the first frame window image to obtain change information, and whether the second frame window image has changed in clarity relative to the first frame window image can be determined based on the change information. If the change information is greater than the change threshold, it may indicate that fogging has occurred during the acquisition process from the first frame window image to the second frame window image, which significantly affects the clarity of the second frame window image. Through dynamic detection, the detection of window fogging is more accurate, and the control efficiency of window defogger is further improved. Combined with the above embodiments, not only is control performed in terms of preventing window fogging, but there is also a corresponding control method to deal with it after detecting window fogging, which greatly improves the user experience of the vehicle user.
此外,还需说明的是,在获取实时车窗图像过程中,获取到的车窗图像可以是对焦在车窗玻璃上或对焦在车窗外某一个或多个物体目标上,在此不做限定。In addition, it should be noted that in the process of acquiring real-time window images, the acquired window images may be focused on the window glass or on one or more object targets outside the window, which is not limited here.
应该理解的是,虽然以上的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,以上流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
在一个实施例中,如图2所示,提供了一种车窗除雾控制装置,包括:获取模块、判断模块和调整模块,其中:In one embodiment, as shown in FIG2 , a vehicle window defog control device is provided, comprising: an acquisition module, a judgment module and an adjustment module, wherein:
获取模块,用于获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;An acquisition module, used to acquire environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
判断模块,用于根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;A judgment module, used for judging whether the vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
调整模块,用于通过温控方式对所述环境信息进行调整,以预防所述车窗结雾。The adjustment module is used to adjust the environmental information by temperature control to prevent the vehicle window from fogging.
在其中一个实施例中,还包括:In one embodiment, it also includes:
所述判断模块,还用于将所述环境信息和结雾阈值进行对比,得到对比结果,根据所述对比结果判断所述车窗是否达到所述结雾条件,其中,所述环境信息包括湿度信息和温度信息,结雾阈值包括湿度阈值和温差阈值;The judgment module is further used to compare the environmental information with the fogging threshold to obtain a comparison result, and judge whether the vehicle window reaches the fogging condition according to the comparison result, wherein the environmental information includes humidity information and temperature information, and the fogging threshold includes a humidity threshold and a temperature difference threshold;
当所述车窗达到所述结雾条件时,对所述环境信息进行调整。When the vehicle window reaches the fogging condition, the environmental information is adjusted.
在其中一个实施例中,还包括:In one embodiment, it also includes:
图像识别模块,用于获取实时车窗图像;Image recognition module, used to obtain real-time vehicle window images;
将所述实时车窗图像和正常车窗图像进行对比,以判断所述车窗是否结雾;Comparing the real-time vehicle window image with a normal vehicle window image to determine whether the vehicle window is fogged;
若是,则根据所述环境信息和所述车窗图像选择对应的除雾方案对所述车窗进行除雾。If so, a corresponding defog scheme is selected according to the environmental information and the vehicle window image to defog the vehicle window.
在其中一个实施例中,还包括:In one embodiment, it also includes:
所述判断模块,还用于将所述湿度信息和所述湿度阈值进行对比;The judgment module is further used to compare the humidity information with the humidity threshold;
当所述湿度信息大于所述湿度阈值时,获取所述温度信息,其中,所述温度信息包括环境温度和座舱温度;When the humidity information is greater than the humidity threshold, acquiring the temperature information, wherein the temperature information includes the ambient temperature and the cabin temperature;
根据所述环境温度和所述座舱温度得到第一温差,将所述第一温差和所述第一温差阈值进行对比;Obtaining a first temperature difference according to the ambient temperature and the cabin temperature, and comparing the first temperature difference with the first temperature difference threshold;
当所述第一温差大于所述第一温差阈值时,对所述车窗进行温度控制。When the first temperature difference is greater than the first temperature difference threshold, the vehicle window is temperature controlled.
在其中一个实施例中,还包括:In one embodiment, it also includes:
获取车窗温度,根据所述车窗温度和所述环境温度得到第二温差;Acquiring a vehicle window temperature, and obtaining a second temperature difference according to the vehicle window temperature and the ambient temperature;
将所述第二温差和所述第二温差阈值进行对比;comparing the second temperature difference with the second temperature difference threshold;
当所述第二温差小于所述第二温差阈值时,暂停对所述车窗进行所述温度控制。When the second temperature difference is less than the second temperature difference threshold, the temperature control of the vehicle window is suspended.
在其中一个实施例中,还包括:In one embodiment, it also includes:
计时模块,用于当对所述车窗进行所述温度控制时,记录相应的时间,得到温控时间;A timing module, used for recording the corresponding time when the temperature of the vehicle window is controlled to obtain the temperature control time;
当暂停对所述车窗进行所述温度控制时,记录相应的时间,得到暂停时间;When the temperature control of the vehicle window is suspended, the corresponding time is recorded to obtain the suspension time;
将所述温控时间和所述暂停时间进行对比,当温控时间大于或等于所述暂停时间时,将所述环境信息和所述结雾阈值进行对比,以判断所述车窗是否达到所述结雾条件。The temperature control time is compared with the pause time. When the temperature control time is greater than or equal to the pause time, the environmental information is compared with the fogging threshold to determine whether the vehicle window meets the fogging condition.
在其中一个实施例中,还包括:In one embodiment, it also includes:
所述图像识别模块,还用于实时获取至少两帧车窗图像,其中,所述车窗图像包括第一帧车窗图像和第二帧车窗图像;The image recognition module is further used to acquire at least two vehicle window images in real time, wherein the vehicle window images include a first vehicle window image and a second vehicle window image;
获取所述第一帧车窗图像的第一图像信息和所述第二帧车窗图像的第二图像信息;Acquire first image information of the first frame vehicle window image and second image information of the second frame vehicle window image;
根据所述第一图像信息判断所述第一帧车窗图像的清晰度是否达到清晰度阈值;Determining whether the clarity of the first frame of the vehicle window image reaches a clarity threshold according to the first image information;
若是,则根据所述第一图像信息和所述第二图像信息得到所述第一帧车窗图像和所述第二帧车窗图像的变化信息;If yes, obtaining the change information of the first frame vehicle window image and the second frame vehicle window image according to the first image information and the second image information;
根据所述变化信息判断所述车窗是否结雾。Determine whether the vehicle window is fogged according to the change information.
关于车窗除雾控制装置的具体限定可以参见上文中对于车窗除雾控制方法的限定,在此不再赘述。上述车窗除雾控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。The specific definition of the vehicle window defogger control device can be found in the definition of the vehicle window defogger control method mentioned above, which will not be repeated here. Each module in the above-mentioned vehicle window defogger control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can 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所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储控制车窗除雾的相关数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种车窗除雾控制方法。In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in FIG3. The computer device includes a processor, a memory, a network interface, and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store relevant data for controlling vehicle window defogger. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a vehicle window defogger control method is implemented.
本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in FIG. 3 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;Acquiring environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;Determining whether a vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。If so, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
将所述环境信息和结雾阈值进行对比,得到对比结果,根据所述对比结果判断所述车窗是否达到所述结雾条件,其中,所述环境信息包括湿度信息和温度信息,结雾阈值包括湿度阈值和温差阈值;Comparing the environmental information with the fogging threshold to obtain a comparison result, and judging whether the vehicle window reaches the fogging condition according to the comparison result, wherein the environmental information includes humidity information and temperature information, and the fogging threshold includes a humidity threshold and a temperature difference threshold;
当所述车窗达到所述结雾条件时,对所述环境信息进行调整。When the vehicle window reaches the fogging condition, the environmental information is adjusted.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
获取实时车窗图像;Get real-time car window images;
将所述实时车窗图像和正常车窗图像进行对比,以判断所述车窗是否结雾;Comparing the real-time vehicle window image with a normal vehicle window image to determine whether the vehicle window is fogged;
若是,则根据所述环境信息和所述车窗图像选择对应的除雾方案对所述车窗进行除雾。If so, a corresponding defog scheme is selected according to the environmental information and the vehicle window image to defog the vehicle window.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
将所述湿度信息和所述湿度阈值进行对比;comparing the humidity information with the humidity threshold;
当所述湿度信息大于所述湿度阈值时,获取所述温度信息,其中,所述温度信息包括环境温度和座舱温度;When the humidity information is greater than the humidity threshold, acquiring the temperature information, wherein the temperature information includes the ambient temperature and the cabin temperature;
根据所述环境温度和所述座舱温度得到第一温差,将所述第一温差和所述第一温差阈值进行对比;Obtaining a first temperature difference according to the ambient temperature and the cabin temperature, and comparing the first temperature difference with the first temperature difference threshold;
当所述第一温差大于所述第一温差阈值时,对所述车窗进行温度控制。When the first temperature difference is greater than the first temperature difference threshold, the vehicle window is temperature controlled.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
获取车窗温度,根据所述车窗温度和所述环境温度得到第二温差;Acquiring a vehicle window temperature, and obtaining a second temperature difference according to the vehicle window temperature and the ambient temperature;
将所述第二温差和所述第二温差阈值进行对比;comparing the second temperature difference with the second temperature difference threshold;
当所述第二温差小于所述第二温差阈值时,暂停对所述车窗进行所述温度控制。When the second temperature difference is less than the second temperature difference threshold, the temperature control of the vehicle window is suspended.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
当对所述车窗进行所述温度控制时,记录相应的时间,得到温控时间;When the temperature of the vehicle window is controlled, the corresponding time is recorded to obtain the temperature control time;
当暂停对所述车窗进行所述温度控制时,记录相应的时间,得到暂停时间;When the temperature control of the vehicle window is suspended, the corresponding time is recorded to obtain the suspension time;
将所述温控时间和所述暂停时间进行对比,当温控时间大于或等于所述暂停时间时,将所述环境信息和所述结雾阈值进行对比,以判断所述车窗是否达到所述结雾条件。The temperature control time is compared with the pause time. When the temperature control time is greater than or equal to the pause time, the environmental information is compared with the fogging threshold to determine whether the vehicle window meets the fogging condition.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, when the processor executes the computer program, the following steps are also implemented:
实时获取至少两帧车窗图像,其中,所述车窗图像包括第一帧车窗图像和第二帧车窗图像;Acquire at least two vehicle window image frames in real time, wherein the vehicle window images include a first vehicle window image frame and a second vehicle window image frame;
获取所述第一帧车窗图像的第一图像信息和所述第二帧车窗图像的第二图像信息;Acquire first image information of the first frame vehicle window image and second image information of the second frame vehicle window image;
根据所述第一图像信息判断所述第一帧车窗图像的清晰度是否达到清晰度阈值;Determining whether the clarity of the first frame of the vehicle window image reaches a clarity threshold according to the first image information;
若是,则根据所述第一图像信息和所述第二图像信息得到所述第一帧车窗图像和所述第二帧车窗图像的变化信息;If yes, obtaining the change information of the first frame vehicle window image and the second frame vehicle window image according to the first image information and the second image information;
根据所述变化信息判断所述车窗是否结雾。Determine whether the vehicle window is fogged according to the change information.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取环境信息,其中,所述环境信息包括车内环境信息和车外环境信息;Acquiring environmental information, wherein the environmental information includes in-vehicle environmental information and out-vehicle environmental information;
根据所述车内环境信息和所述车外环境信息判断车窗是否达到结雾条件;Determining whether a vehicle window has reached a fogging condition according to the vehicle interior environment information and the vehicle exterior environment information;
若是,则通过温控方式对所述环境信息进行调整,并检测所述车窗的车窗信息,根据所述车窗信息对所述温控方式进行相应地控制。If so, the environmental information is adjusted through a temperature control method, and the window information of the vehicle window is detected, and the temperature control method is controlled accordingly according to the window information.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
将所述环境信息和结雾阈值进行对比,得到对比结果,根据所述对比结果判断所述车窗是否达到所述结雾条件,其中,所述环境信息包括湿度信息和温度信息,结雾阈值包括湿度阈值和温差阈值;Comparing the environmental information with the fogging threshold to obtain a comparison result, and judging whether the vehicle window reaches the fogging condition according to the comparison result, wherein the environmental information includes humidity information and temperature information, and the fogging threshold includes a humidity threshold and a temperature difference threshold;
当所述车窗达到所述结雾条件时,对所述环境信息进行调整。When the vehicle window reaches the fogging condition, the environmental information is adjusted.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
获取实时车窗图像;Get real-time car window images;
将所述实时车窗图像和正常车窗图像进行对比,以判断所述车窗是否结雾;Comparing the real-time vehicle window image with a normal vehicle window image to determine whether the vehicle window is fogged;
若是,则根据所述环境信息和所述车窗图像选择对应的除雾方案对所述车窗进行除雾。If so, a corresponding defog scheme is selected according to the environmental information and the vehicle window image to defog the vehicle window.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
将所述湿度信息和所述湿度阈值进行对比;comparing the humidity information with the humidity threshold;
当所述湿度信息大于所述湿度阈值时,获取所述温度信息,其中,所述温度信息包括环境温度和座舱温度;When the humidity information is greater than the humidity threshold, acquiring the temperature information, wherein the temperature information includes the ambient temperature and the cabin temperature;
根据所述环境温度和所述座舱温度得到第一温差,将所述第一温差和所述第一温差阈值进行对比;Obtaining a first temperature difference according to the ambient temperature and the cabin temperature, and comparing the first temperature difference with the first temperature difference threshold;
当所述第一温差大于所述第一温差阈值时,对所述车窗进行温度控制。When the first temperature difference is greater than the first temperature difference threshold, the vehicle window is temperature controlled.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
获取车窗温度,根据所述车窗温度和所述环境温度得到第二温差;Acquiring a vehicle window temperature, and obtaining a second temperature difference according to the vehicle window temperature and the ambient temperature;
将所述第二温差和所述第二温差阈值进行对比;comparing the second temperature difference with the second temperature difference threshold;
当所述第二温差小于所述第二温差阈值时,暂停对所述车窗进行所述温度控制。When the second temperature difference is less than the second temperature difference threshold, the temperature control of the vehicle window is suspended.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
当对所述车窗进行所述温度控制时,记录相应的时间,得到温控时间;When the temperature of the vehicle window is controlled, the corresponding time is recorded to obtain the temperature control time;
当暂停对所述车窗进行所述温度控制时,记录相应的时间,得到暂停时间;When the temperature control of the vehicle window is suspended, the corresponding time is recorded to obtain the suspension time;
将所述温控时间和所述暂停时间进行对比,当温控时间大于或等于所述暂停时间时,将所述环境信息和所述结雾阈值进行对比,以判断所述车窗是否达到所述结雾条件。The temperature control time is compared with the pause time. When the temperature control time is greater than or equal to the pause time, the environmental information is compared with the fogging threshold to determine whether the vehicle window meets the fogging condition.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
实时获取至少两帧车窗图像,其中,所述车窗图像包括第一帧车窗图像和第二帧车窗图像;Acquire at least two vehicle window image frames in real time, wherein the vehicle window images include a first vehicle window image frame and a second vehicle window image frame;
获取所述第一帧车窗图像的第一图像信息和所述第二帧车窗图像的第二图像信息;Acquire first image information of the first frame vehicle window image and second image information of the second frame vehicle window image;
根据所述第一图像信息判断所述第一帧车窗图像的清晰度是否达到清晰度阈值;Determining whether the clarity of the first frame of the vehicle window image reaches a clarity threshold according to the first image information;
若是,则根据所述第一图像信息和所述第二图像信息得到所述第一帧车窗图像和所述第二帧车窗图像的变化信息;If yes, obtaining the change information of the first frame vehicle window image and the second frame vehicle window image according to the first image information and the second image information;
根据所述变化信息判断所述车窗是否结雾。Determine whether the vehicle window is fogged according to the change information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210980307.7A CN115257632B (en) | 2022-08-16 | 2022-08-16 | Vehicle window defogging control method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210980307.7A CN115257632B (en) | 2022-08-16 | 2022-08-16 | Vehicle window defogging control method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115257632A CN115257632A (en) | 2022-11-01 |
CN115257632B true CN115257632B (en) | 2024-05-03 |
Family
ID=83752145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210980307.7A Active CN115257632B (en) | 2022-08-16 | 2022-08-16 | Vehicle window defogging control method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115257632B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116533863A (en) * | 2023-05-23 | 2023-08-04 | 中国第一汽车股份有限公司 | Intelligent identification-based real-time defogging method for car lamp, car lamp and car |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2079175A1 (en) * | 1991-10-07 | 1993-04-08 | David R Krawchuck | Control system for a vehicle window defogger and de-icer |
JP2005088724A (en) * | 2003-09-17 | 2005-04-07 | Auto Network Gijutsu Kenkyusho:Kk | Defrosting device and air conditioner electronic control device |
JP2007223544A (en) * | 2006-02-24 | 2007-09-06 | Denso Corp | Air-conditioning system for vehicle |
JP2010167925A (en) * | 2009-01-23 | 2010-08-05 | Sanden Corp | Vehicular air conditioner |
JP2010281304A (en) * | 2009-06-08 | 2010-12-16 | Honda Motor Co Ltd | Vehicle control device |
KR20110002652A (en) * | 2009-07-02 | 2011-01-10 | 한라공조주식회사 | Control method of vehicle air conditioner |
JP2011005953A (en) * | 2009-06-25 | 2011-01-13 | Toyota Motor Corp | Control device for vehicle |
JP2011012651A (en) * | 2009-07-06 | 2011-01-20 | Honda Motor Co Ltd | Control device of vehicle |
JP2012228916A (en) * | 2011-04-25 | 2012-11-22 | Kyocera Corp | Onboard camera system |
JP2013063691A (en) * | 2011-09-16 | 2013-04-11 | Denso Corp | Fog-occurrence estimation device for vehicle |
CN107209856A (en) * | 2015-02-11 | 2017-09-26 | 高通股份有限公司 | Environment scene condition detection |
CN108909403A (en) * | 2018-07-03 | 2018-11-30 | 奇瑞汽车股份有限公司 | A kind of automatic defrosting method and device |
CN215590686U (en) * | 2021-07-27 | 2022-01-21 | 重庆金康赛力斯新能源汽车设计院有限公司 | Defrosting air pipe assembly |
-
2022
- 2022-08-16 CN CN202210980307.7A patent/CN115257632B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2079175A1 (en) * | 1991-10-07 | 1993-04-08 | David R Krawchuck | Control system for a vehicle window defogger and de-icer |
JP2005088724A (en) * | 2003-09-17 | 2005-04-07 | Auto Network Gijutsu Kenkyusho:Kk | Defrosting device and air conditioner electronic control device |
JP2007223544A (en) * | 2006-02-24 | 2007-09-06 | Denso Corp | Air-conditioning system for vehicle |
JP2010167925A (en) * | 2009-01-23 | 2010-08-05 | Sanden Corp | Vehicular air conditioner |
JP2010281304A (en) * | 2009-06-08 | 2010-12-16 | Honda Motor Co Ltd | Vehicle control device |
JP2011005953A (en) * | 2009-06-25 | 2011-01-13 | Toyota Motor Corp | Control device for vehicle |
KR20110002652A (en) * | 2009-07-02 | 2011-01-10 | 한라공조주식회사 | Control method of vehicle air conditioner |
JP2011012651A (en) * | 2009-07-06 | 2011-01-20 | Honda Motor Co Ltd | Control device of vehicle |
JP2012228916A (en) * | 2011-04-25 | 2012-11-22 | Kyocera Corp | Onboard camera system |
JP2013063691A (en) * | 2011-09-16 | 2013-04-11 | Denso Corp | Fog-occurrence estimation device for vehicle |
CN107209856A (en) * | 2015-02-11 | 2017-09-26 | 高通股份有限公司 | Environment scene condition detection |
CN108909403A (en) * | 2018-07-03 | 2018-11-30 | 奇瑞汽车股份有限公司 | A kind of automatic defrosting method and device |
CN215590686U (en) * | 2021-07-27 | 2022-01-21 | 重庆金康赛力斯新能源汽车设计院有限公司 | Defrosting air pipe assembly |
Non-Patent Citations (2)
Title |
---|
年轻新手驾驶人理想的汽车要素是什么?;Bridie Scott-Parker;黄美惠;;城市交通;20180525(03);全文 * |
让车前窗不起雾的方法;邱志雷;;驾驶园;20101015(10);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115257632A (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979134B (en) | Image processing apparatus, image processing method, and image processing system | |
JP2012228916A (en) | Onboard camera system | |
CN115257632B (en) | Vehicle window defogging control method and device, computer equipment and storage medium | |
US20150042805A1 (en) | Detecting device, detection method, and computer program product | |
JP6571424B2 (en) | Fault diagnosis device | |
WO2013008303A1 (en) | Red-eye detection device | |
EP1891580A1 (en) | Method and a system for detecting a road at night | |
US20150178902A1 (en) | Image processing apparatus and image processing method for removing rain streaks from image data | |
CN109993159B (en) | Window setting method and device for image diagnosis system | |
TWI749030B (en) | Driving assistance system and driving assistance method | |
CN109415020B (en) | Brightness control device, brightness control system and brightness control method | |
CN101107625B (en) | Image processing method, image processing system, imaging device, and image processing device | |
JP2018074191A (en) | On-vehicle video display system, on-vehicle video display method, and program | |
US20180370434A1 (en) | Driving Assistance System and Method of Enhancing a Driver's Vision | |
CN113287298B (en) | Image processing device, image processing method, and storage medium | |
US11653084B2 (en) | Method of configuring a camera | |
JP3882640B2 (en) | Infrared camera | |
CN110312106B (en) | Image display method and device, computer equipment and storage medium | |
WO2022094621A1 (en) | Remote vehicle damage assessment | |
EP3553695A1 (en) | Method and system for displaying image data from at least one night vision camera of a vehicle | |
US12221021B2 (en) | Adaptive personal thermal control in a vehicle | |
KR101745261B1 (en) | Sun visor control apparatus and method | |
CN113225486B (en) | Processing method, device, equipment and medium for shot picture | |
CN117984898A (en) | Image display method of electronic rearview mirror and related equipment thereof | |
TW201338517A (en) | Object detection method and device using near infrared and far infrared rays, and computer readable recording medium thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 401121 No. 618 Liangjiang Avenue, Longxing Town, Yubei District, Chongqing Patentee after: Chongqing Celes New Energy Automobile Design Institute Co.,Ltd. Country or region after: China Address before: No. 618 Liangjiang Avenue, Longxing Town, Yubei District, Chongqing City Patentee before: Chongqing Jin Kang Sai Li Si New Energy Automobile Design Institute Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241212 Address after: 404100 No.229 Fusheng Avenue, Jiangbei District, Chongqing Patentee after: Thalys Automobile Co.,Ltd. Country or region after: China Address before: 401121 No. 618 Liangjiang Avenue, Longxing Town, Yubei District, Chongqing Patentee before: Chongqing Celes New Energy Automobile Design Institute Co.,Ltd. Country or region before: China |