CN101976333A - Method for automatically distinguishing first-generation identity card from second-generation identity card - Google Patents
Method for automatically distinguishing first-generation identity card from second-generation identity card Download PDFInfo
- Publication number
- CN101976333A CN101976333A CN 201010549537 CN201010549537A CN101976333A CN 101976333 A CN101976333 A CN 101976333A CN 201010549537 CN201010549537 CN 201010549537 CN 201010549537 A CN201010549537 A CN 201010549537A CN 101976333 A CN101976333 A CN 101976333A
- Authority
- CN
- China
- Prior art keywords
- image
- generation
- face
- literal
- people
- 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
Images
Landscapes
- Character Input (AREA)
Abstract
The invention discloses a method for automatically distinguishing a first-generation identity card from a second-generation identity card, which comprises the following steps of: obtaining an identity card image; analyzing and recognizing characters in the appointed image; judging whether the recognized characters have 15 just continuous figures or not; if so, returning the identity card type as the first generation identity card; if not, judging whether the recognized characters have a character string of citizenship number; if so, returning the identity card type as the second generation identity card, if not, judging whether the recognized characters have a character string of number; and if so, returning the identity card type as the first generation identity card. The method for automatically distinguishing the first-generation identity card from the second-generation identity card is used for automatically distinguishing whether the identity card is the first generation or the second generation according to the identity card image shot or scanned by a scanner, and improves the convenience for using and authenticating the identity card.
Description
Technical field
The invention belongs to the character recognition technology field, relate to a kind of I.D. recognition methods, relate in particular to the method for a kind of automatic distinguishing first generation and second generation I.D..
Background technology
As the unique identification of personal identification, I.D. is the certificate that people often will use.Though at present domestic large tracts of land has been used second generation I.D., according to law, first generation I.D. still can legally use before the deadline, and this just means that can there be a very long time simultaneously in first generation I.D. and second generation I.D., and is expired up to all first generation I.D.s.
One of common use-pattern of I.D. is by scanner scanning or takes pictures and obtain the picture of I.D., utilize image processing techniques and optical character identification (OCR then, Optical Character Recognition) technology identifies Word message wherein, comprise identification card number, name etc., and then the related web site that this identification card number and name send to the Ministry of Public Security got on to inquire about, see with the website on record whether conform to, judge the true and false of I.D. with this.In this was used, the accuracy rate of identification card number and name identification was very important, otherwise will strengthen the burden of artificial correction identification error.
First generation I.D. and second generation I.D. are at typesetting format, all there is very big difference font or the like aspect, if can know earlier that the certificate in the picture of being discerned is first generation I.D. or second generation I.D., and then literal wherein discerned, can improve the accuracy rate of identification greatly.
And in the existing scheme, also do not have can subregion two generation ID types method.
Summary of the invention
Technical matters to be solved by this invention is: the method for a kind of automatic distinguishing first generation and second generation I.D. is provided, can improves the efficient that I.D. uses and authenticates.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
The method of a kind of automatic distinguishing first generation and second generation I.D., described method comprises the steps:
The literal in the specified image is analyzed and discerned to step 102;
Whether step 103 exists just continuous 15 numeral in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 104 to;
Whether step 104 exists character string " citizenship number " in the literal that identifies; If answer forwards step 108 to for being, otherwise forward step 105 to;
Whether step 105 exists character string " numbering " in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 106 to;
Step 109 finishes.
As a preferred embodiment of the present invention, in the described step 101, take or scanner scanning is obtained the I.D. image by image unit, perhaps duplicate to obtain by memory carrier; Perhaps need not to take, only obtain the I.D. image of preview by image unit; In the described step 102, analyze and discern the literal in the specified image-region, search the literal in the image-region, and utilize the OCR technology to discern.
As a preferred embodiment of the present invention, in the described step 103, whether there is just continuous 15 numeral in the literal that identifies; So-called just continuous 15 numeral is meant does not have continuous 16 or the numeral of multidigit more, thereby is confirmed to be first generation I.D..
As a preferred embodiment of the present invention, in the described step 106, described I.D. image is carried out people's face to be detected, in image, detect the size and the position of people's face, the result who detects according to people's face judges the I.D. type, and specific practice comprises: image is carried out people's face detect, if do not detect people's face, then return failure, can't judge type of credential; If detect people's face on the image left side, then returning type of credential is first generation I.D., if detect people's face on image the right, then returning type of credential is second generation I.D..
Beneficial effect of the present invention is: the automatic distinguishing first generation that the present invention proposes and the method for second generation I.D., to scanner scanning or take pictures that to obtain I.D. picture automatic distinguishing certificate be first generation I.D. or second generation I.D.; This method has improved the convenience that I.D. uses and authenticates.
Description of drawings
Fig. 1 is the process flow diagram of automatic distinguishing method of the present invention.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed the method for a kind of automatic distinguishing first generation and second generation I.D., and described method comprises the steps:
[step 101] obtains the I.D. image.
Take or scanner scanning is obtained the I.D. image by image unit, perhaps duplicate to obtain by memory carrier; Perhaps need not to take, only obtain the I.D. image of preview by image unit.
The literal in the specified image is analyzed and discerned to [step 102], searches the literal in the image-region, and utilize the OCR technology to discern.
[step 103] judged: whether have just continuous 15 numeral in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 104 to.
Whether there is just continuous 15 numeral in the literal that identifies; So-called just continuous 15 numeral is meant does not have continuous 16 or the numeral of multidigit more, thereby is confirmed to be first generation I.D..
[step 104] judged: whether have character string " citizenship number " in the literal that identifies; If answer forwards step 108 to for being, otherwise forward step 105 to.
[step 105] judged: whether have character string " numbering " in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 106 to.
[step 106] carried out people's face to described I.D. image and detected, and judges the I.D. type according to testing result, forwards step 109 to.
Described I.D. image is carried out people's face detect, detect the size and the position of people's face in image, the result who detects according to people's face judges the I.D. type, specific practice comprises: image is carried out people's face detect, if do not detect people's face, then return failure, can't judge type of credential; If detect people's face on the image left side, then returning type of credential is first generation I.D., if detect people's face on image the right, then returning type of credential is second generation I.D..
[step 107] returns type of credential is first generation I.D., forwards step 109 to.
[step 108] returns type of credential is second generation I.D., forwards step 109 to.
[step 109] finishes.
In sum, the automatic distinguishing first generation that the present invention proposes and the method for second generation I.D. are to scanner scanning or take pictures that to obtain I.D. picture automatic distinguishing certificate be first generation I.D. or second generation I.D.; This method has improved the convenience that I.D. uses and authenticates.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.
Claims (5)
1. the method for the automatic distinguishing first generation and second generation I.D. is characterized in that described method comprises the steps:
Step 101 is obtained the I.D. image;
The literal in the specified image is analyzed and discerned to step 102;
Whether step 103 exists just continuous 15 numeral in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 104 to;
Whether step 104 exists character string " citizenship number " in the literal that identifies; If answer forwards step 108 to for being, otherwise forward step 105 to;
Whether step 105 exists character string " numbering " in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 106 to;
Step 106 is carried out people's face to described I.D. image and is detected, and judges the I.D. type according to testing result, forwards step 109 to;
Step 107, returning type of credential is first generation I.D., forwards step 109 to;
Step 108, returning type of credential is second generation I.D., forwards step 109 to;
Step 109 finishes.
2. the method for the automatic distinguishing first generation according to claim 1 and second generation I.D. is characterized in that:
In the described step 101, obtain the I.D. image by image unit shooting or scanner scanning,
Perhaps duplicate and obtain by memory carrier; Perhaps need not to take, only obtain the I.D. image of preview by image unit;
In the described step 102, analyze and discern the literal in the specified image-region, search the literal in the image-region, and utilize the OCR technology to discern.
3. the method for the automatic distinguishing first generation according to claim 1 and second generation I.D. is characterized in that:
In the described step 103, whether there is just continuous 15 numeral in the literal that identifies; So-called just continuous 15 numeral is meant does not have continuous 16 or the numeral of multidigit more, thereby is confirmed to be first generation I.D..
4. the method for the automatic distinguishing first generation according to claim 1 and second generation I.D. is characterized in that:
In the described step 106, described I.D. image is carried out people's face detect, detect the size and the position of people's face in image, the result who detects according to people's face judges the I.D. type, and specific practice comprises:
Image is carried out people's face detect,, then return failure, can't judge type of credential if do not detect people's face;
If detect people's face on the image left side, then returning type of credential is first generation I.D., if detect people's face on image the right, then returning type of credential is second generation I.D..
5. the method for the automatic distinguishing first generation and second generation I.D. is characterized in that described method comprises the steps:
Step 101 is obtained the I.D. image; Take or scanner scanning is obtained the I.D. image by image unit, perhaps duplicate to obtain by memory carrier; Perhaps need not to take, only obtain the I.D. image of preview by image unit;
The literal in the specified image is analyzed and discerned to step 102, searches the literal in the image-region, and utilize the OCR technology to discern;
Whether step 103 exists just continuous 15 numeral in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 104 to; Whether there is just continuous 15 numeral in the literal that identifies; So-called just continuous 15 numeral is meant does not have continuous 16 or the numeral of multidigit more, thereby is confirmed to be first generation I.D.;
Whether step 104 exists character string " citizenship number " in the literal that identifies; If answer forwards step 108 to for being, otherwise forward step 105 to;
Whether step 105 exists character string " numbering " in the literal that identifies; If answer forwards step 107 to for being, otherwise forward step 106 to;
Step 106 is carried out people's face to described I.D. image and is detected, and judges the I.D. type according to testing result, forwards step 109 to; Described I.D. image is carried out people's face detect, detect the size and the position of people's face in image, the result who detects according to people's face judges the I.D. type, specific practice comprises: image is carried out people's face detect, if do not detect people's face, then return failure, can't judge type of credential; If detect people's face on the image left side, then returning type of credential is first generation I.D., if detect people's face on image the right, then returning type of credential is second generation I.D.;
Step 107, returning type of credential is first generation I.D., forwards step 109 to;
Step 108, returning type of credential is second generation I.D., forwards step 109 to;
Step 109 finishes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010549537 CN101976333A (en) | 2010-11-18 | 2010-11-18 | Method for automatically distinguishing first-generation identity card from second-generation identity card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010549537 CN101976333A (en) | 2010-11-18 | 2010-11-18 | Method for automatically distinguishing first-generation identity card from second-generation identity card |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101976333A true CN101976333A (en) | 2011-02-16 |
Family
ID=43576216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010549537 Pending CN101976333A (en) | 2010-11-18 | 2010-11-18 | Method for automatically distinguishing first-generation identity card from second-generation identity card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101976333A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104111932A (en) * | 2013-04-17 | 2014-10-22 | 北京启明星辰信息技术股份有限公司 | Recognition method and device of ID (identity) card numbers |
CN105469513A (en) * | 2015-12-31 | 2016-04-06 | 天津中邦信息技术有限公司 | Self-service all-in-one machine based on face detection and character recognition and using method thereof |
CN106899800A (en) * | 2016-06-28 | 2017-06-27 | 阿里巴巴集团控股有限公司 | Method, device and mobile terminal device that camera is focused |
CN107247936A (en) * | 2017-05-31 | 2017-10-13 | 北京小米移动软件有限公司 | Image-recognizing method and device |
CN108765785A (en) * | 2018-04-02 | 2018-11-06 | 广州供电局有限公司 | A kind of long-distance video automatic teller machine VTM self-service terminal systems |
CN109359647A (en) * | 2018-10-16 | 2019-02-19 | 翟红鹰 | Identify the method, equipment and computer readable storage medium of a variety of certificates |
CN110321881A (en) * | 2018-03-30 | 2019-10-11 | 卡巴斯基实验室股份制公司 | The system and method for image of the identification comprising proof of identification certificate |
CN110516679A (en) * | 2019-08-30 | 2019-11-29 | 王晓 | A kind of method and system that the material stamped an offical seal is checked |
CN110619290A (en) * | 2019-08-30 | 2019-12-27 | 王晓 | Method and system for on-line examining business license |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995025640A1 (en) * | 1994-03-21 | 1995-09-28 | I.D.Tec, S.L. | Biometric security process for authenticating identity and credit cards, visas, passports and facial recognation |
JP2000348142A (en) * | 1999-06-08 | 2000-12-15 | Nippon Telegr & Teleph Corp <Ntt> | Character recognizing device, method therefor and recording medium for recording program executing the method |
CN2789842Y (en) * | 2005-02-02 | 2006-06-21 | 洪朝阳 | Identity card recognizing instrument |
CN2857114Y (en) * | 2005-07-14 | 2007-01-10 | 深圳市沃达通实业有限公司 | Multifunction help-youself card feeder |
CN101561876A (en) * | 2009-06-05 | 2009-10-21 | 四川泸州航天金穗高技术有限公司 | Method and system for collecting and identifying ID card information |
CN101751548A (en) * | 2008-12-01 | 2010-06-23 | 中兴通讯股份有限公司 | Identity identification managing method and device thereof |
-
2010
- 2010-11-18 CN CN 201010549537 patent/CN101976333A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995025640A1 (en) * | 1994-03-21 | 1995-09-28 | I.D.Tec, S.L. | Biometric security process for authenticating identity and credit cards, visas, passports and facial recognation |
JP2000348142A (en) * | 1999-06-08 | 2000-12-15 | Nippon Telegr & Teleph Corp <Ntt> | Character recognizing device, method therefor and recording medium for recording program executing the method |
CN2789842Y (en) * | 2005-02-02 | 2006-06-21 | 洪朝阳 | Identity card recognizing instrument |
CN2857114Y (en) * | 2005-07-14 | 2007-01-10 | 深圳市沃达通实业有限公司 | Multifunction help-youself card feeder |
CN101751548A (en) * | 2008-12-01 | 2010-06-23 | 中兴通讯股份有限公司 | Identity identification managing method and device thereof |
CN101561876A (en) * | 2009-06-05 | 2009-10-21 | 四川泸州航天金穗高技术有限公司 | Method and system for collecting and identifying ID card information |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104111932A (en) * | 2013-04-17 | 2014-10-22 | 北京启明星辰信息技术股份有限公司 | Recognition method and device of ID (identity) card numbers |
CN104111932B (en) * | 2013-04-17 | 2018-02-13 | 北京启明星辰信息技术股份有限公司 | A kind of recognition methods of ID card No. and device |
CN105469513A (en) * | 2015-12-31 | 2016-04-06 | 天津中邦信息技术有限公司 | Self-service all-in-one machine based on face detection and character recognition and using method thereof |
CN106899800A (en) * | 2016-06-28 | 2017-06-27 | 阿里巴巴集团控股有限公司 | Method, device and mobile terminal device that camera is focused |
CN106899800B (en) * | 2016-06-28 | 2020-02-14 | 阿里巴巴集团控股有限公司 | Camera focusing method and device and mobile terminal equipment |
CN107247936A (en) * | 2017-05-31 | 2017-10-13 | 北京小米移动软件有限公司 | Image-recognizing method and device |
CN110321881A (en) * | 2018-03-30 | 2019-10-11 | 卡巴斯基实验室股份制公司 | The system and method for image of the identification comprising proof of identification certificate |
CN110321881B (en) * | 2018-03-30 | 2024-02-20 | 卡巴斯基实验室股份制公司 | System and method for identifying images containing identification documents |
CN108765785A (en) * | 2018-04-02 | 2018-11-06 | 广州供电局有限公司 | A kind of long-distance video automatic teller machine VTM self-service terminal systems |
CN109359647A (en) * | 2018-10-16 | 2019-02-19 | 翟红鹰 | Identify the method, equipment and computer readable storage medium of a variety of certificates |
CN110516679A (en) * | 2019-08-30 | 2019-11-29 | 王晓 | A kind of method and system that the material stamped an offical seal is checked |
CN110619290A (en) * | 2019-08-30 | 2019-12-27 | 王晓 | Method and system for on-line examining business license |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101976333A (en) | Method for automatically distinguishing first-generation identity card from second-generation identity card | |
Zhang et al. | How far are we from solving pedestrian detection? | |
CN103810425B (en) | The detection method of malice network address and device | |
CN103116755B (en) | Painting and calligraphy authenticity degree automatic checkout system and method thereof | |
CN102999420B (en) | Based on cross site scripting leak method of testing and the system of DOM | |
CN103679147A (en) | Method and device for identifying model of mobile phone | |
CN103617422A (en) | A social relation management method based on business card recognition | |
CN102129555A (en) | Second-generation identity card-based authentication method and system | |
CN103577818A (en) | Method and device for recognizing image characters | |
CN104318196A (en) | Project quality examining report two-dimension code anti-fake verifying method | |
US10769247B2 (en) | System and method for interacting with information posted in the media | |
CN106991448A (en) | A kind of portrait compares processing method | |
CN102521569A (en) | Method and system for identifying identity card by using smart phone and mobile phone | |
CN106033543A (en) | Document modification detecting method, original document manuscript providing device, duplicated document detecting device, and document modification detection system | |
CN106357682A (en) | Phishing website detecting method | |
CN117037198A (en) | Bank statement identification method | |
KR101727138B1 (en) | Method and apparatus for recogniting container code using multiple video | |
CN109492532A (en) | A kind of methods, devices and systems of image AI identification | |
CN104050434B (en) | Printing digital watermarking mobile phone reading method | |
CN103688528A (en) | Method for detecting the width and position of documents using image information in a large-format scanner system | |
Manu et al. | Visual artifacts based image splicing detection in uncompressed images | |
CN103793903B (en) | A kind of image partition method and system using bar code recognition | |
CN105335858B (en) | The method for anti-counterfeit and system of anti-copying QR code | |
CN105336020B (en) | A kind of method and system of authentication | |
CN114006899A (en) | Multi-receiving-unit sending mechanism in paper document sending information hiding system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110216 |