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

Seal removing method

A stamp and normalization technology, applied in the field of computer vision, can solve the problems that affect the OCR recognition rate, the gray scale cannot be removed, and cannot be removed, and achieve the effects of avoiding parameter debugging, high generation efficiency, and great application value

Active Publication Date: 2019-06-14
BEIJING YIDAO BOSHI TECH
View PDF13 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The stamp is placed on the paper, and in many cases it covers the characters. Due to the influence of the stamp, it affects the positioning and recognition of the text under the stamp, and indirectly affects the recognition rate of OCR.
[0003] The traditional method of stamp removal assumes that the stamp is red, and analyzes it according to the RGB value of the image to remove it. Due to the influence of various environmental factors, the color of the stamp is generally not pure red, some are purple, and some Black, etc., resulting in the removal of stamps based on the color separation scheme is not very clean, and even cannot be removed in many cases, especially for grayscale.

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
  • Seal removing method
  • Seal removing method
  • Seal removing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0062] The first step, input image with seal:

[0063] The input is a raw image (recorded as ImageBig) with stamped regions.

[0064] The second step is to extract the seal image:

[0065] Use instance segmentation or other methods to locate and segment the stamp area from the original image, obtain the circumscribed rectangle of the stamp (recorded as RectImg), and cut the image with the stamp from the large image, and record it as ImageSrc.

[0066] Use instance segmentation or other methods to locate and segment the stamp area from the original image, for example, the following methods can be used:

[0067] Locate the stamp area with a rotation rectangle on the original image, and record the coordinates of the rotation rectangle of the stamp area;

[0068] Determine the direction of the stamp area according to the stamp text line area or image in the stamp area;

[0069] According to the position and direction of the rotation rectangle of the stamp area, the boundary rot...

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 discloses a seal removing method, and belongs to the field of computer vision. The method comprises the steps of providing a first original image with a seal area; positioning and segmenting a seal area from the first original image, and extracting a first seal image; performing normalization processing and scaling processing on the extracted first seal image, wherein the scaling ratio is Sh and Sw; adopting CycleGAN as a seal removal network, removing the seal in the first seal image, and converting the first seal image into a first seal-free image; amplifying the first stamper-free image according to a ratio of 1 / Sh to 1 / Sw; and restoring the amplified first seal-free image to an original image, and outputting a first seal-free original image. The method disclosed by the invention is simple in training and high in generation efficiency, and the algorithm has great robustness and great application value.

Description

technical field [0001] The invention relates to the field of computer vision, in particular to a stamp removal method. Background technique [0002] In various scenarios, documents need to be digitized, such as document image analysis, recognition, classification, storage, etc., all need to use the content information in the document. This recognition is called OCR technology. In applications such as bank form recognition, financial tax invoice recognition, etc., images are often stamped with picture (seal) seals, such as company official seals, company financial seals, personal name seals, etc., with round seals, oval seals, square seals, etc. Rectangular frame stamps, etc., stamp colors also come in various forms, most of them are red stamps, there are also blue stamps, grayscale scans are gray stamps, and black and white stamps after image binarization, etc. The stamp is placed on the paper, and in many cases, it covers the characters. Due to the influence of the stamp, ...

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): G06T7/11G06T7/136G06N3/04
Inventor 朱军民王勇康铁刚
Owner BEIJING YIDAO BOSHI 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