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

Document image processing method, storage medium and computing device

A document image and processing method technology, applied in computing, computer parts, character and pattern recognition, etc., can solve the problems of background grayscale monotony, bad effect, unable to remove light and dark changes, etc.

Active Publication Date: 2019-10-01
SOUTH CHINA NORMAL UNIVERSITY
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the background grayscale of the document image is relatively monotonous, histogram equalization can lead to very bad results
The Retinex algorithm and gamma correction can increase the contrast, but cannot remove the light and dark changes caused by uneven lighting, and can only slightly increase the brightness of the shadow area to improve its readability
This type of algorithm is not suitable for the uneven illumination compensation of document images. Therefore, a new uneven illumination compensation method must be proposed according to the characteristics of document images to solve the problems of uneven illumination and shadows in document images.
In the process of removing the background, the current binarization segmentation method is sensitive to the contrast of the image, and it is easy to cause the text after segmentation to be interrupted and not smooth.

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
  • Document image processing method, storage medium and computing device
  • Document image processing method, storage medium and computing device
  • Document image processing method, storage medium and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] The invention discloses a document image processing method, such as figure 1 shown, including the following steps:

[0085] Step S1, acquiring the original document image, extracting the edge of the document area of ​​the original document image, and obtaining the first document area image.

[0086] Wherein, the original document image is an RGB image obtained by shooting the document with a camera, and the camera may specifically be a camera on a mobile device such as a mobile phone, or a camera of other devices such as a camera. In this embodiment, the original document image is captured by the camera of the mobile phone, and the resolution of the original document image is 1440×1080.

[0087] In this step, the specific process of extracting the edge of the original document image document area is as follows:

[0088] Step S11, converting the original document image I1 into a grayscale image I2.

[0089] Step S12, select the maximum value of the width and height of...

Embodiment 2

[0150] This embodiment discloses a document image processing method, including the following steps:

[0151] (1) Acquiring the original document image; in this embodiment, the original document image is an RGB image obtained by shooting the document with a camera, and the camera may specifically be a camera on a mobile device such as a mobile phone, or a camera of other devices such as a camera. In this embodiment, the original document image is captured by the camera of the mobile phone, and the resolution of the original document image is 1440×1080.

[0152] (2) performing brightness correction on the original document image; in this embodiment, the steps of performing brightness correction on the original document image are as follows:

[0153] Step S31, first convert the image to be brightness-corrected, that is, the original document image, into a grayscale image I7;

[0154] Step S32 , performing Gaussian filtering on the grayscale image I7 to obtain the grayscale image...

Embodiment 3

[0183] This embodiment discloses a document image processing method, including the following steps:

[0184](1) Acquiring the original document image; in this embodiment, the original document image is an RGB image obtained by shooting the document with a camera, and the camera may specifically be a camera on a mobile device such as a mobile phone, or a camera of other devices such as a camera. In this embodiment, the original document image is captured by the camera of the mobile phone, and the resolution of the original document image is 1440×1080.

[0185] (2) Brightness correction is performed on the original document image, and the brightness-corrected image is directly used as an output target document region image. In this example,

[0186] In this embodiment, the steps of performing brightness correction on the original document image are as follows:

[0187] Step S31, first convert the image to be brightness-corrected, that is, the original document image, into a gr...

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 document image processing method, a storage medium and a computing device, and the method comprises the steps: firstly obtaining an original document image, extracting the document area edge of the original document image, and obtaining a first document area image; performing deformation correction on the first document area image to obtain a second document area image; performing brightness correction on the second document area image to obtain a third document area image; removing the document background color of the third document area image, and outputting a target document area image. The document area in the original document image can be accurately extracted, the document area image with the straight document area, uniform brightness and clear foreground characters is obtained, and the readability of the document area image can be improved.

Description

technical field [0001] The invention relates to the technical field of digital image processing, in particular to a document image processing method, a storage medium and a computing device. Background technique [0002] Under the background that Internet office technology has become the mainstream of office, more and more office scenarios need to store paper documents into document images. Due to the lack of portability of scanners and high timeliness requirements for data transmission, it is convenient to use mobile phones to take pictures of paper documents. In the process of using mobile phones to convert paper documents into document images, because the accuracy of manual shooting is not as high as that of scanners, and the ambient light is not ideal during actual shooting, there are many deficiencies in the quality of the captured document images, such as The background area outside the edge of the document, the inclination of the shooting angle cause the deformation ...

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/00G06K9/46
CPCG06V30/40G06V10/44G06V10/56
Inventor 马琼雄陈叶珅张庆茂郭亮
Owner SOUTH CHINA NORMAL UNIVERSITY
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