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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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