CN109858339B - Information verification method, information verification device, computer equipment and computer readable storage medium - Google Patents

Information verification method, information verification device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN109858339B
CN109858339B CN201811578026.9A CN201811578026A CN109858339B CN 109858339 B CN109858339 B CN 109858339B CN 201811578026 A CN201811578026 A CN 201811578026A CN 109858339 B CN109858339 B CN 109858339B
Authority
CN
China
Prior art keywords
information
verified
character
license plate
picture
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
CN201811578026.9A
Other languages
Chinese (zh)
Other versions
CN109858339A (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.)
Shenzhen Zhenai Jieyun Information Technology Co ltd
Original Assignee
Shenzhen Zhenai Jieyun Information 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 Shenzhen Zhenai Jieyun Information Technology Co ltd filed Critical Shenzhen Zhenai Jieyun Information Technology Co ltd
Priority to CN201811578026.9A priority Critical patent/CN109858339B/en
Publication of CN109858339A publication Critical patent/CN109858339A/en
Application granted granted Critical
Publication of CN109858339B publication Critical patent/CN109858339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information verification method, which comprises the following steps: the authentication vehicle information is received by the information authentication server, whether the image of the vehicle to be authenticated in the information to be authenticated uploaded by the user is consistent with the authentication vehicle information is judged, and the information to be authenticated uploaded by the user is confirmed to pass authentication when the vehicle information to be authenticated is consistent with the authentication vehicle information, so that the effect of improving the accuracy and the reliability of the information in the wedding web site is achieved.

Description

Information verification method, information verification device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information verification method, an information verification device, a computer device, and a computer readable storage medium.
Background
With the continuous development of the internet, the internet technology provides convenience for users in various aspects of life, work, traffic and the like, and some platform applications support users to identify opposite friends, such as wedding websites and the like, through the internet, so that the users can search for meeting objects meeting requirements at home.
The existing wedding love website is generally registered by a user, fills in personal information, basic requirements on wedding love objects and the like, however, the wedding love website cannot verify whether the user uploaded identity information is accurate or not, so that the information accuracy of the wedding love website is low and the reliability is low.
Disclosure of Invention
In view of the foregoing, it is a primary object of the present invention to provide an information verification method, apparatus, computer device and computer readable storage medium capable of improving information accuracy.
In order to achieve the above object, the present invention provides an information verification method, including:
receiving information to be verified uploaded by a user; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time;
the identity information to be verified is sent to a preset information verification server; the information verification server is used for storing identity information which passes through the pre-verification and authentication vehicle information matched with the identity information;
receiving authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises the authentication vehicle information matched with the identity information to be verified through verification;
Extracting vehicle information to be verified from the vehicle picture to be verified;
and when the vehicle information to be verified is consistent with the authentication vehicle information, determining that the information to be verified uploaded by the user passes verification.
Further, the identity information to be verified comprises a front picture of the identity card to be verified and picture information of the user acquired in real time;
before the step of sending the identity information to be verified to the information verification server, the method further comprises the steps of:
extracting a face image in a front picture of the identity card to be verified and a face image in the picture information;
and when the face image in the front picture of the identity card to be verified is compared with the face image in the picture information in a face recognition way, executing the step of sending the identity information to be verified to the information verification server.
Further, the authentication vehicle information includes an authentication license plate number;
the step of extracting the vehicle information to be verified from the vehicle picture to be verified comprises the following steps:
determining a license plate region in the vehicle picture to be verified;
and extracting the license plate number to be verified from the license plate region.
Further, the step of determining the license plate region in the license plate picture includes:
determining an identification pixel point with an RGB value of a preset RGB value in the vehicle picture;
sequentially taking the identification pixel points as identification points;
recording an area outlined by taking the identification point as a center as a target area;
and taking the area formed by the target area as a license plate area.
Further, the step of extracting the license plate number to be verified from the license plate area includes:
dividing the license plate region into a preset number of character regions;
extracting character shape features in the character region, taking the character region containing Chinese character shape features in the character region as a first character region, and taking the character region containing English shape features or digital shape features as a second character region;
matching the first character area according to a preset Chinese character library, and determining Chinese character information contained in the license plate number to be verified; wherein, the character library stores the character shape characteristics of preset Chinese characters;
matching the second character area according to a preset English number character library, and determining English number character information contained in the license plate number to be verified; wherein, the preset character library stores the shape characteristics of English characters and digital characters;
And sequentially sequencing and combining the Chinese character information contained in the first character area and the English digital character information contained in the second character area to obtain the license plate number to be verified.
Further, the information to be verified also comprises geographic position information of the user currently acquired in real time;
the step of matching the first character area according to a preset Chinese character library to obtain the Chinese character information of the license plate number to be verified comprises the following steps:
determining the city where the user is located according to the geographic position information;
determining short names corresponding to cities where the users are located;
when the character shape features in the first character area are matched with the character shape features of the short name, determining the text information of the short name license plate number to be verified;
and when the character shape features in the first character region are not matched with the character shape features of the short name, matching the character shape features in the first character region with the character shape features in a preset Chinese character library to obtain character information corresponding to the first character region.
Further, the authentication information further comprises first record information corresponding to the identity information to be verified and second record information, wherein the first record information is used for representing whether a user corresponding to the identity information to be verified has information of a forensic crime department, and the second record information is used for representing whether the user corresponding to the identity information to be verified is information of a criminal evasion person;
After the step of receiving the authentication information returned by the information verification server according to the identity information to be verified, the method further comprises the steps of:
when the authentication information returned by the information verification server contains the first record information, determining that the information to be verified is not verified;
when the authentication information returned by the information verification server contains the second record information, determining that the information to be verified does not pass verification and sending alarm reminding information.
The invention also provides an information verification device, which comprises:
the information acquisition module is used for receiving information to be verified, which is uploaded by a user to be verified; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time;
the sending module is used for sending the identity information to be verified to a preset information verification server; the information verification server stores identity information which passes through the pre-verification and authentication vehicle information matched with the identity information;
the receiving module is used for receiving authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises the authentication vehicle information matched with the identity information to be verified through verification;
The picture feature extraction module is used for extracting the vehicle information to be verified from the vehicle picture to be verified;
and the verification module is used for determining that the information to be verified uploaded by the user passes verification when the information of the vehicle to be verified is consistent with the information of the authenticated vehicle.
The invention also provides a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above-mentioned information verification method when executing the computer program.
The present invention also extracts a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the information verification method described above.
The authentication vehicle information is received from the information authentication server, and then whether the authentication vehicle information in the information to be authenticated uploaded by the user is consistent with the authentication vehicle information is judged.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application scenario diagram of an information verification method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an information verification method according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating steps further included before step S22 according to an embodiment of the present invention;
FIG. 4 is a flowchart of step S24 according to an embodiment of the present invention;
FIG. 5 is a flowchart of step S41 according to an embodiment of the present invention;
FIG. 6 is a flowchart of step S42 according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of character partition of a license plate according to an embodiment of the invention;
FIG. 8 is a block diagram of an information verification device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following first illustrates, with reference to the accompanying drawings, a network architecture to which the schemes of embodiments of the present application are applicable.
Referring to fig. 1, an application scenario diagram of an information verification method according to an embodiment of the present invention is shown, wherein a network architecture involves a background server 10, an information verification server 20, and a user terminal 30. The user terminal 30 is used for uploading information to be verified to the background server 10; the background server 10 may be a server for executing an information verification method, for example, may be a background server of a wedding web site in an information verification scene of a wedding social platform, and stores authenticated information uploaded by the user terminal 30 after verification; the information verification server 20 is configured to receive the identity information waiting to be verified sent by the background system server 10, perform verification, and then feed back authentication information corresponding to the verified identity information to the background system server 10, so that the background server 10 can determine the accuracy of the information waiting to be verified, which is uploaded by the user, according to the authentication information.
The information verification server 20 may be a public security server, a banking server, or other verification server with public trust. The information verification server stores identity information which passes through the pre-verification and authentication information matched with the identity information; wherein the authentication information includes, but is not limited to, authentication vehicle information, authentication marital information, authentication revenue information, and the like.
It will be appreciated that in an alternative embodiment, the user terminal may also be used to perform the information verification method. The backend server may be a cloud server or a local server.
As shown in fig. 2, an information verification method provided in a first embodiment of the present invention includes:
step S21, receiving information to be verified uploaded by a user; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time.
The information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time. The vehicle information to be verified is a vehicle picture acquired in real time through the user terminal, the background server can identify a specific license plate number to be verified according to the vehicle picture, and the specific license plate number to be verified is used for judging whether the specific license plate number is consistent with a subsequently acquired authentication license plate number, and detailed description is made in a subsequent implementation mode.
The identity information to be verified is information for representing the identity of the user, including but not limited to an identity card number of the user, an identity card picture of the user, a picture containing the face of the user acquired in real time, and the like.
In order to further improve accuracy of information verification, in a specific embodiment of the present invention, the information to be verified may further include marital information to be verified, geographical location information where the user is currently located, and the like.
Step S22, the identity information to be verified is sent to a preset information verification server; the information verification server stores identity information which passes through the pre-verification and authentication vehicle information matched with the identity information.
Specifically, the information verification server stores identity information which passes through the pre-verification and authentication vehicle information which is matched with the identity information. When the information verification server receives the identity information to be verified, which is sent by the background system service, and waits for verification information, the identity information to be verified is verified, and if verification is passed, authentication information corresponding to the identity information passing verification is fed back to the background system server. The verification mode can be identity card number verification, face image identification verification and the like.
Step S23, receiving authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises authentication vehicle information matched with the identity information to be verified through verification.
Specifically, the authentication vehicle information corresponding to the identity information to be verified is obtained by sending the identity information to be verified uploaded by the user to the information verification server. The authentication vehicle information comprises an authentication license plate number, and the authentication license plate number is further compared with the license plate number to be verified, which is obtained according to the vehicle information to be verified uploaded by the user.
Of course, in the specific embodiment of the present invention, the authentication vehicle information may also include authentication vehicle model information, authentication vehicle age information, and the like, for comparison and judgment with the vehicle model information to be verified and the vehicle age information to be verified.
In addition, in the specific embodiment of the present invention, in order to improve accuracy of information verification and improve user quality, the authentication information may further include authentication marital information corresponding to the identity information to be verified, first record information and second record information, where the first record information may be used to indicate whether the user corresponding to the identity information to be verified has a criminal preface, has bad credit records or administrative penalties, and the second record information may be used to indicate whether the user corresponding to the identity information to be verified is a criminal evasion person.
And step S24, extracting the vehicle information to be verified from the vehicle picture to be verified.
The authentication vehicle information comprises an authentication license plate number; the method for extracting the license plate number to be verified from the vehicle picture to be verified can adopt a vehicle license plate recognition system (Vehicle License Plate Recognition, VLPR) based on a computer video image recognition technology. VLPR is an application of computer video image recognition technology in license plate recognition of vehicles, and has been widely used in parking lots, and Electronic Toll Collection (ETC) systems for highways. Specifically, the license plate recognition system generally achieves the purpose of recognizing information such as vehicle license plate number, color and the like through technologies such as license plate extraction, image preprocessing, feature extraction, license plate character recognition and the like.
Further, in an embodiment of the present invention, the license plate region may be extracted from the vehicle image to be verified by a color recognition technology, then the characters in the license plate region are recognized by a character recognition method, and the license plate number is recognized by a fixed arrangement mode of adding characters to the Chinese characters of the license plate number, and a specific implementation mode will be described in detail later.
Step S25, when the vehicle information to be verified is consistent with the authentication vehicle information, determining that the information to be verified uploaded by the user passes the verification.
In the specific embodiment of the invention, the background server compares the vehicle information to be verified extracted from the vehicle picture to be verified with the authentication vehicle information returned by the information verification server, and after determining that the vehicle information to be verified is consistent with the authentication vehicle information, the background server can determine that the information to be verified uploaded by the user passes the verification.
According to the information verification method, the identity information to be verified in the information to be verified uploaded by the user is sent to the information verification server, the authentication vehicle information returned by the information verification server according to the identity information to be verified is received, whether the vehicle information to be verified in the information to be verified uploaded by the user is consistent with the authentication vehicle information or not is judged, and the information to be verified uploaded by the user is confirmed to pass verification only when the vehicle information to be verified is consistent with the authentication vehicle information, so that the effect of improving the accuracy and the reliability of the information in a love website is achieved.
Of course, in the specific embodiment of the invention, in order to further improve the accuracy of the information verification result and adapt to different application environment requirements, the background server can also verify the marital information of the user, so that the information to be verified also comprises the marital information to be verified, and the authentication information also comprises the authentication marital information corresponding to the identity information to be verified.
Correspondingly, before executing the step S24, the method further comprises the step of judging whether the marital information to be verified is consistent with the authentication marital information, and executing the step of determining that the information to be verified uploaded by the user passes verification when the marital information to be verified is consistent with the authentication marital information. The marital information to be verified comprises marriage, marriage departure, marriage, etc., and the marital information to be verified comprises marriage, marriage departure, marriage, etc. For example, when the marital information to be verified is not married and the marital information to be verified is verified to be married, the marital information to be verified is inconsistent with the marital information to be verified, and it is determined that the information to be verified uploaded by the user is not verified; when the marital information to be verified is different, the information to be verified uploaded by the user is determined to pass verification only when the marital information to be verified is authenticated to be identical.
When the marital information to be verified is married, the background server can directly determine that the information to be verified uploaded by the user is not verified, and the step of sending the information to be verified to the information verification server to obtain authentication information is not needed to be executed.
In addition, when the authentication information contains the first record information and the second record information, the information verification method further comprises the step of determining that the information to be verified is not verified when the authentication information returned by the information verification server contains the first record information; when the authentication information returned by the information verification server contains the second record information, determining that the information to be verified does not pass verification and sending alarm reminding information, so that the rights and interests of other users are ensured, and the user experience is improved.
In one embodiment, the identity information to be verified comprises a front picture of the identity card to be verified and picture information of the user acquired in real time.
As shown in fig. 3, before step S22, the above information verification method further includes the steps of:
step S301, face images in front pictures of the identity card to be verified and face images in picture information are extracted.
Step S302, when the face image in the front picture of the identity card to be verified is compared with the face image in the picture information in a face recognition way, the step of sending the identity information to be verified to the information verification server is executed.
In the specific embodiment of the invention, a face feature recognition algorithm and a face feature extraction algorithm can be adopted to recognize and extract a face image in a front picture of the identity card to be verified and a face image in picture information. When face recognition comparison is carried out on a face image in a front picture of the identity card to be verified and a face image in picture information, the identity information to be verified is sent to a preset information verification server; the information verification server stores identity information which passes through the pre-verification and authentication vehicle information matched with the identity information.
In the embodiment of the invention, when uploading the information to be verified, some users can use identity information which is not the identity information of the users for uploading to verify, so that in order to reduce information interaction between some background servers and the public security information server, the background servers can firstly self-exclude some user information which does not need to send the information to be verified to the public security information server for authentication. Therefore, by comparing the face image in the front picture of the identity card to be verified with the face image in the picture information in a face recognition way, whether the face image in the picture information is the same person as the face image in the front of the identity card is judged, and whether the information to be verified needs to be sent to the information verification server is judged. The front picture of the identity card to be verified is one face comprising a name and a citizen identity number, and the back picture of the identity card to be verified is one face comprising a national badge.
In one embodiment, as shown in fig. 4, when the vehicle information to be verified includes a vehicle picture and the authentication vehicle information includes an authentication license plate number, step S24 may specifically include the following steps:
step S41, determining a license plate area in the vehicle picture.
In general, in the technology of positioning license plate regions from vehicle pictures, license plate positioning can be performed by utilizing texture characteristics of the license plate regions; for example, common license plate detection algorithms include: the method comprises a region characteristic training classifier algorithm, a gradient information projection statistical algorithm, a wavelet transformation segmentation algorithm, a license plate region scanning connection algorithm and the like.
In one embodiment, as shown in fig. 5, the step S41 includes the following steps:
step S51, determining an identification pixel point with an RGB value being a preset RGB value in the vehicle picture.
In a specific embodiment of the present invention, the background color of the license plate area includes blue, yellow, black, etc., each color corresponds to a specific RGB value, for example, the blue color of the license plate background color commonly found in life at present is illustrated, its RGB value is (0, 255), and the blue color is stored as a preset RGB value, and then all pixels in the vehicle picture whose RGB value is the preset RGB value are determined for subsequent determination of the license plate area.
Step S52, sequentially taking the identification pixel points as identification points.
In step S53, an area outlined with the identification point as the center is recorded as a target area.
In step S54, the area formed by the target area is used as a license plate area.
It will be appreciated that since the license plate includes the color of the character in addition to the background color, the two characters are surrounded by the background color. The RGB value of the background color is used as a preset RGB value, all the areas around the identification pixel points with the RGB value being the preset RGB value are determined as target areas, and all the identification pixel points are calculated in an iterative mode, so that all the background pixel points in the whole license plate area can be identified, and the purpose of identifying the license plate area is achieved.
For example, in an alternative embodiment, any one of the identified pixel points may be used as the first identification point; recording an area which is outlined by taking the first identification point as a center as an area, wherein the target area is a target area with a preset area; the following steps are executed for each second pixel point except the first pixel point in all the identification pixel points in sequence: judging whether the second pixel point is positioned in the circled target area or not by taking the second pixel point as a second identification point, and determining that the circled area taking the second identification point as the center is recorded as the target area when the second identification point is not positioned in the circled target area; and taking the area formed by the target area as a license plate area.
The size of the preset area can be set according to specific conditions, and when the size of the vehicle picture to be verified is large, the preset area can be properly increased; when the size of the vehicle picture to be verified is small, the preset area thereof can be reduced appropriately. In addition, the target area may be configured in different shapes, such as a rectangular area, a triangular area, a trapezoidal area, a square area, an irregular area, and the like, and as a preferred mode, a square area with an area of 1 square millimeter centered on the first identification point may be determined, so that a more accurate license plate area may be determined in a subsequent step.
Step S42, the license plate number to be verified is extracted from the license plate area.
In the embodiment of the present invention, the above-mentioned VLPR technique may be used to extract the license plate number to be verified from the license plate area. The identification and extraction of license plate numbers in VLPR technology mainly comprises two steps of character segmentation and character recognition. The character segmentation is to position the license plate region in the image, then to further position the character region precisely by carrying out treatments such as graying, gray stretching, binarization and marginalization on the license plate region, then to carry out character segmentation by providing a dynamic template method according to character size characteristics, and to carry out normalization treatment on the character size. The character recognition is to perform scaling and feature extraction on the segmented characters to obtain the expression form of the specific characters, and then the characters can be recognized through a classifier, wherein common classification algorithms include a neural network, an SVM and the like.
In one embodiment, as shown in fig. 6, the step S42 includes the following steps:
step S61, dividing the license plate area into a preset number of character areas.
In the embodiment of the present invention, the determined license plate regions are equally divided into a preset number of character regions, and specifically, the preset number may be set differently according to practical situations, for example, a 7-digit license plate number format commonly used in daily life is taken as, for example, "jing C12345", so that the preset number is preferably set to 8, and 8 character regions are obtained.
Step S62, extracting character shape features in the character area, recording the character area as a character area comprising Chinese character shape features according to the character shape features as a first character area, and a second character area comprising English or digital shape features.
In the specific embodiment of the present invention, the Chinese characters of the license plate are generally provincial administrative areas where the vehicle is located, and are abbreviated as "each (provincial, directly administered city, autonomous area"), for example, beijing is Beijing, shanghai is Shanghai, chongqing is Yu, hunan is Hunan and so on. Besides the Chinese character and "·" in the license plate number, the other 6 characters in the area are formed by arbitrary combination of 26 letters and numerals 0 to 9. Therefore, the characters in each license plate region picture have specific character shape characteristics, firstly, the character shape characteristics of Chinese characters have larger differences from the character shape characteristics of numbers and letters, the Chinese characters in all license plate numbers are formed by at least more than two strokes, and most of strokes have discontinuities, so that the Chinese characters can be used as the shape characteristics of the Chinese characters. And for letters and numbers, the strokes are simple, and most of the strokes are uninterrupted, such as '1', 'L', and the like. Specifically, by extracting character shape features in the character region, the character region is recorded as a character region including Chinese character shape features as a first character region, and a second character region including English or number shape features according to the character shape features
Step S63, matching the first character area according to a preset Chinese character library to obtain Chinese character information of the license plate number to be verified; wherein, the character library of Chinese characters stores the character shape characteristics of the preset Chinese characters;
step S64, matching the second character area according to a preset English number character library to obtain English number character information of the license plate number to be verified; the method comprises the steps that English characters and shape features of digital characters are stored in a preset character library;
and step S65, the first character area is used as an initial character, and the characters identified by the character area are combined according to the sequence to obtain the license plate number to be verified.
In this embodiment, the license plate area may be divided according to the position information, for example, the license plate area is marked from the first character area to the second position to the eighth position in sequence, the first position is directly determined to be the first character area a, the third position is determined to be the "·" character area, and the other positions are determined to be the number character area or the letter character area. It will be appreciated that the "·" character area, the numeric character area, and the alphabetic character area herein correspond to the second character area b in the subsequent step.
In a specific embodiment of the present invention, the first text of the license plate number to be verified may be determined through the geographical location information of the user, and specifically, the specific implementation manner of step S63 is: determining the city of the user according to the geographic position information; determining short names corresponding to cities where users are located; when the character shape features in the first character area are matched with the character shape features for short, determining character information for short called a license plate number to be verified; when the character shape features in the first character area are not matched with the character shape features for short, the character shape features in the first character area are matched with the character shape features in a preset Chinese character library, and character information corresponding to the first character area is obtained.
For example, matching the character shape features in the first character area a with the character shape features for short; when the matching result of the character shape features in the first character region a and the character shape features of the abbreviation is consistent, determining the text information of the license plate number to be verified; when the matching result of the character shape features in the first character region a and the character shape features for short is inconsistent, the character shape features in the first character region a are matched with the character shape features in a preset Chinese character library, and character information corresponding to the first character region a is obtained.
In this embodiment, the first text of the license plate number to be verified is determined according to the geographical location information uploaded by the user, so that the comparison speed can be improved.
Of course, in the embodiment of the invention, the geographical location information of the user can be determined by the IP address information of the user when uploading the information to be verified, so as to determine the first text of the license plate number to be verified.
It can be understood that in the specific embodiment of the present invention, for some users, the first word of the license plate number to be verified may not be consistent with the abbreviation of the city in which the user is located, if the city in which the user is currently located is Beijing and the home of the vehicle is Shanghai, the first word of the license plate number to be verified cannot be determined by means of geographic location information, and at this time, the character shape feature in the first character area a needs to be matched with the character shape feature in the preset kanji character library, so as to obtain the first word, that is, the first word of the license plate number to be verified. It can be understood that the preset kanji character library stores the correspondence between characters and character shape features, and in order to improve the matching efficiency, the kanji stored in the preset kanji character library only includes the abbreviations corresponding to each (province, direct administration city, autonomous region).
In addition, in the embodiment of the invention, after the first character of the license plate number to be verified is determined, the first character can be compared with the first character in the license plate number to be verified, whether the first character is consistent with the first character in the license plate number to be verified is judged, and when the judgment result is inconsistent, the fact that the information to be verified uploaded by the user is not verified can be directly determined, so that the speed of the information verification method is improved.
In the specific embodiment of the present invention, the first character area is used as an initial character, and the characters identified by the character areas are sequentially combined to obtain the license plate number to be verified, for example, as shown in fig. 7, when the first character is "jing", the characters in the second character area b determined sequentially are sequentially "C" "·", "1", "2", "3", "4", "5"; the determined license plate number to be verified is "Beijing C12345". And comparing and judging the obtained license plate number to be verified with the authentication license plate number.
The method can rapidly and accurately determine the license plate number to be verified according to the vehicle map information uploaded by the user, and is convenient for comparing and judging the license plate number to be verified with the authentication license plate number, so that the accuracy of the information to be verified uploaded by the user is determined.
In summary, in the embodiment of the invention, the identity information to be verified in the information to be verified uploaded by the user is sent to the information verification server, the authentication vehicle information returned by the information verification server according to the identity information to be verified is received, then whether the vehicle information to be verified in the information to be verified uploaded by the user is consistent with the authentication vehicle information is judged, and the information to be verified uploaded by the user is confirmed to pass verification only when the vehicle information to be verified is consistent with the authentication vehicle information, so that the effect of improving the accuracy and the reliability of the information in the marriage and love website is achieved.
Referring to fig. 8 together, the present invention further provides an information verification apparatus, including:
an information obtaining module 801, configured to receive information to be verified uploaded by a user to be verified; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time.
A sending module 802, configured to send identity information to be verified to a preset information verification server; the information verification server stores identity information which passes through the pre-verification and authentication vehicle information matched with the identity information.
A receiving module 803, configured to receive authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises authentication vehicle information matched with the identity information to be verified through verification.
The image feature extraction module 804 is configured to extract vehicle information to be verified from the vehicle image to be verified.
And the verification module 805 is configured to determine that the information to be verified uploaded by the user passes verification when the information to be verified is consistent with the authenticated vehicle information.
Further, the authentication information further comprises first record information corresponding to the identity information to be verified and second record information corresponding to the identity information to be verified, wherein the first record information is used for representing whether a user corresponding to the identity information to be verified has an illegal crime forensic department or not, and the second record information is used for representing whether the user corresponding to the identity information to be verified is a criminal evasion person or not;
the verification module 805 is further configured to determine that the information to be verified is not verified when the authentication information returned by the information verification server contains the first record information; and the information verification server is used for determining that the information to be verified does not pass verification and sending out alarm reminding information when the authentication information returned by the information verification server contains the second record information.
In one embodiment, the identity information to be verified comprises a front picture of the identity card to be verified and picture information of the user acquired in real time; the image feature extraction module 804 is further configured to extract a face image in a front image of the identity card to be verified and a face image in image information; the information verification device 800 further includes a face image recognition module 806, configured to perform face recognition comparison between a face image in a front picture of the identity card to be verified and a face image in picture information;
And the sending module 802 is configured to send the identity information to be verified to the information verification server when the face image in the front picture of the identity card to be verified passes the face recognition comparison with the face image in the picture information.
In one embodiment, authenticating the vehicle information includes authenticating the license plate number; the image feature extraction module 804 is configured to determine a license plate region in an image of a vehicle to be verified; and extracting the license plate number to be verified from the license plate area. Specifically, the image feature extraction module 804 is further configured to determine an identification pixel point in the vehicle image, where the RGB value is a preset RGB value; sequentially taking the identification pixel points as identification points; recording an area outlined by taking the identification point as a center as a target area; and taking the area formed by the target area as a license plate area.
In one embodiment, the picture feature extraction module 804 is further configured to divide the license plate region into a preset number of character regions; extracting character shape features in the character area, recording the character area as a character area comprising Chinese character shape features according to the character shape features as a first character area, and a second character area comprising English or digital shape features; matching the first character area according to a preset Chinese character library to obtain Chinese character information of the license plate number to be verified; wherein, the character library of Chinese characters stores the character shape characteristics of the preset Chinese characters; matching the second character area according to a preset English number character library to obtain English number character information of the license plate number to be verified; the method comprises the steps that English characters and shape features of digital characters are stored in a preset character library; and combining the characters identified by the character areas according to the sequence by taking the first character areas as initial characters to obtain the license plate number to be verified.
In one embodiment, the information to be verified further comprises geographic position information of the user currently acquired in real time; the picture feature extraction module 804 is further configured to determine, according to the geographic location information, a city in which the user is located; determining short names corresponding to cities where users are located; when the character shape features in the first character area are matched with the character shape features for short, determining character information for short called a license plate number to be verified; when the character shape features in the first character area are not matched with the character shape features for short, the character shape features in the first character area are matched with the character shape features in a preset Chinese character library, and character information corresponding to the first character area is obtained.
It should be noted that, since the above-mentioned information verification method is implemented when each functional module in the above-mentioned information verification apparatus 800 is executed, all embodiments of the above-mentioned method are applicable to the information verification apparatus 800, and the same or similar beneficial effects can be achieved, which is not described herein.
Furthermore, as shown in FIG. 9, particular embodiments of the present invention also provide a computer device that may be implemented in various forms. For example, the computer devices described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), wearable devices, and the like, as well as mobile or stationary terminals such as TVs, desktop computers, and the like.
The computer device may include: memory 71, processor 72, and power supply 74. Those skilled in the art will appreciate that the architecture shown in fig. 9 is not limiting as to a computer device, which may include more or fewer components than shown, or may combine certain components, or a different arrangement of components; for example, in the example shown in fig. 9, the computer device further includes a communication unit 75 or the like. The computer device may be a computer, a server, a gateway device, a data processing device, etc.
The memory 71 may be used to store software programs as well as various data. In addition, memory 71 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 72 is a control center of the computer device 7, connects the respective parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 71, and calling data stored in the memory 71, thereby performing overall monitoring of the computer device. Processor 72 may include one or more processing units; preferably, the processor 72 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 72.
In this embodiment the computer device comprises a computer program stored in the memory 71 and executable on the processor 72, which processor 72 implements the steps of the information verification method in any of the embodiments described above when the computer program is executed.
It should be noted that, since the processor 72 of the computer device implements the above-mentioned information verification method when executing the computer program, all embodiments of the above-mentioned method are applicable to the computer device, and achieve the same or similar beneficial effects, which are not described herein.
Furthermore, the specific embodiment of the present invention also provides a computer readable storage medium storing a computer program which implements the steps of the above-described information verification method when executed by a processor.
The computer program of the computer readable storage medium includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
That is, the steps of the information verification method described above are implemented when the computer program of the computer readable storage medium is executed by the processor, so that more accurate judgment can be made on the information uploaded by the user.
It should be noted that, since the steps of the information verification method described above are implemented when the computer program of the computer readable storage medium is executed by the processor, all embodiments of the information verification method described above are applicable to the computer readable storage medium, and achieve the same or similar advantageous effects.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (6)

1. An information verification method, comprising:
receiving information to be verified uploaded by a user; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time;
the identity information to be verified is sent to a preset information verification server; the information verification server is used for storing identity information which passes through the pre-verification and authentication vehicle information matched with the identity information;
Receiving authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises the authentication vehicle information matched with the identity information to be verified through verification;
extracting vehicle information to be verified from the vehicle picture to be verified;
when the vehicle information to be verified is consistent with the authentication vehicle information, determining that the information to be verified uploaded by the user passes verification;
wherein, the authentication vehicle information comprises an authentication license plate number;
the step of extracting the vehicle information to be verified from the vehicle picture to be verified comprises the following steps:
determining a license plate region in the vehicle picture to be verified;
extracting a license plate number to be verified from the license plate region;
the identity information to be verified comprises a front picture of the identity card to be verified and picture information of the user acquired in real time;
before the step of sending the identity information to be verified to the information verification server, the method further comprises the steps of:
extracting a face image in a front picture of the identity card to be verified and a face image in the picture information;
when the face image in the front picture of the identity card to be verified is compared with the face image in the picture information in a face recognition way, executing the step of sending the identity information to be verified to the information verification server;
The step of extracting the license plate number to be verified from the license plate region further comprises the following steps:
dividing the license plate region into a preset number of character regions;
extracting character shape features in the character region, taking the character region containing Chinese character shape features in the character region as a first character region, and taking the character region containing English shape features or digital shape features as a second character region;
matching the first character area according to a preset Chinese character library, and determining Chinese character information contained in the license plate number to be verified; wherein, the character library stores the character shape characteristics of preset Chinese characters;
matching the second character area according to a preset English number character library, and determining English number character information contained in the license plate number to be verified; wherein, the English digital character library stores English characters and the shape characteristics of the digital characters;
sequentially sequencing and combining the Chinese character information contained in the first character area and the English digital character information contained in the second character area to obtain the license plate number to be verified;
The information to be verified further comprises geographic position information of the user currently acquired in real time;
the step of matching the first character area according to a preset Chinese character library to obtain the Chinese character information of the license plate number to be verified comprises the following steps:
determining the city where the user is located according to the geographic position information;
determining short names corresponding to cities where the users are located;
when the character shape features in the first character area are matched with the character shape features of the short name, determining the Chinese character information of the short name license plate number to be verified;
and when the character shape features in the first character region are not matched with the character shape features of the short name, matching the character shape features in the first character region with the character shape features in a preset Chinese character library to obtain Chinese character information corresponding to the first character region.
2. The information verification method according to claim 1, wherein the step of determining a license plate region in the license plate picture includes:
determining an identification pixel point with an RGB value of a preset RGB value in the vehicle picture;
sequentially taking the identification pixel points as identification points;
Recording an area outlined by taking the identification point as a center as a target area;
and taking the area formed by the target area as a license plate area.
3. The information verification method according to any one of claims 1 to 2, wherein the authentication information further includes first recorded information corresponding to the identity information to be verified, the first recorded information being used for characterizing whether the user corresponding to the identity information to be verified has information of a forensic crime department, and second recorded information being used for characterizing whether the user corresponding to the identity information to be verified is information of a criminal evasion person;
after the step of receiving the authentication information returned by the information verification server according to the identity information to be verified, the method further comprises the steps of:
when the authentication information returned by the information verification server contains the first record information, determining that the information to be verified is not verified;
when the authentication information returned by the information verification server contains the second record information, determining that the information to be verified does not pass verification and sending alarm reminding information.
4. An information verification apparatus, characterized in that the apparatus comprises:
The information acquisition module is used for receiving information to be verified, which is uploaded by a user to be verified; the information to be verified comprises a vehicle picture to be verified and identity information to be verified, wherein the vehicle picture to be verified and the identity information to be verified are acquired in real time;
the sending module is used for sending the identity information to be verified to a preset information verification server; the information verification server stores identity information which passes through the pre-verification and authentication vehicle information matched with the identity information;
the receiving module is used for receiving authentication information returned by the information verification server according to the identity information to be verified; the authentication information comprises the authentication vehicle information matched with the identity information to be verified through verification;
the picture feature extraction module is used for extracting the vehicle information to be verified from the vehicle picture to be verified;
the verification module is used for determining that the information to be verified uploaded by the user passes verification when the information of the vehicle to be verified is consistent with the information of the authenticated vehicle;
wherein, the authentication vehicle information comprises an authentication license plate number;
in the step of extracting the vehicle information to be verified from the vehicle picture to be verified, the picture feature extraction module is specifically configured to:
Determining a license plate region in the vehicle picture to be verified;
extracting a license plate number to be verified from the license plate region;
the identity information to be verified comprises a front picture of the identity card to be verified and picture information of the user acquired in real time;
before the step of sending the identity information to be authenticated to an information authentication server,
the picture extraction module is also used for extracting a face image in the front picture of the identity card to be verified and a face image in the picture information;
the sending module is further configured to: when the face image in the front picture of the identity card to be verified is compared with the face image in the picture information in a face recognition way, executing the step of sending the identity information to be verified to the information verification server;
in the step of extracting the license plate number to be verified from the license plate region, the picture feature extraction module is further configured to:
dividing the license plate region into a preset number of character regions;
extracting character shape features in the character region, taking the character region containing Chinese character shape features in the character region as a first character region, and taking the character region containing English shape features or digital shape features as a second character region;
Matching the first character area according to a preset Chinese character library, and determining Chinese character information contained in the license plate number to be verified; wherein, the character library stores the character shape characteristics of preset Chinese characters;
matching the second character area according to a preset English number character library, and determining English number character information contained in the license plate number to be verified; wherein, the English digital character library stores English characters and the shape characteristics of the digital characters;
sequentially sequencing and combining the Chinese character information contained in the first character area and the English digital character information contained in the second character area to obtain the license plate number to be verified;
the information to be verified further comprises geographic position information of the user currently acquired in real time;
in the step of matching the first character region according to a preset kanji character library to obtain kanji information of the license plate number to be verified, the picture feature extraction module is further configured to:
determining the city where the user is located according to the geographic position information;
determining short names corresponding to cities where the users are located;
When the character shape features in the first character area are matched with the character shape features of the short name, determining the Chinese character information of the short name license plate number to be verified;
and when the character shape features in the first character region are not matched with the character shape features of the short name, matching the character shape features in the first character region with the character shape features in a preset Chinese character library to obtain Chinese character information corresponding to the first character region.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the information verification method according to any one of claims 1 to 3 when the computer program is executed.
6. A computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the information authentication method according to any one of claims 1 to 3.
CN201811578026.9A 2018-12-22 2018-12-22 Information verification method, information verification device, computer equipment and computer readable storage medium Active CN109858339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811578026.9A CN109858339B (en) 2018-12-22 2018-12-22 Information verification method, information verification device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811578026.9A CN109858339B (en) 2018-12-22 2018-12-22 Information verification method, information verification device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109858339A CN109858339A (en) 2019-06-07
CN109858339B true CN109858339B (en) 2023-06-09

Family

ID=66891934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811578026.9A Active CN109858339B (en) 2018-12-22 2018-12-22 Information verification method, information verification device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109858339B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113075212A (en) * 2019-12-24 2021-07-06 北京嘀嘀无限科技发展有限公司 Vehicle verification method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512600A (en) * 2014-09-28 2016-04-20 江苏省兴泽实业发展有限公司 License plate identification method based on mutual information and characteristic extraction
CN105871786A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 User information authentication method, device and system
CN106296952A (en) * 2016-08-02 2017-01-04 贵州顺安机电设备有限公司 A kind of multifunctional police silver booth based on the Internet
CN206272770U (en) * 2016-12-21 2017-06-20 北京中电兴发科技有限公司 A kind of vehicle and face bayonet system
CN106934424A (en) * 2017-03-17 2017-07-07 中控智慧科技股份有限公司 identification management method and device
CN107180230A (en) * 2017-05-08 2017-09-19 上海理工大学 General licence plate recognition method
CN108256516A (en) * 2017-12-01 2018-07-06 桂林远望智能通信科技有限公司 A kind of region licence plate recognition method and system
CN108737361A (en) * 2018-01-25 2018-11-02 阳光保险集团股份有限公司 A kind of data verification method based on block chain
CN108875746A (en) * 2018-05-17 2018-11-23 北京旷视科技有限公司 A kind of licence plate recognition method, device, system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006075396A1 (en) * 2005-01-17 2006-07-20 Kabushiki Kaisha Ihc Authentication system
CN102158425A (en) * 2010-12-14 2011-08-17 吴欣 Intelligent information exchange method and system
CN103902981A (en) * 2014-04-02 2014-07-02 浙江师范大学 Method and system for identifying license plate characters based on character fusion features
CN103927521A (en) * 2014-04-17 2014-07-16 国通道路交通管理工程技术研究中心有限公司 Driver qualification confirmation system and method based on face recognition
CN107728913B (en) * 2017-01-17 2020-06-05 西安艾润物联网技术服务有限责任公司 Auxiliary license plate number input method and device
CN107493273B (en) * 2017-08-02 2020-10-16 深圳市易成自动驾驶技术有限公司 Identity authentication method, system and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512600A (en) * 2014-09-28 2016-04-20 江苏省兴泽实业发展有限公司 License plate identification method based on mutual information and characteristic extraction
CN105871786A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 User information authentication method, device and system
CN106296952A (en) * 2016-08-02 2017-01-04 贵州顺安机电设备有限公司 A kind of multifunctional police silver booth based on the Internet
CN206272770U (en) * 2016-12-21 2017-06-20 北京中电兴发科技有限公司 A kind of vehicle and face bayonet system
CN106934424A (en) * 2017-03-17 2017-07-07 中控智慧科技股份有限公司 identification management method and device
CN107180230A (en) * 2017-05-08 2017-09-19 上海理工大学 General licence plate recognition method
CN108256516A (en) * 2017-12-01 2018-07-06 桂林远望智能通信科技有限公司 A kind of region licence plate recognition method and system
CN108737361A (en) * 2018-01-25 2018-11-02 阳光保险集团股份有限公司 A kind of data verification method based on block chain
CN108875746A (en) * 2018-05-17 2018-11-23 北京旷视科技有限公司 A kind of licence plate recognition method, device, system and storage medium

Also Published As

Publication number Publication date
CN109858339A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN110825765B (en) Face recognition method and device
CN107580196B (en) Video data sharing system and method
CN109389723B (en) Visitor management method and device using face recognition and computer equipment
US9412031B2 (en) Delayed vehicle identification for privacy enforcement
WO2022126970A1 (en) Method and device for financial fraud risk identification, computer device, and storage medium
CN111886842B (en) Remote user authentication using threshold-based matching
CN107169458B (en) Data processing method, device and storage medium
KR101710050B1 (en) Image identification systems and method
WO2018121006A1 (en) Method and device for license plate positioning
Khammari Robust face anti‐spoofing using CNN with LBP and WLD
CN112650875A (en) House image verification method and device, computer equipment and storage medium
CN112330331A (en) Identity verification method, device and equipment based on face recognition and storage medium
CN110942061A (en) Character recognition method, device, equipment and computer readable medium
CN110795714A (en) Identity authentication method and device, computer equipment and storage medium
CN110245573A (en) A kind of register method, apparatus and terminal device based on recognition of face
CN112258254A (en) Internet advertisement risk monitoring method and system based on big data architecture
CN109858339B (en) Information verification method, information verification device, computer equipment and computer readable storage medium
CN114663871A (en) Image recognition method, training method, device, system and storage medium
Joshi et al. First steps toward CNN based source classification of document images shared over messaging app
CN112651399A (en) Method for detecting same-line characters in oblique image and related equipment thereof
CN112581344A (en) Image processing method and device, computer equipment and storage medium
CN112348008A (en) Certificate information identification method and device, terminal equipment and storage medium
Wu A QR Code-Based on-Street Parking Fee Payment Mechanism
CN114637930A (en) Information sharing method and device, electronic equipment and computer readable storage medium
CN113610090B (en) Seal image identification and classification method, device, computer equipment and storage medium

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