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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com