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

Inactive Publication Date: 2021-05-14
江西博微新技术有限公司
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the object of the present invention is to provide a word processing method, system, readable storage medium and computer equipment, aiming to solve the problem of poor text processing effect in the prior art

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
  • Word processing method and system, readable storage medium and computer equipment
  • Word processing method and system, readable storage medium and computer equipment
  • Word processing method and system, readable storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

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 character processing method and system, a readable storage medium and computer equipment, and the method comprises the steps: obtaining an original character image, searching a target position of a to-be-restored character in the original character image, taking the target position as a center, intercepting an area with preset-size pixels, and obtaining a first to-be-restored character image; identifying an original character height in the first to-be-restored character image, creating a blank image having the same size as the first to-be-restored character image, and inputting to-be-restored characters having the same height as the original character in the blank image to obtain a second to-be-restored character image; inputting the first to-be-repaired character image and the second to-be-repaired character image into a trained generative adversarial network model to obtain a target image, the generative adversarial network model being used for migrating a character style in the first to-be-repaired character image to the second to-be-repaired character image; and extracting to-be-restored characters in the target image, and copying the to-be-restored characters to the target position.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a word processing method, system, readable storage medium and computer equipment. Background technique [0002] The purpose of making the scanned image old is to repair the damaged or contaminated text in the image. The user enters the corresponding text at the damaged text position, and the software can automatically convert the text style to make it consistent with the font style of the original text, thus Realize the old text. [0003] In the existing technology, the main solution to realize the old text is to artificially deduct the text that needs to be repaired from other images with the same font style, and achieve the purpose of text old by zooming, filtering and other operations; or pre-identify the image For all the text in the text, establish the corresponding relationship between the text and the image block (that is, one text corresponds to o...

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): G06T5/00G06T5/30G06K9/20G06K9/62
CPCG06T5/005G06T5/30G06T2207/20036G06T2207/20081G06T2207/30176G06V10/22G06F18/214
Inventor 于雪曾江佑江少锋熊慧江
Owner 江西博微新技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products