Word processing method and system, readable storage medium and computer equipment
A word processing and text technology, applied in the fields of systems, readable storage media, computer equipment, and word processing methods, and can solve problems such as poor text processing effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] see figure 1 , shows the word processing method in the first embodiment of the present invention, the method includes steps S10-S13.
[0065] In step S10, the original text image is obtained, and the target position of the text to be repaired is searched in the original text image, and the target position is taken as the center, and an area of a preset pixel size is intercepted to obtain a first text image to be repaired.
[0066] The original text image is a scanned image obtained by scanning a paper document (such as an examination paper, an assignment, etc.) by a scanning device or a photographed image obtained by taking a photo of the paper document through an imaging device (such as a camera), or an image directly downloaded from a website.
[0067] When performing text restoration, the target position of the text to be repaired can be found in the original text image, and the target position is taken as the center to intercept an area of preset size pixels, fo...
Embodiment 2
[0079] see image 3 , is the word processing method in the second embodiment of the present invention, including steps S20-S25.
[0080] In step S20, the original text image is acquired, and the target position of the text to be repaired is searched in the original text image, and the target position is taken as the center, and an area of a preset pixel size is intercepted to obtain a first text image to be repaired.
[0081] Step S21, judging whether the target position contains the text to be repaired, if not, execute step S22, if yes, execute step S23
[0082] Step S22, intercepting the original text image into a plurality of regions of pixels of the preset size, traversing the regions of pixels of the preset size, and when it is determined that the region of pixels of the preset size contains the area to be When repairing text, it is determined that the current region of the preset pixel size is the first text image to be repaired.
[0083] Specifically, black and whit...
Embodiment 3
[0091] see Figure 4 , is the word processing system in the third embodiment of the present invention, comprising:
[0092] The acquiring module 100 is configured to acquire an original text image, and search for a target position of the text to be repaired in the original text image, and take the target position as the center, intercept an area of preset size pixels, and obtain a first text image to be repaired ;
[0093] The identification module 200 is configured to identify the height of the original text in the first text image to be repaired, create a blank image with the same size as the first text image to be repaired, and input the original text in the blank image The text to be repaired with the same height obtains the second image of the text to be repaired;
[0094] The generating module 300 is configured to input the first text image to be repaired and the second text image to be repaired into a trained generative confrontational network model to obtain a targ...
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