CN105513372B - The anti-capture recognition methods for clapping device vehicle of car plate is installed - Google Patents

The anti-capture recognition methods for clapping device vehicle of car plate is installed Download PDF

Info

Publication number
CN105513372B
CN105513372B CN201610045974.0A CN201610045974A CN105513372B CN 105513372 B CN105513372 B CN 105513372B CN 201610045974 A CN201610045974 A CN 201610045974A CN 105513372 B CN105513372 B CN 105513372B
Authority
CN
China
Prior art keywords
vehicle
picture
license plate
sliding window
overexposure
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
CN201610045974.0A
Other languages
Chinese (zh)
Other versions
CN105513372A (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.)
Dalian Roiland Technology Co Ltd
Original Assignee
Dalian Roiland Technology 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 Dalian Roiland Technology Co Ltd filed Critical Dalian Roiland Technology Co Ltd
Priority to CN201610045974.0A priority Critical patent/CN105513372B/en
Publication of CN105513372A publication Critical patent/CN105513372A/en
Application granted granted Critical
Publication of CN105513372B publication Critical patent/CN105513372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present invention, which is related to, installs the anti-capture recognition methods for clapping device vehicle of car plate, comprises the following steps:When electronic police detected vehicle by when, control the alert flash lamp of electricity to open and carry out taking pictures for the first time to vehicle first;Vehicle is taken pictures for the second time after the alert flash lamp of electricity is closed;Transitional region identification is exposed to the picture taken pictures twice;When over-exposed region is not present in the picture that the picture that first time takes pictures has over-exposed region and taken pictures for the second time, it is believed that the vehicle installs the anti-bat device of car plate.The present invention solves vehicle and installs the problem of can not being punished after the anti-bat device of car plate, can be very good the traffic violations such as fright hypervelocity, reduces traffic accident incidence.There is electronic police to capture and the anti-bat device function of detection installation car plate, preferably hit traffic violation, ensure traffic safety.

Description

Capturing and identifying method for vehicle with license plate anti-shooting device
Technical Field
The invention relates to a capturing and identifying method for a vehicle provided with a license plate anti-shooting device. The intelligent traffic system belongs to the field of intelligent traffic, is used for carrying out technical perfection on electronic police equipment such as current used bayonet snapshot, overspeed snapshot and the like, and is used for overcoming interference generated by illegally-installed optical anti-snapshot equipment.
Background
In order to reduce the occurrence of traffic accidents to the maximum extent, the control force of a traffic department on vehicle driving behaviors is continuously increased, electronic police snapshot devices such as overspeed snapshot and red light running are visible everywhere, and the punishment force of the traffic management department on traffic violations is also increased.
Current electronic police snap shot equipment such as all use the video mode to collect evidence, use vehicle license plate number as important punishment foundation when carrying out traffic violation punishment, and the unclear picture is shot to vehicle license plate generally not as the punishment foundation. In order to avoid traffic violation punishment, a part of car owners install license plate anti-snapshot device equipment on the vehicles to perform anti-snapshot processing, the license plate anti-snapshot device is used for performing snapshot detection in real time, strong reflected light is generated in the moment of snapshot of electronic police equipment, and the license plate in the captured picture is excessively exposed, so that the number of the license plate of the vehicle cannot be identified. The vehicle owner who installs the license plate anti-shooting device can evade illegal punishment, and illegal driving behaviors are obviously increased and even maliciously violated, and great hidden danger is brought to traffic safety.
When traditional electronic police snapshot equipment (such as overspeed snapshot equipment) detects that a relevant vehicle passes by, a flash lamp (the flash lamp is called as an electric police flash lamp for short) assembled by an electronic police system is turned on to carry out short-time high-brightness light supplement, after the light supplement lamp is turned on, the exposure parameter of a camera is turned down, the brightness of the electric police flash lamp is utilized, the passing vehicle is snapshot, the brightness of the electric police flash lamp is much higher than the brightness of the surrounding environment, the interference problem of common environment light (such as sunlight in the daytime and automobile light at night) is well solved, and clear pictures can be shot in any time period and in any weather. When a vehicle provided with the license plate anti-shooting device passes through the electronic police equipment, the photosensitive sensor of the license plate anti-shooting device can detect that the brightness of ambient light suddenly becomes bright when the electric police flash lamp is turned on, the license plate anti-shooting device arranged near the license plate is rapidly lightened, the flash lamp is provided with the flash lamp (the flash lamp is called as the anti-shooting flash lamp for short), the license plate has good light reflection characteristic, the anti-shooting flash lamp is turned on, so that the brightness of the license plate and the peripheral brightness of the license plate are rapidly improved, at the moment, the electronic police camera captures the shot picture, the license plate and the part near the license plate are excessively exposed, the picture becomes a white.
Disclosure of Invention
The invention takes a snapshot of the vehicle with the license plate anti-shooting device to shoot a clear number plate, on one hand, the license plate anti-shooting device is used as evidence for law enforcement officers to obtain evidence, and on the other hand, the vehicle with the license plate anti-shooting device is identified, relevant information is recorded and uploaded for alarming.
The technical scheme adopted by the invention for realizing the purpose is as follows: the capturing and identifying method for the vehicle provided with the license plate anti-shooting device comprises the following steps:
when an electronic police detects that a vehicle passes through, firstly, controlling an electronic police flash lamp to be turned on and taking a picture of the vehicle for the first time; taking a second picture of the vehicle after the electric alarm flash lamp is turned off;
identifying overexposure areas of the pictures shot twice; and when the picture taken for the first time has an overexposure area and the picture taken for the second time does not have the overexposure area, the vehicle is considered to be provided with the license plate anti-shooting device.
The identification of the overexposed area comprises the following steps:
carrying out binarization on the gray level of the picture to obtain a binarized image;
traversing the set sliding window on the binary image to obtain a brightness statistic value in a corresponding area of each sliding window;
taking a sliding window area corresponding to the fact that the luminance statistic value of the binary image is larger than a set value K as an overexposure candidate area;
and calculating the standard deviation of each overexposure candidate region, wherein the overexposure candidate region corresponding to the standard deviation smaller than the threshold value is the overexposure region.
Traversing the set sliding window on the binary image to obtain the brightness statistic value in the corresponding area of each sliding window by the following formula:
wherein, A [ m ] [ n ] is a luminance statistic value; y [ m ] [ n ] is data corresponding to the mth row and the nth column in the gray-scale image of the picture; i. j is the accumulated step length in the horizontal direction and the longitudinal direction respectively; m belongs to [0, W-P), n belongs to [0, H-Q); w is the image width and H is the image height; p is the sliding window height and Q is the sliding window width.
The standard deviation
WhereinThe invention has the following beneficial effects and advantages:
1. the invention solves the problem that the vehicle cannot be punished after the license plate anti-shooting device is installed on the vehicle, can frighten traffic illegal behaviors such as overspeed and the like well, and reduces the occurrence rate of traffic accidents.
2. The electronic vehicle license plate anti-shooting device is flexible to use, can be used as an independent product, is used for detecting the vehicle equipped with the license plate anti-shooting device, and can also be embedded into related products of an electronic police for application, so that the electronic police has the functions of shooting and detecting the vehicle equipped with the license plate anti-shooting device, can better attack traffic illegal behaviors, and can guarantee traffic safety.
3. When the invention is embedded in the relevant products of the electronic police for use, the hardware structure of the electronic police products is not required to be changed, and only the algorithm is required to be added and the software is required to be upgraded, so that the engineering is very convenient to realize.
4. After the application of the invention, the license plate anti-shooting device loses the original function, and the application of the license plate anti-shooting device products in the aspect of hindering traffic safety gradually disappears.
5. The overexposure detection algorithm adopts overexposure point statistics and is matched with a brightness mean square error mode for judgment, the detection algorithm has small operand and is beneficial to real-time detection of a system.
Drawings
FIG. 1 is a timing diagram of a snapshot process of the present invention;
FIG. 2 is a flow chart of the present invention.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings.
As shown in figure 1, the invention can be through modifying the electronic police's snapshot software, when detecting there is a car to pass, turn on the flash lamp, the camera takes a candid photograph of the first picture, after taking a candid photograph, close the electronic police's flash lamp immediately, the camera takes a candid photograph of the second picture, utilize the recognition algorithm of license plate to carry on the recognition of license plate to the first picture, if the first picture can discern the number plate number of the vehicle, show that the vehicle has not installed the anti-shooting device of license plate; if the first picture does not identify the license plate of the vehicle, further analyzing and detecting the first picture, and if the first picture does not have an overexposure area reaching or exceeding a certain size, indicating that the license plate anti-shooting device is not installed on the vehicle; and if the first picture has an overexposure area with the transverse pixel points larger than 60 pixels, carrying out license plate recognition on the second snap-shot picture, if the second picture can correctly recognize the number of the license plate of the vehicle, indicating that the vehicle is suspected of installing a license plate anti-shooting device, uploading the first picture and the second picture to a rear-end server together, uploading alarm information, carrying out manual judgment by a related management department, and carrying out corresponding processing.
Meanwhile, when the second picture is snapshotted, excessive exposure cannot be generated due to the fact that flash lamps are not used for light supplement, illegal behaviors of the vehicle provided with the license plate anti-shooting device can be normally captured, the vehicle anti-shooting device is made to be invalid when whether the vehicle is provided with the license plate anti-shooting device or not is identified, and the effect of further restraining driving behaviors of a vehicle owner provided with the license plate anti-shooting device is achieved.
As shown in fig. 2, the method comprises the following specific steps:
1. vehicle detection
Whether a vehicle passes through is detected in a video, radar or coil detection mode, and after the vehicle passes through is detected, the camera is informed of taking pictures according to the criterion.
2. First snapshot of camera
After the camera receives the snapshot command, the camera adjusts the snapshot parameters such as exposure time, gain and the like of the camera, and starts an electric alarm flash lamp to snapshot a first picture.
3. Second snapshot of camera
After the first snapshot is finished, the camera adjusts the exposure time, gain and other snapshot parameters (the snapshot parameters are preset according to the actual environment of the site) and does not start the electric alarm flash lamp to perform snapshot.
4. Detecting whether license plate anti-shooting device is installed or not
The collected pictures are detected through a video detection algorithm, and vehicles provided with the license plate anti-photographing devices can not basically acquire clear license plates, namely, the vehicles in the pictures with license plate recognition results are not provided with the license plate anti-photographing devices, so that the vehicles without license plate recognition results in the first captured picture can be judged.
And when the first picture has a license plate recognition result, the picture is processed according to the condition that a license plate anti-shooting processor is not installed. For the first picture without the license plate recognition result, whether a license plate anti-shooting device is installed in a passing vehicle or not is judged by detecting the overexposure condition of the two pictures, and the specific process is as follows:
1) binarization processing
YUV format conversion is carried out on the picture collected by the camera (format conversion is not needed for a camera which can directly obtain YUV information), wherein Y is a brightness component (Luminance) of the image, and U and V are Chrominance components (Chrominance) of the image, wherein Y represents brightness, namely a gray-scale value; and "U" and "V" denote chromaticity, which is used to describe the color and saturation of the image for specifying the color of the pixel. Because "Y" is image brightness component, overexposed pixel point "Y" value is great, carries out global binarization to the component of picture "Y", promptly:
wherein: y [ m ] [ n ] is the component of Y of the pixel point of the mth row and the nth column in the image, Y [ m ] [ n ] is the result after Y [ m ] [ n ] binarization, T is the binarization threshold, a fixed value close to the maximum value of Y is selected, the maximum value of Y is 255, and when T belongs to the requirements [235,245], T is 240 according to a large number of practical test suggestions.
2) Overexposed region coarse search
The size of the license plate recognized by the existing electronic police is generally 70-160 pixels of horizontal pixel points, most license plates contain 7 characters (such as LiaoA 12345), and each character is 7-23 pixels of horizontal pixel points. In order to achieve the purpose of overexposure of the license plate, the exposure area is required to cover 2 characters, that is, the exposure area must be larger than 23 × 2 — 46 pixel points, so a sliding window smaller than 46 × 46 is set (for calculation convenience, the window size may be 40 × 40), and luminance statistics is performed in the sliding window, that is:
wherein y [ m ] [ n ] is data corresponding to the mth row and the nth column in the operation result of the formula (i), m belongs to [0, W-P ], n belongs to [0, H-Q), W is the image width, and H is the image height. P is the height of the sliding window, and Q is the width of the sliding window; i. j is the accumulated step length in the horizontal direction and the longitudinal direction respectively; the step size in this embodiment is 1 pixel.
3) Overexposure area determination
If the formula (ii) is selected, a value greater than K in a [ m ] [ n ] is calculated (usually, K may be P × Q × 0.8, that is, "Y" components of more than 80% of the pixels in the selected area are greater than T), and if a number of a [ m ] [ n ] satisfying the condition is large, the maximum values of the three non-overlapping areas are selected. Calculating the standard deviation of the original brightness component Y [ m ] [ n ] of the selected area corresponding to A [ m ] [ n ], namely:
wherein,
and designing a constant C as a threshold decision value of S, and processing the image by taking a fixed integer value of C belonging to (3,10), wherein the optimal effect is specifically required to be adjusted according to the exposure parameters of the camera. If at least one P × Q pixel region exists in the first picture, making:
if yes, judging that the first picture has an overexposure area, otherwise, judging that the first picture has no overexposure area.
If the first picture has an overexposure area, processing the second picture taken by the snapshot according to the steps 1), 2) and 3), and judging whether the second picture taken by the snapshot has the overexposure area.
If the first snapshot picture has an overexposure area and the second picture does not have the overexposure area, the vehicle captured by the picture is suspected to be provided with the license plate anti-shooting device, alarm information is uploaded, manual judgment is carried out, and otherwise, the vehicle is processed according to the condition that the license plate anti-shooting device is not arranged.

Claims (4)

1. The capturing and identifying method for the vehicle provided with the license plate anti-shooting device is characterized by comprising the following steps of:
when an electronic police detects that a vehicle passes through, firstly, controlling an electronic police flash lamp to be turned on and taking a picture of the vehicle for the first time; taking a second picture of the vehicle after the electric alarm flash lamp is turned off;
identifying overexposure areas of the pictures shot twice; and when the picture taken for the first time has an overexposure area and the picture taken for the second time does not have the overexposure area, the vehicle is considered to be provided with the license plate anti-shooting device.
2. The capture recognition method of the vehicle with the license plate anti-shooting device of claim 1, wherein the recognition of the overexposed region comprises the following steps:
carrying out binarization on the gray level of the picture to obtain a binarized image;
traversing the set sliding window on the binary image to obtain a brightness statistic value in a corresponding area of each sliding window;
taking a sliding window area corresponding to the fact that the luminance statistic value of the binary image is larger than a set value K as an overexposure candidate area;
and calculating the standard deviation of each overexposure candidate region, wherein the overexposure candidate region corresponding to the standard deviation smaller than the threshold value is the overexposure region.
3. The method for capturing and identifying the vehicle with the license plate anti-shooting device according to claim 2, wherein the step of traversing the set sliding window on the binary image to obtain the statistical value of the brightness in the corresponding area of each sliding window is realized by the following formula:
wherein, A [ m ] [ n ] is a luminance statistic value; y [ m ] [ n ] is data corresponding to the mth row and the nth column in the gray-scale image of the picture; i. j is the accumulated step length in the horizontal direction and the longitudinal direction respectively; m belongs to [0, W-P), n belongs to [0, H-Q); w is the image width and H is the image height; p is the sliding window height and Q is the sliding window width.
4. The method of claim 2, wherein the standard deviation is a standard deviation of the vehicle mounted with the license plate anti-camera
WhereinP is the height of the sliding window, and Q is the width of the sliding window; y [ m ]][n]And Y components of pixel points of the mth row and the nth column in the picture.
CN201610045974.0A 2016-01-22 2016-01-22 The anti-capture recognition methods for clapping device vehicle of car plate is installed Active CN105513372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610045974.0A CN105513372B (en) 2016-01-22 2016-01-22 The anti-capture recognition methods for clapping device vehicle of car plate is installed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610045974.0A CN105513372B (en) 2016-01-22 2016-01-22 The anti-capture recognition methods for clapping device vehicle of car plate is installed

Publications (2)

Publication Number Publication Date
CN105513372A CN105513372A (en) 2016-04-20
CN105513372B true CN105513372B (en) 2017-10-27

Family

ID=55721313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610045974.0A Active CN105513372B (en) 2016-01-22 2016-01-22 The anti-capture recognition methods for clapping device vehicle of car plate is installed

Country Status (1)

Country Link
CN (1) CN105513372B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355900B (en) * 2020-03-12 2021-12-17 浙江大华技术股份有限公司 Image processing method and device, storage medium and electronic device
CN114821017B (en) * 2022-04-08 2023-04-07 辽宁警察学院 Self-adaptive light supplement image acquisition method for heat-insulating and explosion-proof membrane of vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103021184A (en) * 2012-12-26 2013-04-03 江苏大学 Method and system for assistant distinguishing of vehicles with license plates covered
CN103646548A (en) * 2013-12-06 2014-03-19 镇江市星禾物联科技有限公司 Image identification technology-based license plate identification method
CN104469176A (en) * 2014-12-02 2015-03-25 安徽拓威科技有限公司 Anti-glare device of intelligent toll gate and control method of anti-glare device
US9019379B2 (en) * 2012-03-21 2015-04-28 Altek Corporation License plate image-pickup device and image exposure adjustment method thereof
CN204680203U (en) * 2015-04-14 2015-09-30 合肥圣博瑞科技有限公司 Electronic police anti-dazzle arrangement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9019379B2 (en) * 2012-03-21 2015-04-28 Altek Corporation License plate image-pickup device and image exposure adjustment method thereof
CN103021184A (en) * 2012-12-26 2013-04-03 江苏大学 Method and system for assistant distinguishing of vehicles with license plates covered
CN103646548A (en) * 2013-12-06 2014-03-19 镇江市星禾物联科技有限公司 Image identification technology-based license plate identification method
CN104469176A (en) * 2014-12-02 2015-03-25 安徽拓威科技有限公司 Anti-glare device of intelligent toll gate and control method of anti-glare device
CN204680203U (en) * 2015-04-14 2015-09-30 合肥圣博瑞科技有限公司 Electronic police anti-dazzle arrangement

Also Published As

Publication number Publication date
CN105513372A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN101344988B (en) Image acquisition and processing equipment and method, vehicle monitoring and recording system
CN107967806B (en) Vehicle fake-license detection method, device, readable storage medium storing program for executing and electronic equipment
CN100507970C (en) Red light overriding detection system and method based on digital video camera
KR101688695B1 (en) Apparatus and method for recognizing the number of cars and a computer-readable recording program for performing the said method, the recording medium
CN102768801B (en) Method for detecting motor vehicle green light follow-up traffic violation based on video
CN104134352B (en) The video frequency vehicle feature detection system and its detection method combined based on long short exposure
CN1725266A (en) Vehicle intelligent monitoring recording syste mand method based on video trigger and speed measuring
CN102556021B (en) Control device for preventing cars from running red light
CN105654734A (en) Data processing method and device for vehicle violations
CN101373517A (en) Method and system for recognizing license plate
CN101388146A (en) Image acquisition and treatment apparatus and method, and vehicle monitoring and recording system
KR101625538B1 (en) Car Number Recognition system
CN211827564U (en) A recognition device for detecting whether vehicle opens high beam night
CN110837826B (en) License plate recognition method and related device based on self-adaptive strong light irradiation
CN106585530A (en) Vehicle-mounted snapshooting device and control method thereof
CN105046966A (en) System and method for automatically detecting illegal parking behaviors in drop-off areas
CN102509452B (en) Flashlight control method of intelligent traffic monitoring system and device thereof
KR100948382B1 (en) Security service method and system
KR100910905B1 (en) A method and system for detecting violation vehicle for headlamp
CN105513372B (en) The anti-capture recognition methods for clapping device vehicle of car plate is installed
CN115103475A (en) Street lamp illumination control method, device, equipment and storage medium
CN201247528Y (en) Apparatus for obtaining and processing image
CN204856897U (en) It is detection device violating regulations in abscission zone territory that motor vehicle stops promptly
CN112581748A (en) Garage traffic-out pedestrian safety prompting system based on convolutional neural network
CN108470450A (en) Electronic police Intelligent supplemental lighting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant