CN109733329A - A kind of automobile defogging method and demister based on machine vision - Google Patents
A kind of automobile defogging method and demister based on machine vision Download PDFInfo
- Publication number
- CN109733329A CN109733329A CN201910058156.8A CN201910058156A CN109733329A CN 109733329 A CN109733329 A CN 109733329A CN 201910058156 A CN201910058156 A CN 201910058156A CN 109733329 A CN109733329 A CN 109733329A
- Authority
- CN
- China
- Prior art keywords
- windshield
- image
- actuator
- video
- definition values
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The present invention relates to demisting field more particularly to a kind of automobile defogging method and demister based on machine vision, the defogging method step includes: the driving video for shooting driver visual angle in vehicle traveling process;Based on driving video, generates and export the blast velocity control signal blown to windshield;Specifically: storage driving video, the driving video based on storage intercept video image at a fixed time in interval;Video image based on interception identifies the clarity of image and converts specific definition values S for recognition result;Based on definition values S, the definition values S1 of present image is compared with the definition values S0 of a upper image, generates and exports the blast velocity control signal blown to windshield;It is blown based on blast velocity control signal to windshield and carries out demisting.The present invention judges that the mode whether windshield hazes is more directly and accurate, improves drive safety.
Description
Technical field
The present invention relates to demisting field more particularly to a kind of automobile defogging methods and demister based on machine vision.
Background technique
In the rainy day driving of cold winter or humidity, the front windshield of automobile is easy fogging and influences to drive
The sight of person, to influence the driving safety of automobile;And after windshield fogging, driver is logical often through side window is opened
Wind, directly with towel wipe or open air-conditioning to achieve the purpose that demisting;But windowing ventilation will increase in vehicle traveling process
Resistance, increase oil consumption, meanwhile, this method is not suitable for winter and rainy day;If directly being wiped while the car is driving with towel
Effective manipulation of the driver to automobile can further be influenced by wiping windshield then, seriously affect driving safety;And it opens empty
It transfers in row demisting and is only applicable to general car, motorbus can not carry out effectively and rapidly demisting by on-board air conditioner.
It is most of that inside and outside temperature is detected by temperature sensor in current existing automobile demister, and then control
The temperature difference processed is to prevent fogging;Or the humidity of windshield inner surface is detected by humidity sensor, thus when humidity is larger
Carry out demisting;These methods can achieve the purpose that prevent from hazing to a certain extent or demisting, but are all complete by indirect mode
At, not intuitively, error is larger.
Summary of the invention
The purpose of the invention is to provide a kind of automobile defogging method and demister based on machine vision, vapour is judged
The mode whether vehicle windshield hazes is more directly and accurate, improves drive safety.
In order to solve the above technical problems, the technical solution of the present invention is as follows: a kind of automobile demister based on machine vision,
Including camera, controller and actuator;
The camera, for obtaining the driving video at driver visual angle in vehicle traveling process;
The controller is generated and is exported corresponding to actuator to keeping out the wind for the driving video based on the camera
The blast velocity control signal of glass air-supply;It includes,
Video processing unit intercepts video for the driving video based on the camera at a fixed time in interval
Image;
Image processing unit, the video image for being intercepted based on the video processing unit, identifies the clarity of image
And specific definition values S is converted by recognition result;
Control unit, for the definition values S based on image processing unit, by the definition values S1 of present image and upper one
The definition values S0 of image is compared, and is generated and is exported the blast velocity control signal blown corresponding to actuator to windshield;
The actuator, the blast velocity control signal for being exported based on described control unit are removed to windshield air-supply
Mist.
By above scheme, in described image processing unit, definition values S is determined by following equalities:
Wherein, f (x, y) indicates the gray value of image f corresponding pixel points (x, y).
By above scheme, in described control unit, definition values S is bigger, and clarity is higher;If S1-S0 < 0, control unit
Blast velocity control signal is sent to actuator, actuator is blown to windshield;If S1-S0 >=0, control unit does not send wind speed control
Signal processed, actuator do not work.
By above scheme, if S1-S0 < 0, control unit sends blast velocity control signal to actuator, and actuator is to the glass that keeps out the wind
Glass air-supply;Specifically, if | S1-S0 |/S1≤5%, the wind speed that actuator is blown to windshield are maintained at 30m/s;If 5% <
| S1-S0 |/S1≤10%, the wind speed that actuator is blown to windshield are maintained at 50m/s;Otherwise, actuator is to windshield
The wind speed of air-supply is maintained at 80m/s;It is characterized using the result that clarity identifies using specific value, whether windshield is risen
The judgement of mist and the degree of fogging is more accurate, and blows for specific the degree of fogging and to windshield, wind speed and the degree of fogging
Cooperation, intelligence degree is high, and defogging effect is good.
By above scheme, the camera, controller and actuator are all connected to vehicle power supply;Vehicle power supply is above-mentioned dress
Power supply is set, while controlling the working condition of above-mentioned apparatus.
By above scheme, the Fixed Time Interval of the video processing unit interception image is the gear of 10s, 20s, 30s tri-, is used
Family passes through car-mounted computer according to the actual situation and the time interval is adjusted.
By above scheme, the video processing unit is used to store the driving video of the camera shooting, and is imaging
Head stops being automatically deleted the video image for depositing driving video and interception when shooting;The memory of camera is not expended.
By above scheme, the camera is located at windshield and its shooting angle is parallel with windshield, to row
Vehicle direction of advance carries out video acquisition, is machine vision in order to shoot the video that can accurately reflect windshield the degree of fogging
Analysis provides accurate necessary image data.
By above scheme, the actuator includes sequentially connected air blower, ventilation duct and air outlet grate;The style out
Grid are set to windshield side, the controller and air blast mechatronics, and the ventilation duct connects the air outlet of air blower and goes out
The air inlet of style grid;Blast velocity control signal outlet air that the air blower is exported based on described control unit and by ventilation duct and
Air outlet grate blows to windshield and carries out demisting.
Compared with prior art, the invention has the following beneficial effects:
One, visual experience of the present invention according to machine vision drive simulating person directly utilizes definition judgment driver's
Whether sight is obstructed, i.e., whether windshield hazes, and after hazing can antifogging so that whether rising to automobile when wind glass
The judgement of mist is more direct;
Two, the clarity of image is converted specific numerical value by the present invention, passes through the multilevel iudge automotive windshield between numerical value
The degree that glass hazes, and the wind speed blown when controlling demisting according to comparison result, easy to implement, practical, demisting effect
Fruit is good, improves driver comfort, improves drive safety.
Detailed description of the invention
Fig. 1 is the flow chart of the present embodiment defogging method;
Fig. 2 is the system block diagram of the present embodiment demister;
Fig. 3 is the overall structure diagram of the present embodiment demister.
Appended drawing reference: 1, camera;2, controller;201, video processing unit;202, image procossing list;203, control is single
Member;3, actuator;301, air blower;302, ventilation duct;303, air outlet grate;4, vehicle power supply;5, windshield.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing and specific implementation
Invention is further described in detail for example.
Fig. 2 and Fig. 3 are please referred to, the present invention is a kind of automobile demister based on machine vision comprising camera 1,
Controller 2 and actuator 3;The camera 1, controller 2 and actuator 3 are all connected to vehicle power supply 4;The signal of controller 2
Input terminal is connected to the signal output end of camera 1, and the signal that the signal input part of actuator 3 is connected to the controller 2 is defeated
Outlet.
Camera 1 is located on the inside of windshield 5 for shooting the driving video at driver visual angle in vehicle traveling process;This
Camera 1 in embodiment using model CL802-1 camera.
Controller 2 is placed on position of the automotive interior close to control panel, and program, the journey are stored in the controller
Sequence includes video processing unit 201, image processing unit 202 and control unit 203;In the present embodiment, controller 2 is DSP control
Coremaking piece, model MS320C24x/F24x, video processing unit 201, image processing unit 202 and control unit 203 are equal
It is integrated in DSP control chip.
Actuator 3 includes sequentially connected air blower 301, ventilation duct 302 and air outlet grate 303;Air outlet grate 303 is vapour
Vehicle autogamy, is located at 5 two sides of windshield, and the air outlet of air outlet grate 303 is directed at windshield 5;Air blower 301 is also disposed in vapour
Interior portion, near air-out grid, model DLF1212HB;Controller 2 is electrically connected with air blower 301, ventilation duct 302
Connect the air outlet of air blower 301 and the air inlet of air outlet grate 303;The wind speed that the air blower 301 is exported according to controller 2
It controls signal outlet air and demisting is carried out to the air-supply of windshield 5 by ventilation duct 302 and air outlet grate 303.
Refering to fig. 1, the invention also includes the defogging method of the above-mentioned automotive fittings based on machine vision, the defogging methods
Step includes:
: step 1: camera 1 shoots the driving video at driver visual angle in vehicle traveling process;Driver visual angle face
It is windshield 5, therefore camera 1 shoots outside through windshield 5, and whether windshield 5 has mist directly to determine video
Clarity;Camera 1 is electrically connected with vehicle power supply 4, and when running car, camera 1 is started to work shooting driving video, works as vapour
When vehicle stops working, vehicle power supply 4 stops powering to camera 1, and camera 1 stops shooting at this time;
Step 2: the driving video that controller 2 is shot based on camera 1 generates and exports the wind blown to windshield 5
Speed control signal;Specifically:
Step 2.1: video processing unit 201 stores the video that camera 1 is shot, at a fixed time interception view in interval
Frequency image, and institute's truncated picture is transmitted to image processing unit 202 in real time;Video processing unit 201 is controlled by control unit 203
The Fixed Time Interval of system, interception image is the gear of 10s, 20s, 30s tri-, and user passes through car-mounted computer to institute according to the actual situation
Time interval is stated to be adjusted;Video processing unit 201 be automatically deleted when camera 1 stops and shooting deposited driving video and
The video image of interception;
Step 2.2: the video image that image processing unit 202 is intercepted based on video processing unit 201 identifies the clear of image
Clear degree simultaneously converts specific definition values S for recognition result;Using Brenner gradient function as follows by recognition result
Specific value S is converted into characterize clarity:Wherein, f (x, y) indicates image f
The gray value of corresponding pixel points (x, y), S are the specific calculated result of identification.
Step 2.3: the image clarity values S of 203 real-time reception image processing unit 202 of control unit transmission, and will work as
The definition values S1 of preceding image is compared with the definition values S0 of a upper image, judges whether that control executes according to comparison result
Device 3 carries out demisting, generates and export the blast velocity control signal that actuator 3 is blown to windshield 5;Definition values S is bigger, clearly
It spends higher;If S1-S0 < 0, control unit 203 sends blast velocity control signal to actuator 3, and actuator 3 is blown to windshield 5;
If S1-S0 >=0, control unit 203 does not send blast velocity control signal, and actuator 3 does not work;Specifically, if S1-S0 < 0, control
Unit 203 sends blast velocity control signal to actuator 3, and actuator 3 is blown to windshield 5;Specifically, if | S1-S0 |/S1
≤ 5%, the wind speed that actuator 3 is blown to windshield 5 is maintained at 30m/s;If 5% < | S1-S0 |/S1≤10%, actuator 3
The wind speed blown to windshield 5 is maintained at 50m/s;Otherwise, the wind speed that actuator 3 is blown to windshield 5 is maintained at 80m/
s;
Step 3: blast velocity control signal outlet air that the air blower 301 in actuator 3 is exported according to controller 2 simultaneously passes through ventilation
Pipe 302 and air outlet grate 303 give the air-supply progress demisting of windshield 5.
The course of work of defogging method embodiment of the present invention are as follows: when running car, demister is started to work, and camera is clapped
Driving video is taken the photograph, and video is transmitted to video processing unit 201 in real time;Video processing unit 201 is controlled by control unit 203,
Video image is intercepted in interval at a fixed time, and truncated picture is transmitted to image processing unit 202 in real time;Image procossing
Unit 202 identifies the clarity of institute's interception image, converts specific numerical value for recognition result and is transmitted to control unit 203, in turn
The definition values of present image are compared with the definition values of a upper image, are judged whether to control air blast according to comparison result
The working condition of the work of machine 301 and air blower 301.Automobile the rainy day when driving, windshield 5 can slowly haze, then camera
The video image of shooting will gradually thicken, i.e., the clarity of interception image is different in Fixed Time Interval, not rise
Institute's truncated picture is clear when mist, and truncated picture is unintelligible when hazing;Image processing unit 202 converts the clarity of image
It for specific numerical value, and is compared by control unit 203, if present image definition values are more than or equal to the clear of a upper image
Angle value, that is, S1-S0 >=0 then illustrates that windshield 5 does not haze, and air blower 301 does not work;If present image definition values are less than
Definition values, that is, S1-S0 < 0 of a upper image then illustrates that windshield 5 hazes, and control unit 203 controls air blower 301 and works,
To remove the mist on windshield 5;Meanwhile air blower 301 is when working, and using | S1-S0 |/S1 is as 301 operating mode of air blower
Index, wherein S0 indicates the definition values of a upper image, the definition values of S1 expression present image, if | S1-S0 |/S1≤
5%, then the wind speed that control unit 203 controls that air blower 301 is blown is maintained at 30m/s;If 5% < | S1-S0 |/S1≤10%,
Control unit 203 controls the wind speed that air blower 301 is blown and is maintained at 50m/s;Otherwise, the wind speed that air blower 301 is blown is maintained at
80m/s, to achieve the purpose that demisting.When automobile stops, vehicle power supply 4 disconnects the power supply to demister, and video processing is single
Deposited video and institute's truncated picture are automatically deleted in member 201, and demister stops working.
The above content is specific embodiment is combined, further detailed description of the invention, and it cannot be said that this hair
Bright specific implementation is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, it is not taking off
Under the premise of from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to protection of the invention
Range.
Claims (9)
1. a kind of automobile defogging method based on machine vision, which is characterized in that the defogging method step includes:
Step 1: the driving video at driver visual angle in shooting vehicle traveling process;
Step 2: based on driving video, generating and export the blast velocity control signal blown to windshield (5);Specifically:
Step 2.1: storage driving video, the driving video based on storage intercept video image at a fixed time in interval;
Step 2.2: the video image based on interception identifies the clarity of image and converts specific clarity for recognition result
Value S;
Step 2.3: being based on definition values S, the definition values S1 of present image and the definition values S0 of a upper image are compared
Compared with, generate and export to windshield (5) blow blast velocity control signal;
Step 3: being blown based on blast velocity control signal to windshield (5) and carry out demisting.
2. the automobile defogging method according to claim 1 based on machine vision, it is characterised in that: in the step 2.1,
The Fixed Time Interval of video image is intercepted as the gear of 10s, 20s, 30s tri-, user passes through car-mounted computer pair according to the actual situation
The time interval is adjusted.
3. the automobile defogging method according to claim 1 based on machine vision, it is characterised in that: in the step 2.1,
When stopping shooting, it is automatically deleted the video image of deposited driving video and interception.
4. the automobile defogging method according to claim 1 based on machine vision, it is characterised in that: in the step 2.2,
Definition values S is determined by following equalities:
Wherein, f (x, y) indicates the gray value of image f corresponding pixel points (x, y).
5. the automobile defogging method according to claim 4 based on machine vision, it is characterised in that: in the step 2.3,
Definition values S is bigger, and clarity is higher;If S1-S0 < 0, control unit (203) sends blast velocity control signal and gives actuator (3),
Actuator (3) is blown to windshield (5);If S1-S0 >=0, control unit (203) does not send blast velocity control signal, actuator
(3) it does not work.
6. the automobile defogging method according to claim 5 based on machine vision, it is characterised in that: if S1-S0 < 0, control
Unit (203) sends blast velocity control signal and gives actuator (3), and actuator (3) is blown to windshield (5);Specifically, if | S1-
S0 |/S1≤5%, the wind speed that actuator (3) is blown to windshield (5) are maintained at 30m/s;If 5% < | S1-S0 |/S1≤
10%, the wind speed that actuator (3) is blown to windshield (5) is maintained at 50m/s;Otherwise, actuator (3) gives windshield (5)
The wind speed of air-supply is maintained at 80m/s.
7. the automobile defogging method corresponding demister described in claim 1 based on machine vision, it is characterised in that: described
Demister includes the camera (1), controller (2) and actuator (3) for being all connected to vehicle power supply (4);
The camera (1), for shooting the driving video at driver visual angle in vehicle traveling process;
The signal input part of the controller (2) is connected to the signal output end of camera (1);Journey is stored in the controller
Sequence, described program are performed the method for realizing step 2 described in claim 1;Described program includes:
Video processing unit (201), the driving video shot for storing the camera (1), the driving video based on storage,
Video image is intercepted in interval at a fixed time;
Image processing unit (202) identifies image for the video image based on the video processing unit (201) interception
Clarity simultaneously converts specific definition values S for recognition result;
Control unit (203), for the definition values S based on image processing unit (202), by the definition values S1 of present image
It is compared with the definition values S0 of a upper image, generates and exports the blast velocity control signal blown to windshield (5);
The signal input part of the actuator (3) is connected to the signal output end of the controller (2), and the actuator (3) is used
It blows in the blast velocity control signal exported based on described control unit (203) to windshield (5) and carries out demisting.
8. the automobile demister according to claim 7 based on machine vision, it is characterised in that: the controller (2)
Chip is controlled for DSP.
9. the automobile demister according to claim 7 based on machine vision, it is characterised in that: the actuator (3)
Including sequentially connected air blower (301), ventilation duct (302) and air outlet grate (303);The air outlet grate (303) is set to gear
The air outlet of wind glass (5) side and the air outlet grate (303) is directed at windshield (5), the air blower (301) and control
Device (2) electrical connection, the air outlet of ventilation duct (302) connection air blower (301) and the air inlet of air outlet grate (303).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910058156.8A CN109733329A (en) | 2019-01-22 | 2019-01-22 | A kind of automobile defogging method and demister based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910058156.8A CN109733329A (en) | 2019-01-22 | 2019-01-22 | A kind of automobile defogging method and demister based on machine vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109733329A true CN109733329A (en) | 2019-05-10 |
Family
ID=66365694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910058156.8A Pending CN109733329A (en) | 2019-01-22 | 2019-01-22 | A kind of automobile defogging method and demister based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109733329A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112918431A (en) * | 2021-03-30 | 2021-06-08 | 东风汽车集团股份有限公司 | Automatic automobile defogging control system and control method thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103079032A (en) * | 2012-11-16 | 2013-05-01 | 上海培清科技有限公司 | High-definition capillary electrophoresis gel imaging system |
CN103847703A (en) * | 2014-03-24 | 2014-06-11 | 天津云视科技发展有限公司 | Automobile glass automatic defogging device |
CN104605810A (en) * | 2015-02-15 | 2015-05-13 | 杭州市质量技术监督检测院 | Detecting system for diopter of progressive multi-focal lens |
CN105667251A (en) * | 2016-02-18 | 2016-06-15 | 广东欧珀移动通信有限公司 | Automobile defogging method and device |
JP2017140973A (en) * | 2016-02-12 | 2017-08-17 | 株式会社デンソー | Defogging device |
CN107395991A (en) * | 2017-08-31 | 2017-11-24 | 广东欧珀移动通信有限公司 | Image combining method, device, computer-readable recording medium and computer equipment |
CN108202696A (en) * | 2016-12-20 | 2018-06-26 | 乐视汽车(北京)有限公司 | Vehicle glazing defogging control method, device and electronic equipment |
CN108270947A (en) * | 2016-12-30 | 2018-07-10 | 深圳市赛菲姆科技有限公司 | A kind of method and apparatus that video camera demisting is controlled by image recognition algorithm |
-
2019
- 2019-01-22 CN CN201910058156.8A patent/CN109733329A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103079032A (en) * | 2012-11-16 | 2013-05-01 | 上海培清科技有限公司 | High-definition capillary electrophoresis gel imaging system |
CN103847703A (en) * | 2014-03-24 | 2014-06-11 | 天津云视科技发展有限公司 | Automobile glass automatic defogging device |
CN104605810A (en) * | 2015-02-15 | 2015-05-13 | 杭州市质量技术监督检测院 | Detecting system for diopter of progressive multi-focal lens |
JP2017140973A (en) * | 2016-02-12 | 2017-08-17 | 株式会社デンソー | Defogging device |
CN105667251A (en) * | 2016-02-18 | 2016-06-15 | 广东欧珀移动通信有限公司 | Automobile defogging method and device |
CN108202696A (en) * | 2016-12-20 | 2018-06-26 | 乐视汽车(北京)有限公司 | Vehicle glazing defogging control method, device and electronic equipment |
CN108270947A (en) * | 2016-12-30 | 2018-07-10 | 深圳市赛菲姆科技有限公司 | A kind of method and apparatus that video camera demisting is controlled by image recognition algorithm |
CN107395991A (en) * | 2017-08-31 | 2017-11-24 | 广东欧珀移动通信有限公司 | Image combining method, device, computer-readable recording medium and computer equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112918431A (en) * | 2021-03-30 | 2021-06-08 | 东风汽车集团股份有限公司 | Automatic automobile defogging control system and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102205782B (en) | Automatically-antifogging air-conditioning system and antifogging method | |
CN207683264U (en) | A kind of vehicle automatic defrosting demisting air-conditioning system | |
CN106515369B (en) | A kind of control method and device of vehicle air conditioning | |
CN101439706B (en) | Water removal device for vehicle rearview mirror and control method | |
CN107161108A (en) | One kind, which is automatically turned on, removes defrosting system | |
CN107344543A (en) | A kind of automobile automatic defrosting system and method | |
CN104908555B (en) | A kind of vehicle glass optics demister system and method | |
CN206317806U (en) | A kind of automobile intelligent defrosting device | |
CN103847703A (en) | Automobile glass automatic defogging device | |
CN110406346A (en) | Air conditioning control method, system and vehicle based on Image Acquisition | |
CN112758046B (en) | Windshield definition control method and system based on intelligent identification | |
CN108860064A (en) | Front sight adjusts Active Service System and method under car networking environment | |
CN109733329A (en) | A kind of automobile defogging method and demister based on machine vision | |
CN109869067A (en) | A kind of vehicle window automatic control system based on car networking and precipitation rain fall sensor | |
CN202896527U (en) | Automatic adjusting device of vehicle-mounted air conditioner defogging mode | |
CN202200949U (en) | Automobile windshield demisting device | |
CN112124249A (en) | Automatic defogging control method | |
CN112208469B (en) | Automobile driver sight management system | |
CN207257290U (en) | A kind of vehicle windscreen hazes identifying system and vehicle glass | |
CN112947212B (en) | Transparent conductive film intelligence defogging system based on singlechip | |
CN204701588U (en) | Vaporation-type vehicle glass inside face automatic defrosting system | |
CN110370887B (en) | Vehicle-mounted air conditioner control method and control device | |
CN105346515B (en) | Assist demister, vehicle-mounted demister system, demisting and anti-fog method and automobile | |
CN112918431B (en) | Control method of automatic automobile defogging control system | |
CN110334382A (en) | A kind of automotive window based on Recognition with Recurrent Neural Network hazes condition predicting method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190510 |