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

Identity card picture processing method and device, terminal and storage medium

A technology of image processing and ID card, applied in the direction of instruments, character and pattern recognition, computer parts, etc., can solve the problem of inaccurate information recognition of perspective transformation, and achieve the effect of improving accuracy

Pending Publication Date: 2020-10-30
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above, it is necessary to propose an ID card image processing method, device, terminal and storage medium, which can solve the problem of inaccurate information recognition of perspective transformation due to the lack of direction information in semantic segmentation, and can accurately segment the text orientation. Xiang's ID card

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 picture processing method and device, terminal and storage medium
  • Identity card picture processing method and device, terminal and storage medium
  • Identity card picture processing method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 1 It is a flow chart of the ID card picture processing method provided by Embodiment 1 of the present invention. The ID card picture processing method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some of them can be omitted.

[0058] S11, cascade the semantic segmentation network and the classification network to obtain a target network and train a multi-task model based on the target network.

[0059] Wherein, the semantic segmentation network may be a network structure of the Deeplab series, and the classification network may be a commonly used network structure, and examples will not be given one by one. A target network is obtained by cascading a semantic segmentation network and a classification network, the semantic segmentation network is used to output a mask picture, and the classification network is used to output a category identification of the mask pictur...

Embodiment 2

[0083] figure 2 It is a flow chart of the multi-task model training method provided by Embodiment 2 of the present invention. The multi-task model training method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some of them can be omitted.

[0084] S21. Obtain multiple sample pictures including ID cards.

[0085] The terminal can obtain multiple sample pictures containing the ID card through a crawler in advance, or request the business system to send multiple sample pictures containing the ID card.

[0086] S22. Process each sample picture to obtain a sample mask picture.

[0087] In an optional embodiment, said processing each sample picture to obtain a sample mask picture includes:

[0088] Detecting the region corresponding to the ID card in the sample picture;

[0089] Determining an area other than the area corresponding to the ID card in the sample picture as the processing...

Embodiment 3

[0121] image 3 It is a structural diagram of an ID card image processing device provided in Embodiment 3 of the present invention.

[0122] In some embodiments, the ID card picture processing device 30 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the ID card picture processing device 30 can be stored in the memory of the terminal, and executed by at least one processor to execute (see for details figure 1 Description) The function of ID card image processing.

[0123] In this embodiment, the ID card picture processing device 30 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a model training module 301 , a picture input module 302 , a logo acquisition module 303 , a coordinate calculation module 304 , a perspective transformation module 305 and a character recognition module 306 . The module referred to in the present in...

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 relates to the technical field of artificial intelligence, and provides an identity card picture processing method and device, a terminal and a storage medium, and the method comprises the steps: cascading a semantic segmentation network and a classification network to obtain a target network, and training a multi-task model based on the target network; inputting a picture containingan identity card into the multi-task model; obtaining an identity card mask picture and a category identifier output by the multi-task model; calculating coordinates of four vertexes of the identitycard in the identity card mask picture; and according to the coordinates of the four vertexes and the category identifier, converting the identity card mask picture into a standard identity card picture in a perspective manner. According to the method, the identity card with the forward character orientation can be accurately segmented. In addition, the invention also relates to a blockchain technology, and the standard identity card picture can be stored in a blockchain node.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a method, device, terminal and storage medium for processing an ID card image. Background technique [0002] At present, more and more application scenarios, such as online purchase of wealth management products, require users to upload ID card pictures. In the prior art, in order to automatically identify the information on the ID card, pictures can be taken for identification to realize automatic input, which greatly saves manpower and time costs, and at the same time improves the accuracy of input. [0003] However, the use of image recognition technology requires relatively high requirements for taking photos of ID cards. When shooting, the camera needs to be facing the ID card and cannot be tilted. However, limited by the user's shooting level, pictures that do not meet the requirements are often received, resulting in the inability to accurately identify th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/34G06K9/46G06K9/62
CPCG06V10/267G06V10/44G06F18/241G06F18/214
Inventor 熊军
Owner CHINA PING AN LIFE INSURANCE 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