Supercharge Your Innovation With Domain-Expert AI Agents!

Text image correction method, device and computer-readable storage medium

A correction method and text image technology, applied in the field of image processing, can solve the problems of easy bending of book pages, distorted text, and skewed text, and achieve the effect of accurate distortion correction.

Active Publication Date: 2022-08-02
BEIJING YIZHEN XUESI EDUCATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of recognizing the text content in the image, since the image may be a photograph or handwritten text, if the text object is not facing the camera, the text in the image may be skewed. The text object is bent, for example, the part of the book page near the binding side is easy to bend, which may cause the text in the image to be distorted, because the text in the image is skewed or distorted, resulting in low recognition accuracy for the text in the image

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
  • Text image correction method, device and computer-readable storage medium
  • Text image correction method, device and computer-readable storage medium
  • Text image correction method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] The first embodiment of the present application provides a text image correction method, such as figure 1 shown, figure 1 This is a flowchart of an image text correction method provided in an embodiment of the present application. The image correction method in this paper includes the following steps:

[0048] 101. Detect the target image, and determine at least two text blocks.

[0049] The target image is any image, and the target image here is only used to represent the singular, and does not have any limitation. For example, a scanned image of an exam paper, a photograph taken, a signed document, etc.

[0050] Optionally, in one embodiment of the present application, a neural network can be used to detect the target image, and at least two text blocks can be directly determined; in another embodiment of the present application, the target image is detected, and at least two text blocks are determined. The two text blocks include: determining the text area in the...

Embodiment 2

[0113] The embodiment of the present application provides an electronic device, and the embodiment of the present application provides an electronic device, such as Figure 7 shown, Figure 7 A structural diagram of an electronic device provided in an embodiment of the present application, the electronic device 70 includes: at least one processor 701; a memory 702, the memory stores at least one program 712, at least one processor 701 is electrically connected to the memory 702, and when When the at least one program is executed by the at least one processor 701, the at least one processor 701 implements the method described in the first embodiment.

[0114] Optionally, in an embodiment of the present application, the electronic device 70 further includes: a bus 703 and a communication interface 704 , at least one processor 701 , a memory 702 and the communication interface 704 are connected and communicated with each other through the bus 703 .

Embodiment 3

[0116] Based on the text image correction method described in the first embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, implements the method described in the first embodiment. method.

[0117] The electronic devices in the embodiments of the present application exist in various forms, including but not limited to:

[0118] (1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions, and its main goal is to provide voice and data communication. Such terminals include: smart phones (eg iPhone), multimedia phones, functional phones, and low-end phones.

[0119] (2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has the characteristics of mobile Internet access. Such...

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

Embodiments of the present application provide a text image correction method, device, and computer-readable storage medium. The text image correction method includes: detecting a target image, and determining at least two text blocks; in the at least two text blocks At least one pair of text blocks that are adjacent to each other is determined, and each pair of text blocks in the at least one pair of text blocks is merged to determine at least one text line; the at least one text line is corrected. Because the text line is determined by using the bidirectional matching relationship of the adjacent text blocks, the distortion correction of the text line is more accurate.

Description

technical field [0001] The embodiments of the present application relate to the field of image processing, and in particular, to a text image correction method, device, and computer-readable storage medium. Background technique [0002] With the development of science and technology, the recognition of text content in images has become more and more widely used in life and work. For example, in the application scenario of online teaching, students upload handwritten homework pictures or exam papers, and the computer automatically corrects them. The text content is recognized; for another example, in the scenario of automatic verification of the certificate / certificate, the text content in the image of the certificate / certificate also needs to be recognized. In the process of recognizing the text content in the image, since the image may be a photograph or handwritten text, if the text object is not facing the camera, the text in the image may be skewed. Text objects are ben...

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): G06V30/146G06V20/62G06V30/162
CPCG06V30/1478G06V20/62G06V10/28
Inventor 项宇泽高佳妮何小坤
Owner BEIJING YIZHEN XUESI EDUCATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More