CN108417043B - Detection method for continuous starting of high beam - Google Patents

Detection method for continuous starting of high beam Download PDF

Info

Publication number
CN108417043B
CN108417043B CN201810131747.9A CN201810131747A CN108417043B CN 108417043 B CN108417043 B CN 108417043B CN 201810131747 A CN201810131747 A CN 201810131747A CN 108417043 B CN108417043 B CN 108417043B
Authority
CN
China
Prior art keywords
high beam
light
bright
threshold
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810131747.9A
Other languages
Chinese (zh)
Other versions
CN108417043A (en
Inventor
王栋
黄玉岩
朱虹
薛杉
潘顺真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Anxie Intelligent Scie Tech Co ltd
Original Assignee
Zhejiang Anxie Intelligent Scie Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Anxie Intelligent Scie Tech Co ltd filed Critical Zhejiang Anxie Intelligent Scie Tech Co ltd
Priority to CN201810131747.9A priority Critical patent/CN108417043B/en
Publication of CN108417043A publication Critical patent/CN108417043A/en
Application granted granted Critical
Publication of CN108417043B publication Critical patent/CN108417043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules

Abstract

The invention discloses a method for detecting continuous starting of a high beam, which comprises the following steps: step 1, setting a confidence virtual detection area step 2, judging the lamplight dazzling degree step 3, judging whether the change rule of the dazzling degree accords with the characteristic of a bright and dark boundary of a high beam and a low beam, 3.1 tracking a target, 3.2 tracking a chain lamplight change rule, 3.3 judging whether the beneficial effects of the invention are continuously achieved: the method is suitable for complex environments with a plurality of interferences in videos shot by the traffic monitoring camera, has the advantages of simple steps, convenience in implementation, small calculated amount and high result accuracy, and can be used for efficiently detecting the continuously started high beam by the given result.

Description

Detection method for continuous starting of high beam
Technical Field
The invention relates to the technical field of video processing of intelligent traffic monitoring systems, in particular to a method for detecting continuous starting of a high beam under a driving background of a vehicle at night.
Background
The automotive headlamps are divided into a low beam mode and a high beam mode, and the high beam is the high beam mode. The low beam illuminates near and the high beam illuminates far. According to traffic regulations, the use of automotive high beam is well defined. Because the high beam can bring convenience and safety for driving when being used correctly, but great potential safety hazard can be brought if being used incorrectly. In an intelligent traffic monitoring system, for automatic detection and identification of high and low beams at night, the interference of external factors is less, and when the texture of a car lamp is clear, the false detection rate of high beam detection is not high. However, when the situation of the vehicle is complex, external factors such as bad environment form great interference, and the texture of the light of the vehicle is not clear enough, a system can cause great false detection when detecting the high beam, that is, the low beam can be mistakenly detected as the high beam, which greatly reduces the accuracy of the high beam detection. Therefore, the invention provides a detection method for continuously starting a high beam of a vehicle running at night, which is efficient and simple.
Disclosure of Invention
The invention aims to provide a detection method for continuously starting a high beam, which aims to solve the problems that in the prior art, when a high beam of a vehicle is detected during night driving in a video monitoring picture, the monitoring picture has large information amount and more redundant information due to complex vehicle condition conditions, and road ponding environment conditions are complex, so that the monitoring picture is seriously reflected, and the detection of the high beam is seriously interfered.
In order to achieve the purpose, the technical scheme of the invention is as follows: a method for detecting the continuous starting of a high beam comprises the following steps:
step 1, setting a confidence virtual detection area
In order to ensure that the detected light is proper in size, stable in tracking and unnecessary interference is eliminated, confidence virtual detection lines cf and bg are set in a road area adeh, namely, only the starting condition of a vehicle light when the vehicle runs to a confidence virtual detection area bcfg is detected;
step 2, judging the dazzling degree of lamplight
According to the design principle of the headlamp, the bright-dark cut-off L is set:
namely, when the motor vehicle which starts the high beam does not reach the bright and dark cut-off line L, the monitoring camera can receive the emitted light, and the collected light is dazzling light spots;
when the motor vehicle runs across the bright-dark cut-off L, the monitoring camera cannot receive the light emitted by the high beam, only the reflected light part is available, and the collected light is in a non-dazzling light spot;
when the motor vehicle with the dipped headlight is started runs to the front and back of the bright-dark cut-off L, no illuminating light can enter the camera, and the collected vehicle lights are all non-dazzling light spots in the whole running process;
the method for specifically judging whether the high beam is a high beam or not by judging the dazzling degree is as follows:
for a grey-scale map of the vehicle light image, a high threshold th1Corresponding to the area S of a car lamp1Low threshold th2Corresponding to the area S of a car lamp2The dazzling degree of the vehicle lamp can be judged according to the ratio K in the formula 1:
Figure GDA0002496342860000021
Figure GDA0002496342860000022
the threshold th is a dazzling judgment threshold, and the vehicle lamp is considered to be dazzled when K is larger than th and not dazzled when K is smaller than th; the threshold th is an empirical value, and is adjusted between 0.5 and 1.5 according to the actual environment;
step 3, judging whether the change rule of the dazzling degree accords with the characteristics of the bright and dark boundary of the high and low beam lamps
3.1 target tracking
When the headlamp of the motor vehicle enters the cf confidence detection line, continuously tracking the headlamp of the motor vehicle by video frames until the headlamp of the motor vehicle goes out of the confidence detection line bg;
3.2 tracking chain light change law
In the tracking process, calculating the dazzling degree K of the vehicle lamp simultaneously to be used for counting the change rule of the light of the tracking chain when the tracking is finished, wherein for the change rule of a complete high beam tracking chain, the K is usually larger than the threshold th before a bright and dark cut-off L, and the K is smaller than the threshold th after the bright and dark cut-off L;
3.3 judging whether to continuously open
When whether the high beam is continuously started or not is actually judged, the judgment is carried out according to a certain proportion, namely that K of the vehicle lamp in n% of total video frames before a bright-dark cut-off L is larger than a threshold value th, K of the vehicle lamp in m% of total video frames after the bright-dark cut-off L is smaller than the threshold value th, the total video frame number at least reaches the product of the second number of the vehicle lamp which is judged to be continuously started by a rule and a shooting frame rate, if the change rule is met, the vehicle lamp is judged to be continuously started, similarly, if the change rule is not met, the vehicle lamp is judged not to be continuously started, and in addition, if the dazzling degree of the vehicle lamp is changed without a bright-dark change process, the vehicle lamp is judged not to be continuously started.
Preferably, in 3.3 of the step 3, n is 90, and m is 95.
The invention has the beneficial effects that: the method is suitable for complex environments with a plurality of interferences in videos shot by the traffic monitoring camera, has the advantages of simple steps, convenience in implementation, small calculated amount and high result accuracy, and can be used for efficiently detecting the continuously started high beam by the given result.
Drawings
FIG. 1 is a set of confidence virtual detection lines on a road.
Fig. 2 is a schematic diagram of the cut-off.
FIG. 3 is a schematic diagram of a gray scale spot area of a vehicle lamp at a high threshold and a low threshold.
Fig. 4 is a diagram showing the change rule of the dazzling degree of the high beam of the motor vehicle when the high beam is continuously turned on.
Detailed Description
A method for detecting the continuous starting of a high beam comprises the following steps:
step 1, setting a confidence virtual detection area
The first step in implementing the high beam continuous on detection is to set a confidence virtual detection line, as shown in fig. 1. In order to ensure that the detected light is proper in size, stable in tracking and unnecessary interference is eliminated, the method adopts a method of setting a confidence virtual detection line; in fig. 1, adeh is a road area, a motor vehicle runs in the direction of an arrow, cf and bg are set confidence virtual detection lines, that is, only the starting condition of a vehicle lamp when the vehicle runs to a confidence virtual detection area bcfg is detected;
step 2, judging the dazzling degree of lamplight
According to the design principle of the headlamp, a straight line L in fig. 2 is a schematic position of a bright-dark cut-off (also corresponding to a straight line L in fig. 1), when a motor vehicle ( positions 1 and 2 in the figure) starting a high beam does not reach the bright-dark cut-off L, a monitoring camera can receive emitted light, so the collected light is a dazzling spot, when the motor vehicle (position 3 in the figure) runs through the bright-dark cut-off L, the monitoring camera cannot receive the light emitted by the high beam and only has a reflected light part, so the collected light is a non-dazzling spot, and when the motor vehicle starting a low beam runs before and after the bright-dark cut-off L, the motor vehicle starting the low beam cannot enter the camera, so the collected light is the non-dazzling spot in the whole running process;
therefore, whether the car light in the frame image is a high beam or not can be judged by judging the dazzling degree; the specific judgment method is as follows:
for a grey-scale map of the vehicle light image, a high threshold th1Corresponding to the area S of a car lamp1(inner circle O of FIG. 3)1) Low threshold th2Corresponding to the area S of a car lamp2(outer circle O of FIG. 3)2) Therefore, the dazzling degree of the vehicle lamp can be judged according to the ratio K in the formula 1;
Figure GDA0002496342860000041
Figure GDA0002496342860000042
the threshold th is a threshold for judging glare, and it is considered that the vehicle lamp is dazzled when K is greater than th, and the vehicle lamp is not dazzled when K is less than th. The threshold th is an empirical value, and is adjusted between 0.5 and 1.5 according to the actual environment;
step 3, judging whether the change rule of the dazzling degree accords with the characteristics of the bright and dark boundary of the high and low beam lamps
3.1 target tracking
When the headlamp of the motor vehicle enters the cf confidence detection line, continuously tracking the headlamp of the motor vehicle by video frames until the headlamp of the motor vehicle goes out of the confidence detection line bg;
3.2 tracking chain light change law
For a complete high beam tracking chain, the change law is usually that K is greater than the threshold th before the bright-dark cut-off L and K is less than the threshold th after the bright-dark cut-off L.
3.3 judging whether to continuously open
When whether the high beam is continuously started or not is actually judged, according to a certain proportion, the K of the car light in more than 90% of total video frames before a bright-dark cut-off L is considered to be larger than a threshold th, the K of the car light in more than 95% of total video frames after a bright-dark cut-off L is considered to be smaller than the threshold th, the total video frame number at least reaches the product of the number of seconds for confirming that the high beam is continuously started and the shooting frame rate, if the change rule is met, the car light is considered to continuously start the high beam, and the change rule of the dazzling degree for continuously starting the high beam is shown in fig. 4.
Similarly, if the vehicle lamp change does not meet the rule, the high beam is not considered to be continuously started; further, if the change in the degree of glare of the vehicle lamp does not have a light-dark change process, it is not considered that the high beam is continuously turned on.
The invention can better detect the continuously-started high beam, and has simple and efficient detection algorithm and small calculated amount.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents or improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (2)

1. A method for detecting the continuous starting of a high beam is characterized by comprising the following steps:
step 1, setting a confidence virtual detection area
In order to ensure that the detected light is proper in size, stable in tracking and unnecessary interference is eliminated, confidence virtual detection lines cf and bg are set in a road area adeh, namely, only the starting condition of a vehicle light when the vehicle runs to a confidence virtual detection area bcfg is detected;
step 2, judging the dazzling degree of lamplight
According to the design principle of the headlamp, the bright-dark cut-off L is set:
namely, when the motor vehicle which starts the high beam does not reach the bright and dark cut-off line L, the monitoring camera can receive the emitted light, and the collected light is dazzling light spots;
when the motor vehicle runs across the bright-dark cut-off L, the monitoring camera cannot receive the light emitted by the high beam, only the reflected light part is available, and the collected light is in a non-dazzling light spot;
when the motor vehicle with the dipped headlight is started runs to the front and back of the bright-dark cut-off L, no illuminating light can enter the camera, and the collected vehicle lights are all non-dazzling light spots in the whole running process;
the method for specifically judging whether the high beam is a high beam or not by judging the dazzling degree is as follows:
for a grey-scale map of the vehicle light image, a high threshold th1Corresponding to the area S of a car lamp1Low threshold th2Corresponding to the area S of a car lamp2The dazzling degree of the vehicle lamp can be judged according to the ratio K in the formula 1:
Figure FDA0002496342850000011
Figure FDA0002496342850000012
the threshold th is a dazzling judgment threshold, and the vehicle lamp is considered to be dazzled when K is larger than th and not dazzled when K is smaller than th; the threshold th is an empirical value, and is adjusted between 0.5 and 1.5 according to the actual environment;
step 3, judging whether the change rule of the dazzling degree accords with the characteristics of the bright and dark boundary of the high and low beam lamps
3.1 target tracking
When the headlamp of the motor vehicle enters the cf confidence detection line, continuously tracking the headlamp of the motor vehicle by video frames until the headlamp of the motor vehicle goes out of the confidence detection line bg;
3.2 tracking chain light change law
In the tracking process, calculating the dazzling degree K of the vehicle lamp simultaneously to be used for counting the change rule of the light of the tracking chain when the tracking is finished, wherein for the change rule of a complete high beam tracking chain, the K is usually larger than the threshold th before a bright and dark cut-off L, and the K is smaller than the threshold th after the bright and dark cut-off L;
3.3 judging whether to continuously open
When the high beam is actually judged to be continuously started, determining according to a certain proportion, namely considering that K of the car lamp in n% of total video frames before a bright-dark cut-off L is larger than a threshold th, and K of the car lamp in m% of total video frames after the bright-dark cut-off L is smaller than the threshold th, wherein the total video frame number at least reaches the product of the second number of the continuously started high beam and the shooting frame rate which are determined by a rule;
similarly, if the vehicle lamp change does not meet the rule, the high beam is not considered to be continuously started; further, if the change in the degree of glare of the vehicle lamp does not have a light-dark change process, it is not considered that the high beam is continuously turned on.
2. The method as claimed in claim 1, wherein in 3.3 of step 3, n is 90 and m is 95.
CN201810131747.9A 2018-02-09 2018-02-09 Detection method for continuous starting of high beam Active CN108417043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810131747.9A CN108417043B (en) 2018-02-09 2018-02-09 Detection method for continuous starting of high beam

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810131747.9A CN108417043B (en) 2018-02-09 2018-02-09 Detection method for continuous starting of high beam

Publications (2)

Publication Number Publication Date
CN108417043A CN108417043A (en) 2018-08-17
CN108417043B true CN108417043B (en) 2020-07-14

Family

ID=63127057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810131747.9A Active CN108417043B (en) 2018-02-09 2018-02-09 Detection method for continuous starting of high beam

Country Status (1)

Country Link
CN (1) CN108417043B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110823533B (en) * 2019-09-10 2021-07-09 金华东贤科技有限公司 Non-standard light detection system and detection method thereof
CN110823363A (en) * 2019-09-10 2020-02-21 李东华 Automobile light detection system and detection method thereof
CN110823362A (en) * 2019-09-10 2020-02-21 李东华 High beam detection system and detection method thereof
CN110646173A (en) * 2019-09-30 2020-01-03 青岛讯极科技有限公司 Detection method for continuous opening of high beam
CN113628447B (en) * 2020-05-06 2022-12-23 杭州海康威视数字技术股份有限公司 High beam light starting detection method, device, equipment and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272785A (en) * 2006-03-31 2007-10-18 Matsushita Electric Ind Co Ltd Image processing type vehicle detector and image processing type vehicle detection method
CN102298845A (en) * 2011-08-29 2011-12-28 安徽超远信息技术有限公司 Far-beam light video detection method and system
CN103295399A (en) * 2013-05-14 2013-09-11 西安理工大学 On-state judging method of headlights on full beam of night-driving cars based on morphological characteristics
CN104008650A (en) * 2014-05-20 2014-08-27 宁辉 Motor vehicle high beam monitoring device and identification method thereof
CN105184227A (en) * 2015-08-13 2015-12-23 安徽超远信息技术有限公司 Traffic signal control system with automobile high beam light detection function
CN205388828U (en) * 2016-01-20 2016-07-20 王威立 Motor vehicle far -reaching headlamp is violating regulations to be detected and snapshot system
CN103413135B (en) * 2013-07-31 2016-08-10 东软集团股份有限公司 A kind of vehicle head lamp bright dark border line detecting method, device and system
CN107169422A (en) * 2017-04-21 2017-09-15 浙江安谐智能科技有限公司 The method of discrimination of high beam open and-shut mode based on headlamp radiation direction
CN107563265A (en) * 2016-06-30 2018-01-09 杭州海康威视数字技术股份有限公司 A kind of high beam detection method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272785A (en) * 2006-03-31 2007-10-18 Matsushita Electric Ind Co Ltd Image processing type vehicle detector and image processing type vehicle detection method
CN102298845A (en) * 2011-08-29 2011-12-28 安徽超远信息技术有限公司 Far-beam light video detection method and system
CN103295399A (en) * 2013-05-14 2013-09-11 西安理工大学 On-state judging method of headlights on full beam of night-driving cars based on morphological characteristics
CN103413135B (en) * 2013-07-31 2016-08-10 东软集团股份有限公司 A kind of vehicle head lamp bright dark border line detecting method, device and system
CN104008650A (en) * 2014-05-20 2014-08-27 宁辉 Motor vehicle high beam monitoring device and identification method thereof
CN105184227A (en) * 2015-08-13 2015-12-23 安徽超远信息技术有限公司 Traffic signal control system with automobile high beam light detection function
CN205388828U (en) * 2016-01-20 2016-07-20 王威立 Motor vehicle far -reaching headlamp is violating regulations to be detected and snapshot system
CN107563265A (en) * 2016-06-30 2018-01-09 杭州海康威视数字技术股份有限公司 A kind of high beam detection method and device
CN107169422A (en) * 2017-04-21 2017-09-15 浙江安谐智能科技有限公司 The method of discrimination of high beam open and-shut mode based on headlamp radiation direction

Also Published As

Publication number Publication date
CN108417043A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN108417043B (en) Detection method for continuous starting of high beam
US10286834B2 (en) Vehicle exterior environment recognition apparatus
US10442343B2 (en) Vehicle exterior environment recognition apparatus
Alcantarilla et al. Night time vehicle detection for driving assistance lightbeam controller
US7839303B2 (en) Vehicle detecting apparatus
CN102806867B (en) Image processing apparatus and light distribution control method
US9336447B2 (en) Ambient environment determination apparatus
US20080030374A1 (en) On-board device for detecting vehicles and apparatus for controlling headlights using the device
López et al. Nighttime vehicle detection for intelligent headlight control
US10839235B2 (en) Method and apparatus for detecting light source of vehicle
JP2008207677A (en) Image processing apparatus, image processing method and image processing system
CN108482239B (en) Self-adaptive high beam control system and method based on infrared camera technology
JP2007076429A (en) Head lamp system
JP2006298362A (en) Method for early detection of arrival at dark area
JP2010097410A (en) Vehicle detection device
CN108569193A (en) A kind of self-adaptive headlamp system and its control method based on road conditions
CN106815558B (en) Automatic early starting method for tunnel headlamp of vehicle based on image recognition
JP4523526B2 (en) Headlamp system
JP5873372B2 (en) Headlight light distribution control device
CN101823458B (en) Fault treating method of self-adaptive headlamp system
CN115320489A (en) Night vehicle driving light control method and control system
CN110341582B (en) Intelligent car lamp semantic projection lighting device and method
CN113232581A (en) High beam control optimization method based on driver behavior learning
JP6549974B2 (en) Outside environment recognition device
JP2010055377A (en) Drive dividing section detection device and program for drive dividing section detection device

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