CN109635628A - ID card information verification method, device, equipment and computer readable storage medium - Google Patents
ID card information verification method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109635628A CN109635628A CN201811237144.3A CN201811237144A CN109635628A CN 109635628 A CN109635628 A CN 109635628A CN 201811237144 A CN201811237144 A CN 201811237144A CN 109635628 A CN109635628 A CN 109635628A
- Authority
- CN
- China
- Prior art keywords
- picture
- information
- verified
- predeterminable area
- region
- 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
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000012795 verification Methods 0.000 title claims abstract description 38
- 238000003860 storage Methods 0.000 title claims abstract description 27
- 238000012549 training Methods 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 21
- 238000012937 correction Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000005260 corrosion Methods 0.000 claims description 3
- 230000007797 corrosion Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000006872 improvement Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 238000010008 shearing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- 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/40—Document-oriented image-based pattern recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- 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/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V10/267—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
-
- 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/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- 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/98—Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
- G06V10/993—Evaluation of the quality of the acquired pattern
-
- 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/63—Scene text, e.g. street names
-
- 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/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/413—Classification of content, e.g. text, photographs or tables
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Bioinformatics & Cheminformatics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Information Transfer Between Computers (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of ID card information verification method, device, equipment and computer readable storage mediums, this method comprises: client obtains picture to be verified;The client carries out information identification to the predeterminable area of the picture to be verified, and carries out information checking to the information identified;In the case where the information checking result is successful situation, the picture to be verified is sent to server, so that the server carries out identity information identification to the picture to be verified.It solves the problems, such as to have reached raising server identity card Information Authentication success rate, reduced identification and verification time, promote the technical effect of user experience since ID card information verifying speed caused by the identity card picture quality of crawl is lower is slow through the above scheme.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of ID card information verification method, device, equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the continuous development of Internet technology, may be implemented to demonstrate,prove the fast of information to user identity using the information processing technology
Speed identification, so as to verify the identity of user.Specifically, the picture of user identity card is usually obtained, then identifies picture
In ID card information, and then verify ID card information.
Currently, most of ID card information verification techniques are all to grab identity card picture by client, and will grab
Picture is uploaded to server, then carries out ID card information identification and verification to the picture by server.When the figure of client crawl
When tablet quality is poor, server is difficult to identify that the ID card information on the picture of poor quality, then identity card letter can be reduced
The speed of verifying is ceased, or even when not including ID card information in the picture of client crawl, server can not then identify use
The ID card information at family, then just reducing the success rate of ID card information verifying.Therefore, existing ID card information authentication
Method influences user experience.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The purpose of the present invention is to provide a kind of ID card information verification method, device, equipment and computer-readable storages
Medium, and then solve the problems, such as that the server end recognition speed in the presence of existing ID card information verification process is slow, reach
Efficiently quickly carry out the technical effect of ID card information verifying.
The present invention is to solve above-mentioned technical problem by following technical proposals:
According to an aspect of the invention, there is provided a kind of ID card information verification method, includes the following steps:
Client obtains picture to be verified;
The client carries out information identification to the predeterminable area of the picture to be verified, and carries out to the information identified
Information checking obtains information checking result;
In the case where the information checking result is successful situation, the picture to be verified is sent to server and carries out information
Verifying.
In one embodiment, the picture to be verified includes: the picture comprising head portrait, and the figure comprising national emblem
Piece.
In one embodiment, the predeterminable area includes: the corresponding region of ID card information, is specifically included: name
Region, gender region, name race region, date of birth region, address region, identification card number region, head portrait region, licence issuing authority area
Domain and/or the effective term area of certificate.
In one embodiment, information identification is carried out to the predeterminable area of the picture to be verified and uses Tesseract
ORC engine realize, specifically comprise the following steps:
Character library training is carried out using the picture of Tesseract predeterminable area described in identity card;
Image procossing is carried out to the picture to be verified, obtains the picture of the predeterminable area of the picture to be verified;
The text information in the part picture is identified according to character library training result, the text information in the part picture
The information of the predeterminable area as identified.
In one embodiment, described that the picture packet of predeterminable area is obtained to the picture progress image procossing to be verified
It includes:
Gray processing processing, binary conversion treatment, corrosion and contour detecting are successively carried out to the picture to be verified, determined pre-
If the part picture in region.
In one embodiment, the picture to be verified is obtained using the method that coordinate calculates to carry out image procossing
The picture of predeterminable area.
According to another aspect of the present invention, a kind of ID card information verifying device is provided, is located in client, packet
It includes:
Picture to be verified obtains module, for obtaining picture to be verified;
Client identifies correction verification module, carries out information identification for the predeterminable area to the picture to be verified, and to knowledge
Not Chu information carry out information checking, obtain information checking result;
Picture sending module, in the case where the information checking result is successful situation, the picture to be verified to be sent out
It gives server and carries out Information Authentication.
In one embodiment, the client identification correction verification module includes:
Character library trains submodule, for carrying out character library instruction using the picture of Tesseract predeterminable area described in identity card
Practice;
Predeterminable area picture acquisition submodule, for carrying out image procossing to the picture to be verified and obtaining described to be tested
Demonstrate,prove the picture of the predeterminable area of picture;
Predeterminable area acquisition of information submodule, for identifying the text envelope in the part picture according to character library training result
It ceases, the text information in the part picture is the information of the predeterminable area identified.
According to a further aspect of the invention, a kind of computer equipment, including memory and processor are provided, wherein
The processor is for the step of executing the above method.
According to a further aspect of the invention, a kind of computer readable storage medium is provided, computer is stored thereon with
Instruction, described instruction are performed the step of realizing the above method.
The positive effect of the present invention is that: for client before sending picture to be verified to server, client is pre-
It first treats verifying picture and carries out that information tentatively identify and information locally identification and verifies, it, then can be with when check results are successfully
It determines that the picture to be verified is effective picture, thereby may be ensured that the identity card picture grabbed is the higher picture of quality.
Client sends server for the picture to be verified of high quality again and carries out ID card information identification and verification, it is ensured that service
Device can quickly and successfully carry out ID card information identification and verification, so as to effectively solve the existing body due to crawl
The slow problem of ID card information verifying speed caused by part card picture quality is lower.Reach and improves server identity card Information Authentication
Success rate reduces identification and verification time, promotes the technical effect of user experience.
Detailed description of the invention
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will
A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, it is described below
Attached drawing is only some embodiments recorded in this specification, for those of ordinary skill in the art, is not paying creation
Property labour under the premise of, be also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of optional flow diagram of ID card information verification method according to an embodiment of the present invention;
Fig. 2 is the predeterminable area progress that verifying picture is treated in ID card information verification method according to an embodiment of the present invention
A kind of optional flow diagram for the step for information identifies;
Fig. 3 is a kind of optional program module schematic diagram of ID card information verifying device according to an embodiment of the present invention;
Fig. 4 is that one kind of client identification correction verification module in ID card information verifying device according to an embodiment of the present invention can
The program submodule schematic diagram of choosing;
Fig. 5 is a kind of optional hardware structure schematic diagram of computer equipment according to an embodiment of the present invention.
Specific embodiment
This specification embodiment provides a kind of ID card information verification method, device, equipment and computer-readable storage medium
Matter.
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
Currently, most of ID card information verification techniques are all to grab identity card picture by client, and will grab
Picture is uploaded to server, then carries out ID card information identification and verification to the picture by server.When the figure of client crawl
When tablet quality is poor, server is difficult to identify that the ID card information on the picture of poor quality, then identity card letter can be reduced
The speed of verifying is ceased, or even when not including ID card information in the picture of client crawl, server can not then identify use
The ID card information at family, then just reducing the success rate of ID card information verifying.
, can be to the identity card picture to be verified of client crawl in this specification embodiment based on this, client is pre-
Advanced row information tentatively identifies and local verification, and the quality to guarantee the identity card picture for being sent to server is higher, then will be high
The identity card picture of quality, which is uploaded onto the server, carries out ID card information verifying, existing due to crawl so as to effectively solve
Identity card picture quality it is lower caused by the slow problem of ID card information verifying speed.
A kind of a kind of specific embodiment of ID card information verification method of this specification introduced below.Fig. 1 is this specification
A kind of flow diagram of embodiment of the ID card information verification method of offer, present description provides such as embodiments or flow chart
The method operating procedure, but may include more or less operation step based on routine or without creative labor
Suddenly.The step of enumerating in embodiment sequence is only one of numerous step execution sequences mode, does not represent unique execution
Sequentially.When system or client production in practice executes, it can be held according to embodiment or method shown in the drawings sequence
Capable or parallel execution (such as environment of parallel processor or multiple threads).Specifically as shown in Figure 1, the method can
To include the following steps S102~S106.
S102: client obtains picture to be verified.
The picture to be verified can be identity card picture.
The picture to be verified that the client obtains can be the identity card picture shot using photographic device.
The picture to be verified may include: the picture comprising head portrait, and the picture comprising national emblem.
In one embodiment, picture box can be provided so that the picture to be verified and the picture box are adapted.
Specifically, can provide one include head portrait profile picture box, the picture comprising head portrait of the acquisition can be with
The picture box is adapted.For example, the head portrait profile in image can match with the head portrait profile in the picture box.
A picture box comprising national emblem profile can also be provided, the picture comprising national emblem of the acquisition can be with the picture
Frame is adapted.For example, the national emblem profile in image can be with matches mutually with the national emblem profile in the picture box.
By providing picture box, dimension of picture to be verified can be made more standardized, ID card information can be improved
Recognition efficiency.
S104: the client carries out information identification to the predeterminable area of the picture to be verified, and to the letter identified
Breath carries out information checking, obtains information checking result.
The client carries out information identification to the predeterminable area of the picture to be verified.The predeterminable area can be body
The corresponding region of part card information.Specifically, it may include: name region, gender region, name race region, date of birth region, live
Location region, identification card number region, head portrait region, licence issuing authority region and/or the effective term area of certificate.
The predeterminable area to the picture to be verified carries out information identification, can use the ORC engine of Tesseract
To realize.Fig. 2 is the predeterminable area progress that verifying picture is treated in ID card information verification method according to an embodiment of the present invention
A kind of optional flow diagram for the step for information identifies, as shown in Fig. 2, can specifically include following steps S1-S3.
S1: character library training is carried out using the picture of Tesseract predeterminable area described in identity card.
The picture that Tesseract predeterminable area described in identity card can be advanced with carries out character library training.Specifically, may be used
To obtain training sample picture in advance, summarize the training sample picture, character correction is carried out to the training sample picture, it is right
Training sample picture after correction is trained generation character library.
Wherein, the training sample picture is the corresponding picture of predeterminable area text.For example, the training in identification card number region
Samples pictures can be font be black matrix, content of text be number or letter X picture;The training sample figure in date of birth region
It is the picture that upright black matrix is simplified, content of text is number or text that piece, which can be font,.
Training sample picture after described pair of correction is trained generation character library and can specifically include: according to the trained sample
This picture generates character feature file, calculating character collection file, font attribute file, characteristic aggregation file, according to the feature
Aggregate file generates character library.
S2: image procossing is carried out to the picture to be verified, obtains the picture of the predeterminable area of the picture to be verified.
Image procossing can be carried out to the picture to be verified, and then obtain name region, property in the picture to be verified
Other region, name race region, date of birth region, address region, identification card number region, head portrait region, licence issuing authority region and/or
The picture of the effective term area of certificate.
In one embodiment, the picture for obtaining predeterminable area to the picture progress image procossing to be verified can wrap
It includes: gray processing processing, binary conversion treatment, corrosion and contour detecting successively being carried out to the picture to be verified, determine preset areas
The part picture in domain.
The gray processing processing refers to that the RGB component by each pixel of picture is converted to gray value, so that image is free of color
Multimedia message.
By corroding to picture, the black block in picture after binaryzation can be amplified, then each default
Multiple texts in region can connection be a region.Contour detecting is recycled, can determine the picture to be verified
In each connection region, so that it is determined that the picture of the predeterminable area of the picture to be verified.
In another embodiment, image procossing can be carried out using the method that coordinate calculates to the picture to be verified
Obtain the picture of predeterminable area.Coordinate bit i.e. according to these information such as gender, date of birth, identification card number on identity card
It sets, determines the position where the predeterminable area on picture to be verified, to intercept out the part picture of predeterminable area.
In the present embodiment, the picture to be verified and the picture box of offer are adapted.Specifically, comprising the figure of head portrait
Head portrait profile in piece matches with the head portrait profile in the picture box, and/or, the national emblem profile in the picture comprising national emblem
It matches with the national emblem profile in the picture box.
When the picture box of the picture to be verified and the offer is incompatible, the picture to be verified can be carried out
Shearing, so that the picture to be verified and the picture box of the offer are adapted.
S3: the text information in the part picture is identified according to character library training result, the text in the part picture
Information is the information of the predeterminable area identified.
After the information for identifying the predeterminable area of the picture to be verified, the client can be to the letter identified
Breath carries out information checking, obtains check results.Specifically, it is described pre- to identify whether preset information meets described in can verifying
If the presupposed information rule in region, if meeting, check results can be successfully.For example, that identifies described in can verifying goes out
The information of birthday term area whether include the date information, the information in the address region whether be necessary being address etc.
Deng.
If check results are that successfully, can determine that the picture to be verified is effective picture, that is, the picture to be verified
Quality reached the quality that information can be identified.It is possible to which the picture to be verified is sent to server again.
S106: the information checking result be successful situation under, by the picture to be verified be sent to server into
The verifying of row identity information.
In the case where the information checking result is successful situation, the picture to be verified can be sent to server progress
Identity information verifying.For example, identity information in identity information that user fills in and the picture to be verified can be verified whether
It coincide.
It can be seen that in the one or more embodiments for the ID card information verification method that this specification provides, client
Before sending picture to be verified to server, client is treated verifying picture progress information in advance and is tentatively identified and information local
Identification and verification can then determine that the picture to be verified is effective picture, thereby may be ensured that when check results are successfully
The identity card picture grabbed is the higher picture of quality.Client again by the picture to be verified of high quality be sent to server into
The identification of row ID card information and verification, it is ensured that server can quickly and successfully carry out ID card information identification and school
Test, so as to effectively solve it is existing due to the identity card picture quality of crawl it is lower caused by ID card information verifying speed
Slow problem.Reach and improve server identity card Information Authentication success rate, reduces identification and verification time, promote user experience
Technical effect.
On the other hand this specification also provides ID card information and verifies device.Fig. 3 is identity according to an embodiment of the present invention
Demonstrate,prove a kind of optional program module schematic diagram of Information Authentication device.As shown in figure 3, the ID card information verifies device 300
It may include: that picture to be verified obtains module 320, client identification correction verification module 340 and picture sending module 360.
The picture to be verified obtains module 320, can be used for obtaining picture to be verified.
The client identifies correction verification module 340, can be used for carrying out information to the predeterminable area of the picture to be verified
Identification, and information checking is carried out to the information identified, obtain information checking result.
The picture sending module 360 can be used in the case where the information checking result is successful situation, will it is described to
Verifying picture is sent to server and carries out Information Authentication.
Fig. 4 is that one kind of client identification correction verification module in ID card information verifying device according to an embodiment of the present invention can
The program submodule schematic diagram of choosing.As shown in figure 4, the client identification correction verification module 340 may include: character library training submodule
Block 342, predeterminable area picture acquisition submodule 344 and predeterminable area acquisition of information submodule 346.
The character library training submodule 342, can be used for the picture using Tesseract predeterminable area described in identity card
Carry out character library training.
The predeterminable area picture acquisition submodule 344 can be used for carrying out image procossing simultaneously to the picture to be verified
Obtain the picture of the predeterminable area of the picture to be verified.
The predeterminable area acquisition of information submodule 346 can be used for identifying the part figure according to character library training result
Text information in piece, the text information in the part picture are the information of the predeterminable area identified.
This specification embodiment provide above-mentioned ID card information verification method or device can in computer equipment by
Processor executes corresponding program instruction to realize, such as using the c++ language of windows operating system the end PC realize or its
He is for example realized using android, iOS system programming language in intelligent terminal, and the processing based on quantum computer
Logic realization etc..As shown in figure 5, a kind of optional hardware structure that Fig. 5 is computer equipment according to an embodiment of the present invention shows
It is intended to.In hardware view, which may include processor, internal bus, transmission module and memory.The storage
Device may include memory and nonvolatile memory.Processor reads corresponding computer program from nonvolatile memory
It is then run into memory, forms word string identification device on logic level.It will appreciated by the skilled person that Fig. 5
Shown in structure be only illustrate, the structure of above-mentioned computer equipment is not caused to limit.For example, the computer equipment is also
It may include more or less component than shown in Fig. 5, such as can also include other processing hardware, such as GPU
(Graphics Processing Unit, image processor), or with the configuration different from shown in Fig. 5.Certainly, in addition to soft
Except part implementation, other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded in the application
Deng, that is to say, that the executing subject of process flow is not limited to each logic unit, is also possible to hardware or logical device.
Specifically, on the other hand this specification also provides a kind of computer readable storage medium, it is stored thereon with computer
Instruction, described instruction are performed the step of realizing the above method.
In this specification embodiment, the processor may include central processing unit (CPU) or graphics processor
(GPU), naturally it is also possible to including other single-chip microcontroller, logic gates, integrated circuits with logic processing capability etc. or its
It is appropriately combined.Memory described in the embodiment of the present application can be for protecting stored memory device.In digital display circuit, energy
The equipment for saving binary data can be memory;In integrated circuits, one not physical form have store function
Circuit may be memory, such as RAM, FIFO;In systems, the storage equipment with physical form can also be named storage
Device etc..When realization, which can also be realized by the way of cloud storage, specific implementation, and this specification is not
Mistake limits.
It can be seen that ID card information verifying device, equipment and computer readable storage medium that this specification provides
Embodiment of the method in embodiment and this specification is based on same innovation thinking, and therefore, the identity card that this specification provides is believed
The technology effect of embodiment of the method in specification may be implemented in the embodiment of breath verifying device, equipment and computer readable storage medium
Fruit.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
Device, module or the unit that above-described embodiment illustrates can specifically be realized, Huo Zheyou by computer chip or entity
Product with certain function is realized.It is a kind of typically to realize that equipment is computer.Specifically, computer for example can be a
People's computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation
Any equipment in equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
Combination.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, apparatus or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (device) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other
Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein
In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation
Signal and carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can provide as method, apparatus or computer program production
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification
The form of example.Moreover, it wherein includes the computer of computer usable program code that this specification, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device and
For server example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side
The part of method embodiment illustrates.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology
For personnel, this specification can have various modifications and variations.It is all made any within the spirit and principle of this specification
Modification, equivalent replacement, improvement etc., should be included within scope of the claims.
Claims (10)
1. a kind of ID card information verification method, which comprises the steps of:
Client obtains picture to be verified;
The client carries out information identification to the predeterminable area of the picture to be verified, and carries out information to the information identified
Verification, obtains information checking result;
In the case where the information checking result is successful situation, the picture to be verified is sent to server progress information and is tested
Card.
2. the method according to claim 1, wherein the picture to be verified includes: the picture comprising head portrait, with
And the picture comprising national emblem.
3. the method according to claim 1, wherein the predeterminable area includes: the corresponding area of ID card information
Domain specifically includes: name region, gender region, name race region, date of birth region, address region, identification card number region, head
As region, licence issuing authority region and/or the effective term area of certificate.
4. the method according to claim 1, wherein the predeterminable area to the picture to be verified carries out information knowledge
It is not realized, is specifically comprised the following steps: using the ORC engine of Tesseract
Character library training is carried out using the picture of Tesseract predeterminable area described in identity card;
Image procossing is carried out to the picture to be verified, obtains the picture of the predeterminable area of the picture to be verified;
Identify that the text information in the part picture, the text information in the part picture are according to character library training result
The information of the predeterminable area identified.
5. according to the method described in claim 4, it is characterized in that, described obtain the picture progress image procossing to be verified
The picture of predeterminable area includes:
Gray processing processing, binary conversion treatment, corrosion and contour detecting are successively carried out to the picture to be verified, determine preset areas
The part picture in domain.
6. according to the method described in claim 4, it is characterized in that, described obtain the picture progress image procossing to be verified
The picture of predeterminable area is realized using the method that coordinate calculates.
7. a kind of ID card information verifies device, it is located in client characterized by comprising
Picture to be verified obtains module, for obtaining picture to be verified;
Client identifies correction verification module, carries out information identification for the predeterminable area to the picture to be verified, and to identifying
Information carry out information checking, obtain information checking result;
Picture sending module, in the case where the information checking result is successful situation, the picture to be verified to be sent to
Server carries out Information Authentication.
8. device according to claim 7, which is characterized in that the client identifies that correction verification module includes:
Character library trains submodule, carries out character library training for the picture using Tesseract predeterminable area described in identity card;
Predeterminable area picture acquisition submodule, for carrying out image procossing to the picture to be verified and obtaining the figure to be verified
The picture of the predeterminable area of piece;
Predeterminable area acquisition of information submodule, for identifying the text information in the part picture according to character library training result,
Text information in the part picture is the information of the predeterminable area identified.
9. a kind of computer equipment, including memory and processor, wherein the processor requires in 1 to 6 for perform claim
The step of any one the method.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that described instruction is performed
The step of Shi Shixian any one of claims 1 to 6 the method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237144.3A CN109635628A (en) | 2018-10-23 | 2018-10-23 | ID card information verification method, device, equipment and computer readable storage medium |
PCT/CN2019/070288 WO2020082610A1 (en) | 2018-10-23 | 2019-01-03 | Identity card information verification method and apparatus, device, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811237144.3A CN109635628A (en) | 2018-10-23 | 2018-10-23 | ID card information verification method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635628A true CN109635628A (en) | 2019-04-16 |
Family
ID=66066593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811237144.3A Pending CN109635628A (en) | 2018-10-23 | 2018-10-23 | ID card information verification method, device, equipment and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109635628A (en) |
WO (1) | WO2020082610A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020640A (en) * | 2019-04-19 | 2019-07-16 | 厦门商集网络科技有限责任公司 | A kind of method and terminal for correcting ID card information |
CN110415183A (en) * | 2019-06-18 | 2019-11-05 | 平安科技(深圳)有限公司 | Picture bearing calibration, device, computer equipment and computer readable storage medium |
CN110414517A (en) * | 2019-04-18 | 2019-11-05 | 河北神玥软件科技股份有限公司 | It is a kind of for cooperating the quick high accuracy identity card text recognition algorithms for scene of taking pictures |
CN111064977A (en) * | 2019-12-05 | 2020-04-24 | 任子行网络技术股份有限公司 | Method, system and readable storage medium for online monitoring of network integrated art program record |
CN113449673A (en) * | 2021-07-09 | 2021-09-28 | 中国银行股份有限公司 | Certificate identification and verification method and device |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111783527A (en) * | 2020-05-21 | 2020-10-16 | 深圳英飞拓智能技术有限公司 | Identity recognition method and device based on forehead temperature detection and storage medium |
CN112232336A (en) * | 2020-09-02 | 2021-01-15 | 深圳前海微众银行股份有限公司 | Certificate identification method, device, equipment and storage medium |
CN113378549B (en) * | 2021-06-29 | 2023-02-14 | 平安普惠企业管理有限公司 | Document verification method and device, computer equipment and storage medium |
CN118427885A (en) * | 2021-08-10 | 2024-08-02 | 支付宝(杭州)信息技术有限公司 | Data verification method, device and equipment |
CN113761496B (en) * | 2021-10-21 | 2024-04-09 | 支付宝(杭州)信息技术有限公司 | Identity verification method and device based on blockchain and electronic equipment |
CN114089691B (en) * | 2021-11-24 | 2023-11-07 | 歌尔股份有限公司 | Machining information interaction verification method, electronic equipment and readable storage medium |
CN118051099A (en) * | 2023-09-18 | 2024-05-17 | 支付宝(杭州)信息技术有限公司 | Texture detection processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103679436A (en) * | 2013-12-17 | 2014-03-26 | 重庆邮电大学 | Electronic contract security system and method based on biological information identification |
CN106407968A (en) * | 2016-08-25 | 2017-02-15 | 深圳市启明星电子商务有限公司 | Method for rapidly identifying identify of cross-border e-commerce seller and identifying system thereof |
CN106886774A (en) * | 2015-12-16 | 2017-06-23 | 腾讯科技(深圳)有限公司 | The method and apparatus for recognizing ID card information |
CN108427911A (en) * | 2018-01-30 | 2018-08-21 | 阿里巴巴集团控股有限公司 | A kind of auth method, system, device and equipment |
CN108513280A (en) * | 2018-04-08 | 2018-09-07 | 远特(北京)通信技术有限公司 | The method for belonging to channel based on ICCID information realization SIM cards, opening card |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10366299B2 (en) * | 2011-10-25 | 2019-07-30 | Bull Hn Information Systems, Inc. | Sorting/scanning system camera upgrade apparatus with backwards compatibility |
CN202696733U (en) * | 2012-05-18 | 2013-01-23 | 王金浪 | Data processor |
CN107766430B (en) * | 2017-09-18 | 2020-12-25 | 北京春鸿科技有限公司 | File searching method and system |
-
2018
- 2018-10-23 CN CN201811237144.3A patent/CN109635628A/en active Pending
-
2019
- 2019-01-03 WO PCT/CN2019/070288 patent/WO2020082610A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103679436A (en) * | 2013-12-17 | 2014-03-26 | 重庆邮电大学 | Electronic contract security system and method based on biological information identification |
CN106886774A (en) * | 2015-12-16 | 2017-06-23 | 腾讯科技(深圳)有限公司 | The method and apparatus for recognizing ID card information |
CN106407968A (en) * | 2016-08-25 | 2017-02-15 | 深圳市启明星电子商务有限公司 | Method for rapidly identifying identify of cross-border e-commerce seller and identifying system thereof |
CN108427911A (en) * | 2018-01-30 | 2018-08-21 | 阿里巴巴集团控股有限公司 | A kind of auth method, system, device and equipment |
CN108513280A (en) * | 2018-04-08 | 2018-09-07 | 远特(北京)通信技术有限公司 | The method for belonging to channel based on ICCID information realization SIM cards, opening card |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414517A (en) * | 2019-04-18 | 2019-11-05 | 河北神玥软件科技股份有限公司 | It is a kind of for cooperating the quick high accuracy identity card text recognition algorithms for scene of taking pictures |
CN110020640A (en) * | 2019-04-19 | 2019-07-16 | 厦门商集网络科技有限责任公司 | A kind of method and terminal for correcting ID card information |
CN110020640B (en) * | 2019-04-19 | 2021-08-24 | 厦门商集网络科技有限责任公司 | Method and terminal for correcting identity card information |
CN110415183A (en) * | 2019-06-18 | 2019-11-05 | 平安科技(深圳)有限公司 | Picture bearing calibration, device, computer equipment and computer readable storage medium |
CN111064977A (en) * | 2019-12-05 | 2020-04-24 | 任子行网络技术股份有限公司 | Method, system and readable storage medium for online monitoring of network integrated art program record |
CN113449673A (en) * | 2021-07-09 | 2021-09-28 | 中国银行股份有限公司 | Certificate identification and verification method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2020082610A1 (en) | 2020-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109635628A (en) | ID card information verification method, device, equipment and computer readable storage medium | |
US10846821B2 (en) | Digital gradient signal processing system and method for video signals | |
US20210104014A1 (en) | Digital gradient signal processing system and method for signals comprising at least three dimensions | |
CN107563283B (en) | Method, device, equipment and storage medium for generating attack sample | |
CN111898696A (en) | Method, device, medium and equipment for generating pseudo label and label prediction model | |
CN107679700A (en) | Business flow processing method, apparatus and server | |
CN109347787A (en) | A kind of recognition methods of identity information and device | |
WO2020029466A1 (en) | Image processing method and apparatus | |
CN112749695A (en) | Text recognition method and device | |
CN110263502A (en) | Image processing method and device based on block chain | |
CN109271587A (en) | A kind of page generation method and device | |
CN107402945A (en) | Word stock generating method and device, short text detection method and device | |
CN108491812B (en) | Method and device for generating face recognition model | |
JP6779491B1 (en) | Character recognition device, shooting device, character recognition method, and character recognition program | |
CN112686243A (en) | Method and device for intelligently identifying picture characters, computer equipment and storage medium | |
JP5832656B2 (en) | Method and apparatus for facilitating detection of text in an image | |
CN110263505A (en) | Image processing method and device based on block chain | |
CN115757731A (en) | Dialogue question rewriting method, device, computer equipment and storage medium | |
US11270449B2 (en) | Method and system for location detection of photographs using topographic techniques | |
CN109522451B (en) | Repeated video detection method and device | |
CN109657127B (en) | Answer obtaining method, device, server and storage medium | |
CN109034032B (en) | Image processing method, apparatus, device and medium | |
CN110046621A (en) | Certificate recognition methods and device | |
CN109410121B (en) | Human image beard generation method and device | |
CN110309859A (en) | A kind of image true-false detection method, device and electronic equipment |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190416 |