CN109409171A - Driver's authentication method, device, computer equipment and readable storage medium storing program for executing - Google Patents
Driver's authentication method, device, computer equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109409171A CN109409171A CN201710712968.0A CN201710712968A CN109409171A CN 109409171 A CN109409171 A CN 109409171A CN 201710712968 A CN201710712968 A CN 201710712968A CN 109409171 A CN109409171 A CN 109409171A
- Authority
- CN
- China
- Prior art keywords
- photo
- driver
- electronic driving
- driving license
- license
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/59—Context or environment of the image inside of a vehicle, e.g. relating to seat occupancy, driver state or inner lighting conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/757—Matching configurations of points or features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/56—Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
- G06V20/58—Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
- G06V20/584—Recognition 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/148—Segmentation of character regions
- G06V30/153—Segmentation of character regions using recognition of characters or words
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
- G06V20/625—License plates
Abstract
The present invention relates to a kind of driver's authentication method, device, computer equipment and readable storage medium storing program for executing, this method includes the photo for obtaining the driver that roadside device takes;Whether the electronic driving license that detection is currently inserted into mobile unit, which authorizes, passes through, if so, judging whether electronic driving license is registered;If so, obtaining the photo in electronic driving license;Calculate the similarity of the photo in electronic driving license and the photo of the driver of shooting;When similarity is greater than threshold value, then exports driver and authenticate the information passed through.Above-mentioned driver's authentication method, device, computer equipment and readable storage medium storing program for executing, by judge the electronic driving license for being currently inserted into mobile unit whether authorize by and electronic driving license whether registered legitimacy to judge driver, the authenticity of driver is judged by calculating the similarity of the photo in the photo and electronic driving license of the driver that shoot via roadside device, artificial examination one by one is not needed, it is high-efficient.
Description
Technical field
The present invention relates to field of computer technology, set more particularly to a kind of driver's authentication method, device, computer
Standby and readable storage medium storing program for executing.
Background technique
With the improvement of living standards, vehicle becomes the essential tool of people's trip.So as to cause being deposited in society
It usurps in some criminals, steal with vehicle, but current supervision department drives the driver of vehicle generally by examination
The mode of papery driving license judge whether driver is true legal driver, thus when vehicle flowrate is larger, people
It is lower that work is directed to the efficiency that each vehicle passed by is checked.
Summary of the invention
Based on this, it is necessary to for the low problem of driver's authentication efficiency, provide a kind of driver's authentication method, dress
It sets, computer equipment and readable storage medium storing program for executing.
A kind of driver's authentication method, which comprises
Obtain the photo for the driver that roadside device takes;
Whether the electronic driving license that detection is currently inserted into mobile unit, which authorizes, passes through, if so, judging that the electronic driving license is
No is registered electronic driving license;
When the electronic driving license is registered electronic driving license, then the photo in the electronic driving license is obtained;
Calculate the first similarity of the photo in the electronic driving license and the photo of the driver of shooting;
When first similarity is greater than threshold value, then exports the driver and authenticate the information passed through.
In one of the embodiments, the method also includes:
Current weather state is detected by roadside device;
If current weather state is rain and snow weather, the threshold value is reduced.
The photo of the driver of the photo calculated in the electronic driving license and shooting in one of the embodiments,
The first similarity the step of, comprising:
Calculate the fisrt feature parameter of the photo of the driver of shooting;
Calculate the second feature parameter of the photo in the electronic driving license;
According to the fisrt feature parameter and the second feature parameter, the photo in the electronic driving license and shooting are calculated
Driver photo the first similarity.
In one of the embodiments, the method also includes:
Obtain the license plate photo for the vehicle that roadside device takes;
The information of vehicles that mobile unit is sent is received by roadside device;
Judge whether the information of vehicles is registered information of vehicles;
When the information of vehicles is registered information of vehicles, then the license plate number in the license plate photo is obtained;
License plate number in the license plate photo is compared with the license plate number in the information of vehicles;
When the license plate number in the license plate photo is identical as the license plate number in the information of vehicles, then enter the detection
Whether the electronic driving license for being currently inserted into mobile unit authorizes the step of passing through.
The step of license plate number obtained in the license plate photo includes: in one of the embodiments,
The license plate photo is split to obtain several segmentation pictures according to the position of the license plate photo medium size code;
The second similarity for calculating the segmentation picture and preset standard character, obtains the maximum pre- bidding of the second similarity
Quasi- character;
The maximum preset standard character of the similarity is combined as the license plate number in the license plate photo.
A kind of driver's authentication device, described device include:
Module is obtained, for obtaining the photo for the driver that roadside device takes;
Whether receiving module is currently inserted into the electronic driving license of mobile unit and authorizes and pass through for detecting;
Judgment module, for when the electronic driving license authorization for being currently inserted into mobile unit passes through, then judging that the electronics is driven
According to whether being registered electronic driving license;
Computing module, for when the electronic driving license is registered electronic driving license, then obtaining in the electronic driving license
Photo;And calculate the first similarity of the photo in the electronic driving license and the photo of the driver of shooting;
Output module is used for when first similarity is greater than threshold value, then exports what driver's certification passed through
Information.
Described device in one of the embodiments, further include:
Detection module, for detecting current weather state by roadside device;
Module is adjusted, if be rain and snow weather for current weather state, reduces the threshold value.
The computing module includes: in one of the embodiments,
Calculation of characteristic parameters unit, the fisrt feature parameter of the photo of the driver for calculating shooting;Described in calculating
The second feature parameter of photo in electronic driving license;
Similarity calculated, for calculating the electricity according to the fisrt feature parameter and the second feature parameter
First similarity of the photo of the driver of photo and shooting in sub- driving license.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the step in the above method is realized when the processor executes the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, which is executed by processor
Step in the Shi Shixian above method.
Above-mentioned driver's authentication method, device, computer equipment and readable storage medium storing program for executing, are judged by mobile unit
The electronic driving license whether electronic driving license of the current driver for driving vehicle is authorized by vehicle, when electronic driving license is vehicle institute
The electronic driving license of authorization then continues whether judge electronic driving license when being currently inserted into the electronic driving license authorization of mobile unit and passing through
It has been registered that, that is, judge whether electronic driving license is legal electronic driving license, and only electronic driving license is registered electronic driving license and is
When vehicle authorization, driver is only legal driver;And the photo of driver is obtained by roadside device again, only
When the similarity of photo in the photo and electronic driving license of driver is greater than threshold value, which is only true driver
Member does not need artificial examination one by one so as to realize the legitimacy and authenticity verification of driver, high-efficient.
Detailed description of the invention
Fig. 1 is the applied environment figure of driver's authentication method in an embodiment;
Fig. 2 is the flow chart of driver's authentication method in an embodiment;
Fig. 3 is the flow chart of the step S210 in embodiment illustrated in fig. 2;
Fig. 4 is the flow chart of the vehicle authentication step in an embodiment;
Fig. 5 is the schematic diagram of driver's authentication device in an embodiment;
Fig. 6 is the schematic diagram of computer equipment in an embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and
It is not used in the restriction present invention.
Before embodiment according to the present invention is described in detail, it should be noted that, the embodiment described essentially consist in
The combination of driver's authentication method, device, the step of computer equipment and readable storage medium storing program for executing correlation and system component.Cause
This, the system component and method and step are showed by ordinary symbol in position in the accompanying drawings, and
Details related with the embodiment of the present invention is understood is merely illustrated, in order to avoid because for having benefited from ordinary skill of the invention
Those of apparent details has obscured the disclosure for personnel.
Herein, such as left and right, upper and lower, front and rear, first and second etc relational terms are used merely to area
Divide an entity or movement and another entity or movement, and not necessarily requires or imply and is between this entity or movement any
Actual this relationship or sequence.The terms "include", "comprise" or any other variant are intended to cover non-exclusive inclusion, by
This to include the process, method, article or equipments of a series of elements not only to include these elements, but also includes not bright
The other element really listed, or be elements inherent to such a process, method, article, or device.
Referring to Fig. 1, Fig. 1 is the applied environment figure of driver's authentication method in an embodiment, including vehicle, road
Side apparatus and background process equipment.Mobile unit in vehicle can be communicated with roadside device, roadside device can with it is rear
Platform processing equipment is communicated.
Mobile unit wherein is installed on vehicle, which includes the memory for storing information of vehicles, for reading
The reading device of electronic driving license and the communication device communicated with roadside device.Wherein read the reading device of electronic driving license
It can be and be similar to a card reader used in Current Highway electronic charging ETC, driving of storing in electronic driving license can be read
Personal information is sailed, so that mobile unit can send driver's information and the information of vehicles being stored in mobile unit to
Roadside device.
Roadside device may include two parts, and one for receiving the driver's information sent by mobile unit and depositing
The reception device of the information of vehicles in mobile unit is stored up, the other is the photo and vehicle license plate for shooting driver
Photographic device.Wherein the reception device can be rf signal reception device, 3G, 4G or 5G signal receiving device, shooting dress
Setting can be high speed focusing mechanism.It in practical applications can be by reception device and the integrated production of photographic device, Huo Zhefen
The two parts are not produced.Entire roadside device, which can be hand-held mobile device and be also possible to be fixedly mounted on the website in roadside, to be set
It is standby, can according to need flexible setting, such as fixed website can be set in certain a road section, and be arranged in other sections
Handheld device, the handheld device are used by traffic-police.Or fixed website was not only set in same a road section, but also setting holds and sets
It is standby.
Background process equipment can be communicated with roadside device, to the information of vehicles received to roadside device, drive
Sail personal information and photographic device shooting photo and vehicle license plate handled, with to vehicle authenticity and legitimacy,
The authenticity of driver judges with legitimacy.
Referring to Fig. 2, Fig. 2 is the flow chart of driver's authentication method in an embodiment, the present embodiment is answered in this way
The background process equipment in above-mentioned Fig. 1 is used to illustrate.Operation has driver's authentication procedure in the background process equipment,
Implement driver's authentication method by driver's authentication procedure.This method specifically comprises the following steps:
S202: the photo for the driver that roadside device takes is obtained.
Specifically, in both sides of the road, urban road crossing and expressway entrance and exit, the trackside including photographic device can be set up
Equipment, so that the photographic device of roadside device can take the photo of driver when vehicle is by those places.Wherein
In order to improve taken driver photo quality, can be shot by high speed focusing camera device.Trackside
After equipment is sent to background process equipment by driver's photo that shooting obtains, background process equipment can be first to data
Validity verified, such as roadside device can be encrypted when sending the photo of captured driver, when after
It when platform processing equipment receives the photo of the driver of the encrypted shooting, is decrypted, only effective encryption data
It can just be ultimately used to judge that the authenticity and legitimacy of driver, invalid encryption data then can be deleted directly.
S204: whether the electronic driving license that detection is currently inserted into mobile unit, which authorizes, passes through.
Specifically, the information that can drive the driver of the vehicle is stored in mobile unit, such as in vehicle release
Before, administrator's account of default can be set in manufacturer;After user has bought vehicle, pass through the electronic driving license of vehicle authorization oneself
To be used as administrator, if subsequent user allows other drivers to drive the vehicle, the driver institute can be given
The electronic driving license authorization held, to can store multiple electronic driving licenses for authorizing and passing through in mobile unit.
When driver drives vehicle, need for the electronic driving license of oneself to be inserted into mobile unit, so that vehicle-mounted set
The standby electronic driving license information that can read current driver, then the driver passed through is authorized with stored in mobile unit
The electronic driving license information of member is compared, if the electronic driving license information of current driver is awarded with stored in mobile unit
The electronic driving license information for weighing the driver passed through is consistent, then illustrates that the electronic driving license of current driver is authorized, i.e., complete
It is verified at the first step of driver's legitimacy.Wherein in the electronic driving license information and mobile unit for comparing current driver
In it is stored authorize pass through driver electronic driving license information when, can only compare electronic driving license driving license number.
In addition, if exporting the result of driver's exception currently without the electronic driving license for being inserted into mobile unit.
S206: if the electronic driving license authorization for being currently inserted into mobile unit passes through, judge whether electronic driving license is registered
Electronic driving license.
Specifically, if stored in the electronic driving license information of current driver and mobile unit authorize the driving passed through
The electronic driving license information of personnel is consistent, then mobile unit completes the first step verifying of driver's legitimacy, the mobile unit
The information that the authorization can be passed through is sent to roadside device, then is transmitted to background process equipment by roadside device, at backstage
After reason equipment receives the information that the authorization passes through, then the second step verifying of driver's legitimacy is carried out, that is, judges that electronics is driven
According to whether being registered electronic driving license.
Wherein registered electronic driving license refers to the driving test by unification of the motherland, after obtaining driving license, the license information
It can be stored in unified platform, such as unification of the country management platform can be stored in.It is driven when in registered electronics
When inquiring the license information of the current driver according in, then it is assumed that the electronic driving license is registered electronic driving license, thus
Complete the second step judgement of driver's legitimacy.
If the electronic driving license authorization for being currently inserted into mobile unit does not pass through, the result of current driver's exception is exported.
S208: when electronic driving license is registered electronic driving license, then the photo in electronic driving license is obtained.
Specifically, background process platform is after the verifying for the legitimacy for completing driver, including passes through mobile unit
Verifying electronic driving license whether be vehicle authorization electronic driving license first step legitimate verification and by whether judging electronic driving license
For the second step legitimate verification of registered electronic driving license, background process platform carries out the authenticity verification of driver again,
Photographic intelligence is extracted from acquired electronic driving license, such as corresponding photograph can be extracted according to the position of photo in electronic driving license
Piece information.
S210: the first similarity of the photo in electronic driving license and the photo of the driver of shooting is calculated.
Specifically, background process platform calculates driving captured by photo and roadside device in extracted electronic driving license
First similarity of the photo of personnel, whether the driver so as to judge driving vehicle is holding for electronic driving license
Someone prevents from usurping other people electronic driving license there are other people without driving license and drives vehicle.
S212: it when the first similarity is greater than threshold value, then exports driver and authenticates the information passed through.
Specifically, threshold value can be according to the obtained threshold value of big data analysis, for example, it can be 80%, 70%,
75% equal numerical value, if the first similarity is greater than threshold value, i.e. photo in the photo and electronic driving license of captured driver
Similarity it is higher, driving vehicle driver be electronic driving license holder, the authenticity verification of the driver
Pass through, so as to export the information that driver is verified, background process equipment can save this record, in order to rear
Continuous inquiry.If the first similarity is less than or equal to threshold value, the result of driver's exception is exported.
Above-mentioned driver's authentication method judges that the electronics for currently driving the driver of vehicle is driven by mobile unit
According to the electronic driving license whether authorized by vehicle, when the electronic driving license that electronic driving license is authorized by vehicle, that is, it is currently inserted into vehicle-mounted
When the electronic driving license authorization of equipment passes through, then continue to judge whether electronic driving license has been registered, that is, judge electronic driving license whether be
When legal electronic driving license, only electronic driving license are registered electronic driving licenses and are vehicle authorization, driver is only legal
Driver;And the photo of driver is obtained by roadside device again, only in the photo and electronic driving license of driver
When the similarity of photo is greater than threshold value, which is only true driver, so as to realize the conjunction of driver
Method and authenticity verification do not need artificial examination one by one, high-efficient.
Driver's authentication method can also include: current by roadside device detection in one of the embodiments,
State of weather;If current weather state is rain and snow weather, threshold value is reduced.
Specifically, roadside device can get current weather state by Raindrop sensor, and wherein Raindrop sensor is again
It is sensor for detecting rain, for detecting whether rainy and rainfall size.When Raindrop sensor detects currently as sleet sky
When gas, then state of weather is that the signal of rain and snow weather is sent to background process equipment before deserving, and background process equipment is receiving
To after the signal, threshold value is reduced automatically, such as can reduce threshold value according to preset step-length, or detect according to Raindrop sensor
Threshold value is arranged in rainfall out, so as to prevent from causing the clarity of captured photo inadequate because raining, thus i.e.
Make be electronic driving license bona fide holder, background process equipment as driver's photo captured by roadside device with from
First similarity of the photo of the driver extracted in electronic driving license is not up to threshold value and leads to that driver's is true
Reality misjudgment.
In practical applications, when background devices receive the photo of driver captured by its of roadside device transmission
When, the photo that the driver of operator seat is sitting in vehicle can be extracted according to the position of vehicle, and ignore and be sitting in copilot
The photo of the passenger of position carries out to will only be sitting in extracted photo in the photo and electronic driving license of the driver of operator seat
Compare, obtains the first similarity A, at this time if weather is normal, i.e., the bad weathers such as no sleet or dense fog, then by the first phase
Like degree A compared with the threshold value B of default, verified with the authenticity to driver, if roadside device detects at this time
Current weather state is the bad weathers such as sleet, then background process equipment first reduces the threshold value B of default according to preset step-length
For new threshold value C, then the first similarity A is compared with the new threshold value C, so as to reduce the bad weathers such as sleet
Threshold value C, mistake is identified to the authenticity of driver when avoiding rain and snow weather.
In above-described embodiment, when detecting current weather is rain and snow weather, background process equipment can reduce threshold automatically
Value, so as to prevent from causing the clarity of captured photo inadequate because raining, even leading to the true of electronic driving license
Holder, background process equipment is as driver's photo captured by roadside device is extracted with from electronic driving license
The case where first similarity of the photo of the driver come is not up to threshold value and the authenticity of driver is caused to judge incorrectly
Generation.
It is in one of the embodiments, the flow chart of the step S210 in embodiment illustrated in fig. 2 refering to Fig. 3, Fig. 3, it should
Step S210 is that can wrap the step of calculating the first similarity of the photo of driver of photo and shooting in electronic driving license
It includes:
S302: the fisrt feature parameter of the photo of the driver of shooting is calculated.
S304: the second feature parameter of the photo in electronic driving license is calculated.
Specifically, calculate electronic driving license in photo and shooting driver photo the first similarity when
It waits, the fisrt feature parameter of the photo of captured driver and the second spy of the photo in electronic driving license can be calculated separately
Levy parameter, fisrt feature parameter include the contours profiles of captured driver, color-values it is therein at least any one,
Middle color-values include tone, saturation degree and lightness;Second feature parameter includes the driver in the photo in electronic driving license
Contours profiles, color-values it is therein at least any one, wherein color-values include tone, saturation degree and lightness.
S306: according to fisrt feature parameter and second feature parameter, the photo in electronic driving license and the driving of shooting are calculated
First similarity of the photo of personnel.
Specifically, using second feature parameter as known conditions, to compare the fisrt feature parameter of captured photo, more have
Specific aim accelerates recognition speed and accuracy rate.Such as using second feature parameter as known conditions, by fisrt feature parameter
Each parameter be compared with each parameter in second feature parameter, to obtain the photo in electronic driving license and shooting
First similarity of the photo of driver.For example, it is assumed that including contours profiles parameter, color-values ginseng in fisrt feature parameter
Number then first goes the contours profiles parameter in matching second feature parameter with the contours profiles parameter in fisrt feature parameter, obtains
Then first reference value M goes the color-values in matching second feature parameter to join with the color value parameter in fisrt feature parameter again
Number, obtains the second reference value N, and it is similar that the weight n of weight m and color value parameter further according to contours profiles parameter calculate first
Degree, such as M × m+N × n.
In above-described embodiment, using second feature parameter as known conditions, to compare the fisrt feature ginseng of captured photo
Number, more targetedly, accelerates recognition speed and accuracy rate.
It is in one of the embodiments, the flow chart of the vehicle authentication step in an embodiment, the vehicle refering to Fig. 4, Fig. 4
Authenticating step can be to be performed before above-mentioned driver's authentication method, which may include:
S402: the license plate photo for the vehicle that roadside device takes is obtained.
S404: the information of vehicles that mobile unit is sent is received by roadside device.
Specifically, in both sides of the road, urban road crossing and expressway entrance and exit, the trackside including photographic device can be set up
Equipment, so that the photographic device of roadside device can take license plate photo when vehicle is by those places.It is set by trackside
The information of vehicles that standby wireless collection information of vehicles is sent, such as when roadside device is radio-frequency unit, radio frequency can be passed through
Device receives the information of vehicles that mobile unit is sent.Roadside device is sent to background process by the license plate photo that shooting obtains and sets
After standby, background process equipment can first be verified the validity of data, such as roadside device is sending captured vehicle
It can be encrypted when licence plate piece, when background process equipment receives the license plate photo of the encrypted shooting, be decrypted,
Only effective encryption data can just be ultimately used to judge the authenticity and legitimacy of vehicle, and invalid encryption data then can be direct
It deletes.In addition, roadside device is sent to background process equipment by the information of vehicles of wireless collection, when background process equipment first
Judge whether the information of vehicles is effective, i.e., whether can just be used in vehicle with successful decryption, the information of vehicles of only successful decryption
Authenticity and legitimacy judgement.Secondly judge with the presence or absence of license board information in information of vehicles, if do not deposited in information of vehicles
In license board information, then directly output vehicle abnormality as a result, otherwise continuing to judge the legitimacy of vehicle.
S406: judge whether information of vehicles is registered information of vehicles.
Specifically, after information of vehicles is sent to roadside device, roadside device sends background process for information of vehicles again and sets
Standby, background process equipment first detects the legitimacy of vehicle, i.e. whether detection vehicle is registered vehicle, namely detection
Whether information of vehicles is stored in database corresponding to background process equipment, if vehicle is registered vehicle, vehicle is logical
Legitimacy detection is crossed, if vehicle is not registered vehicle, exports the result of vehicle abnormality.
S408: when information of vehicles is registered information of vehicles, then the license plate number in license plate photo is obtained.
S410: the license plate number in license plate photo is compared with the license plate number in information of vehicles.
Specifically, when information of vehicles is registered information of vehicles, i.e., after vehicle is detected by legitimacy, then vehicle is carried out
Authenticity detection, it can prevent vehicle from the phenomenon that deck occur.By the license plate number and vehicle in captured license plate photo
License plate number in information is compared, so as to judge whether the license plate hung on vehicle is deck, so as to right
The authenticity of vehicle is detected.
S412: when the license plate number in license plate photo is identical as the license plate number in information of vehicles, then it is current slotting to enter detection
Whether the electronic driving license for entering mobile unit authorizes the step of passing through.
Specifically, when the license plate number in license plate photo is identical as the license plate number in information of vehicles, i.e. the authenticity of vehicle
Detection also by, then can continue the legitimacy and authenticity that judges driver, if vehicle authenticity detect do not pass through,
Then directly export the result of vehicle abnormality.
In above-described embodiment, the legitimacy of vehicle is judged by judging whether information of vehicles is registered information of vehicles,
And the authenticity of vehicle is judged by the license board information in the license board information of captured photo and information of vehicles, simply may be used
It leans on.
The step of obtaining the license plate number in license plate photo in one of the embodiments, i.e., step S408 may include: root
License plate photo is split to obtain several segmentation pictures according to the position of license plate photo medium size code;It calculates segmentation picture and presets
Second similarity of standard character obtains the maximum preset standard character of the second similarity;By the maximum preset standard of similarity
Character is combined as the license plate number in license plate photo.
Specifically, when roadside device obtains the license plate photo of vehicle, mobile unit detects that current environment is low-light (level)
When environment, then light compensating lamp is automatically opened, so that the clarity of the license plate photo of vehicle acquired in roadside device is higher.It is obtaining
When license plate number in license plate photo, if first license plate photo can be split to obtain according to the position of license plate photo medium size code
Dry segmentation picture, such as license plate number are generally 7, therefore can obtain head and the tail position in license plate photo first, then by vehicle
Licence plate piece is equally divided into 7 segmentation pictures, then calculates the second similarity of each segmentation picture and preset standard character, such as
Third divides picture, and it should be number, then calculate separately the similarity of itself and preset standard character 0-9, choose similarity most
Identification character of the big preset standard character as third segmentation picture, then by the identification character of each segmentation picture
In combination as the license plate number in license plate photo.Wherein when the similarity for calculating each segmentation picture and preset standard character
When, it can choose the identification character last as the segmentation picture greater than the character of preset value, and work as when roadside device detects
When preceding weather is rain and snow weather, the preset value can also be reduced according to preset step-length.
For example, the head and the tail position for getting license plate number in license plate photo is identified first, such as license plate number is " Shanghai A12345 ",
The left margin for then obtaining " Shanghai " in license plate photo first is set as first place, and the right margin of " 5 " is as tail position, then according to first place
It sets the distance between tail position to be split as 7 segmentation pictures picture, then calculate separately in each segmentation picture
The similarity of image graph preset characters, it is assumed that the similarity that third divides image and preset characters in picture is E1, E2 ...
E10, wherein E1 is greater than preset value F, then preset characters 0 corresponding with similarity E1 are the identification character of this segmentation picture.The
Three according to the identification character combination of each segmentation picture to obtain the license plate number in license plate photo, then pass through in the license plate photo
License plate number is compared with the license plate number in information of vehicles, to judge the authenticity of vehicle.
In above-described embodiment, by the way that license plate photo to be split, and it is compared with preset standard character, obtains license plate
License plate number in photo, so that the identification of license plate number is more accurate, so that the judging result of vehicle authenticity is more accurate.
It please refers to shown in Fig. 5, Fig. 5 is the schematic diagram of driver's authentication device in an embodiment, driver certification
Device includes:
Module 100 is obtained, for obtaining the photo for the driver that roadside device takes.
Whether electronic driving license detection module 200 is currently inserted into the electronic driving license of mobile unit and authorizes and pass through for detecting.
Judgment module 300, for when the electronic driving license authorization for being currently inserted into mobile unit passes through, then judging electronic driving license
It whether is registered electronic driving license.
Computing module 400, for when electronic driving license is registered electronic driving license, then obtaining the photo in electronic driving license,
And calculate the first similarity of the photo of the driver of the photo in electronic driving license and shooting.
Output module 500, for when the first similarity is greater than threshold value, then exporting driver and authenticating the information passed through.
Driver's authentication device can also include: in one of the embodiments,
State of weather detection module, for detecting current weather state by roadside device.
Module is adjusted, if be rain and snow weather for current weather state, reduces threshold value.
The computing module 400 may include: in one of the embodiments,
Calculation of characteristic parameters unit, the fisrt feature parameter of the photo of the driver for calculating shooting;Calculate electronics
The second feature parameter of photo in driving license.
Similarity calculated, for calculating the photograph in electronic driving license according to fisrt feature parameter and second feature parameter
First similarity of the photo of the driver of piece and shooting.
Obtaining module 100 in one of the embodiments, can be also used for obtaining the vehicle for the vehicle that roadside device takes
Licence plate piece receives the information of vehicles that mobile unit is sent by roadside device.
Judgment module 300 can be also used for judging whether information of vehicles is registered information of vehicles.
Driver's authentication device can also include:
License plate number extraction module, for when information of vehicles is registered information of vehicles, then obtaining the vehicle in license plate photo
The trade mark.
Comparison module, for the license plate number in license plate photo to be compared with the license plate number in information of vehicles;Work as license plate
When license plate number in photo is identical as the license plate number in information of vehicles, then the electronic driving license of mobile unit is currently inserted into detection
The step of whether authorization passes through.
License plate number extraction module may include: in one of the embodiments,
Cutting unit, for being split license plate photo to obtain several segmentations according to the position of license plate photo medium size code
Picture.
Computing unit obtains the second similarity most for calculating the second similarity of segmentation picture and preset standard character
Big preset standard character.
Module is chosen, for being combined the maximum preset standard character of similarity as the license plate in license plate photo
Number.
Wherein module involved in driver's authentication device, unit can be the program segment according to function division,
Furthermore the restriction that may refer to above for driver's authentication method is limited about the specific of driver's authentication device,
This is repeated no more.
Referring to Fig. 6, Fig. 6 is the schematic diagram of computer equipment in an embodiment, including memory, processor and storage
On a memory and the computer program that can run on a processor, processor perform the steps of when executing computer program
Obtain the photo for the driver that roadside device takes;It is logical whether the electronic driving license that detection is currently inserted into mobile unit authorizes
It crosses, if so, judging whether electronic driving license is registered electronic driving license;When electronic driving license is registered electronic driving license, then obtain
Take the photo in electronic driving license;Calculate the first similarity of the photo in electronic driving license and the photo of the driver of shooting;When
When first similarity is greater than threshold value, then exports driver and authenticate the information passed through.
It is also used to perform the steps of when processor executes computer program in one of the embodiments, and passes through trackside
Equipment detects current weather state;If current weather state is rain and snow weather, threshold value is reduced.
It is also used to perform the steps of calculating shooting when processor executes computer program in one of the embodiments,
Driver photo fisrt feature parameter;Calculate the second feature parameter of the photo in electronic driving license;According to the first spy
Parameter and second feature parameter are levied, the first similarity of the photo in electronic driving license and the photo of the driver of shooting is calculated.
It is also used to perform the steps of acquisition trackside when processor executes computer program in one of the embodiments,
The license plate photo for the vehicle that equipment takes;The information of vehicles that mobile unit is sent is received by roadside device;Judge that vehicle is believed
Whether breath is registered information of vehicles;When information of vehicles is registered information of vehicles, then the license plate number in license plate photo is obtained;
License plate number in license plate photo is compared with the license plate number in information of vehicles;When the license plate number and vehicle letter in license plate photo
When license plate number in breath is identical, then whether the step of passing through is authorized into the electronic driving license that detection is currently inserted into mobile unit.
It is also used to perform the steps of according to license plate when processor executes computer program in one of the embodiments,
License plate photo is split to obtain several segmentation pictures by the position of number in photo;Calculate segmentation picture and preset standard word
Second similarity of symbol obtains the maximum preset standard character of the second similarity;By the maximum preset standard character of similarity into
Row combination is as the license plate number in license plate photo.
The above-mentioned restriction for computer equipment may refer to the specific restriction above for driver's authentication method,
Details are not described herein.
Please continue to refer to Fig. 6, a kind of computer readable storage medium is also provided, computer program is stored thereon with, the meter
Calculation machine program performs the steps of the photo for obtaining the driver that roadside device takes when being executed by processor;Detection is worked as
Whether the electronic driving license of preceding insertion mobile unit, which authorizes, passes through, if so, judging whether electronic driving license is registered electronic driving license;
When electronic driving license is registered electronic driving license, then the photo in electronic driving license is obtained;Calculate the photo in electronic driving license and bat
First similarity of the photo of the driver taken the photograph;When the first similarity is greater than threshold value, then exports driver's certification and pass through
Information.
It is also performed the steps of when the computer program is executed by processor in one of the embodiments, and passes through trackside
Equipment detects current weather state;If current weather state is rain and snow weather, threshold value is reduced.
Calculating shooting is also performed the steps of when the computer program is executed by processor in one of the embodiments,
Driver photo fisrt feature parameter;Calculate the second feature parameter of the photo in electronic driving license;According to the first spy
Parameter and second feature parameter are levied, the first similarity of the photo in electronic driving license and the photo of the driver of shooting is calculated.
Acquisition trackside is also performed the steps of when the computer program is executed by processor in one of the embodiments,
The license plate photo for the vehicle that equipment takes;The information of vehicles that mobile unit is sent is received by roadside device;Judge that vehicle is believed
Whether breath is registered information of vehicles;When information of vehicles is registered information of vehicles, then the license plate number in license plate photo is obtained;
License plate number in license plate photo is compared with the license plate number in information of vehicles;When the license plate number and vehicle letter in license plate photo
When license plate number in breath is identical, then whether the step of passing through is authorized into the electronic driving license that detection is currently inserted into mobile unit.
It also performs the steps of when the computer program is executed by processor in one of the embodiments, according to license plate
License plate photo is split to obtain several segmentation pictures by the position of number in photo;Calculate segmentation picture and preset standard word
Second similarity of symbol obtains the maximum preset standard character of the second similarity;By the maximum preset standard character of similarity into
Row combination is as the license plate number in license plate photo.
The above-mentioned restriction for computer readable storage medium may refer to above for driver's authentication method
Specific to limit, details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of driver's authentication method, which is characterized in that the described method includes:
Obtain the photo for the driver that roadside device takes;
Whether the electronic driving license that detection is currently inserted into mobile unit authorizes and passes through, if so, judge the electronic driving license whether be
Registered electronic driving license;
When the electronic driving license is registered electronic driving license, then the photo in the electronic driving license is obtained;
Calculate the first similarity of the photo in the electronic driving license and the photo of the driver of shooting;
When first similarity is greater than threshold value, then exports the driver and authenticate the information passed through.
2. the method according to claim 1, wherein the method also includes:
Current weather state is detected by roadside device;
If current weather state is rain and snow weather, the threshold value is reduced.
3. according to the method described in claim 2, it is characterized in that, the photo calculated in the electronic driving license and shooting
The step of first similarity of the photo of driver, comprising:
Calculate the fisrt feature parameter of the photo of the driver of shooting;
Calculate the second feature parameter of the photo in the electronic driving license;
According to the fisrt feature parameter and the second feature parameter, the photo calculated in the electronic driving license is driven with what is shot
Sail the first similarity of the photo of personnel.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Obtain the license plate photo for the vehicle that roadside device takes;
The information of vehicles that mobile unit is sent is received by roadside device;
Judge whether the information of vehicles is registered information of vehicles;
When the information of vehicles is registered information of vehicles, then the license plate number in the license plate photo is obtained;
License plate number in the license plate photo is compared with the license plate number in the information of vehicles;
When the license plate number in the license plate photo is identical as the license plate number in the information of vehicles, then it is current to enter the detection
Whether the electronic driving license of insertion mobile unit authorizes the step of passing through.
5. according to the method described in claim 4, it is characterized in that, the step of the license plate number obtained in the license plate photo
Include:
The license plate photo is split to obtain several segmentation pictures according to the position of the license plate photo medium size code;
The second similarity for calculating the segmentation picture and preset standard character, obtains the maximum preset standard word of the second similarity
Symbol;
The maximum preset standard character of the similarity is combined as the license plate number in the license plate photo.
6. a kind of driver's authentication device, which is characterized in that described device includes:
Module is obtained, for obtaining the photo for the driver that roadside device takes;
Whether electronic driving license detection module is currently inserted into the electronic driving license of mobile unit and authorizes and pass through for detecting;
Judgment module, for when the electronic driving license authorization for being currently inserted into mobile unit passes through, then judging that the electronic driving license is
No is registered electronic driving license;
Computing module, for when the electronic driving license is registered electronic driving license, then obtaining the photo in the electronic driving license;
And calculate the first similarity of the photo in the electronic driving license and the photo of the driver of shooting;
Output module, for when first similarity is greater than threshold value, then exporting the driver and authenticating the information passed through.
7. device according to claim 6, which is characterized in that described device further include:
State of weather detection module, for detecting current weather state by roadside device;
Module is adjusted, if be rain and snow weather for current weather state, reduces the threshold value.
8. the method according to the description of claim 7 is characterized in that the computing module includes:
Calculation of characteristic parameters unit, the fisrt feature parameter of the photo of the driver for calculating shooting;Calculate the electronics
The second feature parameter of photo in driving license;
Similarity calculated, for calculating the electronics and driving according to the fisrt feature parameter and the second feature parameter
First similarity of the photo of the driver of picture and shooting in taking.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor is realized any one in claim 1 to 5 when executing the computer program
Step in item the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step in any one of claim 1 to 5 the method is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710712968.0A CN109409171A (en) | 2017-08-18 | 2017-08-18 | Driver's authentication method, device, computer equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710712968.0A CN109409171A (en) | 2017-08-18 | 2017-08-18 | Driver's authentication method, device, computer equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109409171A true CN109409171A (en) | 2019-03-01 |
Family
ID=65462564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710712968.0A Pending CN109409171A (en) | 2017-08-18 | 2017-08-18 | Driver's authentication method, device, computer equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109409171A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112085876A (en) * | 2019-06-14 | 2020-12-15 | 上海华虹计通智能系统股份有限公司 | Personnel access management method and system and split type vehicle-mounted equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312521A (en) * | 2000-03-08 | 2001-09-12 | 湖南天翼信息技术有限公司 | Automatic traffic video image treating system |
US20120126939A1 (en) * | 2010-11-18 | 2012-05-24 | Hyundai Motor Company | System and method for managing entrance and exit using driver face identification within vehicle |
CN105448101A (en) * | 2015-12-17 | 2016-03-30 | 艾伯资讯(深圳)有限公司 | Method and system for verifying vehicles and drivers |
CN105488376A (en) * | 2015-12-01 | 2016-04-13 | 北京中微锐芯科技有限公司 | Identity determination method and device |
CN106327861A (en) * | 2015-06-18 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for identifying M2M vehicle networking |
-
2017
- 2017-08-18 CN CN201710712968.0A patent/CN109409171A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312521A (en) * | 2000-03-08 | 2001-09-12 | 湖南天翼信息技术有限公司 | Automatic traffic video image treating system |
US20120126939A1 (en) * | 2010-11-18 | 2012-05-24 | Hyundai Motor Company | System and method for managing entrance and exit using driver face identification within vehicle |
CN106327861A (en) * | 2015-06-18 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for identifying M2M vehicle networking |
CN105488376A (en) * | 2015-12-01 | 2016-04-13 | 北京中微锐芯科技有限公司 | Identity determination method and device |
CN105448101A (en) * | 2015-12-17 | 2016-03-30 | 艾伯资讯(深圳)有限公司 | Method and system for verifying vehicles and drivers |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112085876A (en) * | 2019-06-14 | 2020-12-15 | 上海华虹计通智能系统股份有限公司 | Personnel access management method and system and split type vehicle-mounted equipment |
CN112085876B (en) * | 2019-06-14 | 2022-09-30 | 上海华虹计通智能系统股份有限公司 | Personnel access management method and system and split type vehicle-mounted equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2030153B1 (en) | A validation engine | |
EP4246369A1 (en) | Code scanning method and apparatus | |
CN109840973A (en) | A kind of shared bicycle auto-unlocking method and control system based on recognition of face | |
CN105448101A (en) | Method and system for verifying vehicles and drivers | |
JPH09161108A (en) | Passing vehicle specifying system | |
CN108764179A (en) | A kind of shared automobile unlocking method and system based on face recognition technology | |
CN105279971A (en) | Vehicle information matching method and system, and monitoring device | |
CN110148262A (en) | A kind of third party's automobile leasing management system and automobile starting authorization method based on recognition of face | |
JP2012121386A (en) | On-board system | |
US10049506B2 (en) | Documentation of a motor vehicle condition | |
CN106780886A (en) | A kind of vehicle identification system and vehicle are marched into the arena, appearance recognition methods | |
CN109145888A (en) | Demographic method, device, system, electronic equipment, storage medium | |
CN109409171A (en) | Driver's authentication method, device, computer equipment and readable storage medium storing program for executing | |
CN113643489B (en) | Public transit pos machine based on face identification | |
CN108674367A (en) | A kind of automobile driver's vehicle control method and the system for realizing this method | |
CN108648289A (en) | A kind of vehicle electric sub-mark is applied to the method for parking lot banister | |
CN113409476B (en) | Interaction method and system combining 5G and big data platform | |
JP4119106B2 (en) | In-vehicle machine | |
CN113160551B (en) | Traffic big data based accompanying model application method | |
US20120246477A1 (en) | Method for Validating a Road Traffic Control Transaction | |
CN212766112U (en) | Novel remote face recognition vehicle starting device | |
CN209471482U (en) | A kind of shared bicycle auto-unlocking control system based on recognition of face | |
Ramamurthy et al. | Development and implementation using Arduino and Raspberry Pi based Ignition control system | |
Krishna et al. | Automatic fare collection system for public transport corporation using fingerprint recognition with help of UIDAI | |
CN111753804A (en) | Recognition device, acquisition device, fee deduction device and non-contact biological recognition system for public transport |
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: 20190301 |