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

Picture reconstruction method based on bill template

A technology of template pictures and bills, applied in the field of information, can solve problems such as unnaturalness and inability to simulate the generation of bill pictures, and achieve natural and realistic effects.

Pending Publication Date: 2021-03-19
EB INFORMATION TECH
View PDF1 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This technical solution simulates the printing effect of a dot matrix printer, generates a character dot matrix of the given text based on the specified font, samples the dot matrix from the dot matrix to obtain the dot matrix printing effect, and adds actual printing defect effects such as printer stains and ink shortages , all the parameters about the text content information are provided by the user, and only blank images can be generated. When the user sets the background pattern, it will be tiled. The size of the generated image is determined by the circumscribed rectangular frame of the character, and the real bill contains many text groups. Distributed in various areas, so this technical solution cannot truly simulate the simulation generation of real bill pictures. In addition, the text effect printed by needle type and the actual printing environment effect added by pixel operation are not natural.

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
  • Picture reconstruction method based on bill template
  • Picture reconstruction method based on bill template
  • Picture reconstruction method based on bill template

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0015] Such as figure 1 As shown in the present invention, a method for reconstructing pictures based on a bill template includes:

[0016] Step 1. Construct and train a bill text embedding network. The input of the bill text embedding network is the bill reconstruction parameters, and the output is the reconstructed bill image. The workflow of the bill text embedding network is as follows: according to the input bill reconstruction parameters The bill template picture in the document, and the text requirements (such as font, font size, text content) of each text area used to fill the text on the bill template picture, randomly obtain the filling text of each text area on the bill template picture from the text dictionary , and then generate a text mask image rep...

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

A picture reconstruction method based on a bill template comprises the following steps: a bill text embedded network being constructed and trained, bill reconstruction parameters being input, a reconstructed bill picture being output, and the process being as follows: obtaining a filling text of each text area on the bill template from a dictionary, generating a text mask picture which is represented by a binary system and consistent in size for each text region, enabling the picture to have a filling text, enabling a text pixel value to be 1 and a background pixel value to be 0, cutting out atext background picture of each text region from the bill template, and enabling the text mask picture and the text background picture to be synthesized into a text reconstruction picture, and finally, pasting all the text reconstruction pictures back to the bill template, namely reconstructing the bill picture. And a user sets bill reconstruction parameters and a reconstruction number, and inputs the bill reconstruction parameters into the trained bill text embedding network to obtain an output reconstructed bill picture. The invention belongs to the technical field of information, and can reconstruct a large number of bill pictures attached to real bills based on bill templates.

Description

technical field [0001] The invention relates to a picture reconstruction method based on a bill template, which belongs to the field of information technology. Background technique [0002] Bills are an important part of modern life. Common bills include value-added tax invoices, train tickets, taxi invoices, toll invoices and voting, etc. Bills play an important role in people's lives as valid certificates for goods or services. [0003] Under the social situation of digital economic development, there is an imminent demand for automated bill detection and recognition applications in various fields. According to the survey, at present, value-added tax invoices and electronic invoices account for the vast majority of the large number of invoices and other documents that most enterprises face in economic activities such as transactions. At the current stage, the collection of bill information still adopts the traditional manual collection and entry method, and manual collect...

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): G06T11/60G06T11/00
CPCG06T11/60G06T11/001
Inventor 黄文潞赵海秀王彦青张少杰
Owner EB INFORMATION TECH
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