Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Identity card number detection method and device, readable storage medium and terminal

An ID card number and detection method technology, applied in the field of information detection or intelligent vision, can solve the problems of high consumption of computing resources, long training and reasoning time, waste of computing resources, etc., to improve ID card information extraction, improve computing efficiency, The effect of saving computing resources

Pending Publication Date: 2021-04-20
GRG BAKING EQUIP CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is currently a popular character detection method, but for the document number detection task, this method has the following defects: (1) Non-document area images also participate in the network reasoning process, which wastes computing resources on the one hand, and on the other hand, for non-document Misdetection of character presence in the region requires additional processing logic to eliminate; (2) The calculation resource consumption of this scheme is relatively large, and the training and reasoning time is longer than this proposal; (3) Due to the uninterpretable behavior of the neural network, this method The frame of the positioned character area cannot accurately locate the smallest circumscribed rectangular frame of the character, and even part of the character area will be cut off. That is, the traditional document image optical recognition (OCR) technology is mainly for high-definition scanned images. This method requires the recognized image to have a clean background, use standard typography and have high resolution
However, in natural scenes, there are problems such as large text background noise, irregular text distribution, and the influence of natural light sources. The detection rate of OCR technology in actual natural scenes is not ideal. The identification of ID cards and other documents will bring pressure to the character recognition in the subsequent steps.
[0006] To sum up, in the existing ID card recognition technology, the quality inspection video has extremely poor clarity, the environment is extremely complex, and the quality inspection requirements are diverse. The current algorithms all solve a single problem, such as recognizing faces and text information from high-quality images , it is difficult to directly translate into complex business judgments. Therefore, a detection technology that can efficiently identify documents in complex environments with complex backgrounds in non-document areas or small gradient changes in document foreground areas is needed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Identity card number detection method and device, readable storage medium and terminal
  • Identity card number detection method and device, readable storage medium and terminal
  • Identity card number detection method and device, readable storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0055] A kind of ID number detection method, see figure 1 , methods include:

[0056] The first step: ID card detection, apply the target detection algorithm to detect the position of the ID card image in the image, S=(a,b,c,d), where S is the area where the identity is located, a is the abscissa of the upper left point of the area, b is the ordinate of the upper left point of the area, c is the abscissa of the lower right point of the area, and d is the ordinate of the lower right point of the area.

[0057] Wherein, the target detection algorithm adopted in the first step includes one of yolo and ssd.

[0058] For the detection of the collected images using the deep neural network model based on the YOLO algorithm, the corresponding ID card area is obtained, so that when the area occupied by the target information is too small, it can prevent the damage caused by directly searching the target information from the entire complex scene image. missed detection. Wherein, the ...

no. 2 example

[0101] The present invention also provides an ID number detection device, see figure 2 , the device includes: an acquisition unit for acquiring image information to be processed; a preprocessing unit for preprocessing the acquired image to obtain a normalized image R; a depth processing unit for preprocessing The number area in the image R of the image R is blurred, and a rectangular mask of the same size as the character to be detected is used to perform an expansion operation on the planned image to obtain a corrected image after the expansion operation; and then through edge detection and image rotation , expansion and binarization; the data extraction unit is used to detect the target information of the detected ID card area, extract the Unicom area whose aspect ratio meets the requirements is the ID card number area, and obtain each row of characters in the area after detection Select the area and integrate it as the ID number area, so as to extract the number in this ar...

no. 3 example

[0108] The present invention also provides a computer-readable storage medium, on which computer instructions are stored, and the steps of the aforementioned ID card number detection method are executed when the computer instructions are run. Wherein, for the detection method of the ID card number, please refer to the detailed introduction in the foregoing part, and will not be repeated here.

[0109] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the computer-readable medium includes a permanent Both non-permanent and non-permanent, removable and non-removable media can be implemented by any method or technology for information storage. Information may be computer readable instructions, data structures, modules of a program, or other data. Example...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an identity card number detection method and device, a readable storage medium and a terminal. The method comprises steps of firstly employing a target detection algorithm to locate the position of an identity card, extracting an image in a detection frame, carrying out the size normalization of the image, selecting a mask with a proper size to carry out the morphological operation of the image, and enabling an identity card number region to be communicated; adaptively selecting a threshold value to realize binaryzation, acquiring a straight line by using hough, selecting a main direction of an image and rotating, and extracting a connected region with a length-width ratio meeting requirements and an identity card number region. The method is advantaged in that inclination correction of the identity card is not needed, identity card information extraction in a complex shooting scene can be improved, the recognition rate is greatly improved, and the method can be widely applied to the fields of security, finance and the like.

Description

technical field [0001] The invention relates to the technical field of information detection or intelligent vision, in particular to an ID card number detection method, device, readable storage medium and terminal. Background technique [0002] With the rise of artificial intelligence, image recognition technology is gradually applied to security, military, medical, intelligent transportation and other fields, and technologies such as face recognition and fingerprint recognition are increasingly used in public security, finance, aerospace and other security fields. In the military field, image recognition is mainly used in the detection and identification of targets, through automatic image recognition technology to identify and strike enemy targets; in the medical field, image recognition technology can be used for various medical image analysis and diagnosis, On the one hand, it can greatly reduce the cost of medical care, and on the other hand, it can also help to improve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06K9/32G06K9/34G06K9/46
CPCG06V10/82G06V30/41G06V30/42G06V10/24G06V30/10
Inventor 王晓亮魏东杨旭王丹丹
Owner GRG BAKING EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products