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

Text image rotation correction method and system

A text image, rotation correction technology, used in instruments, character and pattern recognition, computer parts and other directions, can solve problems such as unreliability and inability to produce reliable edge correction, and achieve the effect of simple and efficient calculation

Active Publication Date: 2019-07-09
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF13 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These edge-based image correction methods often produce unreliable results, mainly because the stability of edge extraction is affected by factors such as cluttered background, lighting, blur, etc., resulting in the inability to produce reliable edges for subsequent correction.

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 rotation correction method and system
  • Text image rotation correction method and system
  • Text image rotation correction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] figure 1 It is a flow chart of a text image rotation correction method provided by Embodiment 1 of the present invention. This embodiment is applicable to computer vision technology, especially the scene of text image rotation correction, and the method can be executed by a text image rotation correction system.

[0075] like figure 1 As shown, the method specifically includes:

[0076] S1. Preprocessing the text image to be corrected to generate a binarized image.

[0077] In this embodiment, the text image is an image mainly based on Chinese characters. In this embodiment, the figure 2 As the text image to be corrected, it is rotated and corrected to illustrate the text image rotation correction method. like figure 2 As shown in the figure, there is a certain angle of rotation in the clockwise direction during the shooting process, and the Chinese characters in the text image have a certain inclination as a whole, so it needs to be corrected by processing the te...

Embodiment 2

[0118] In order to implement the text image rotation correction method in the first embodiment above, this embodiment provides a text image rotation correction system.

[0119] Figure 7 It is a schematic structural diagram of a text image rotation correction system provided by Embodiment 2 of the present invention. like Figure 7 As shown, the text image rotation correction system includes:

[0120] Preprocessing module 1: used to preprocess the text image to be corrected to generate a binarized image;

[0121] The first processing module 2: for performing connected domain analysis on the binarized image, generating a character region map, and extracting text line direction angles from the character region map;

[0122] Generating module 3: for generating a text line angle histogram according to the text line direction angle;

[0123] The second processing module 4: for calculating the rotation angle of the text image according to the text line angle histogram;

[0124] Co...

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 text image rotation correction method and system. The method at least comprises the steps: carrying out the preprocessing of a to-be-corrected text image, and generating a binary image; performing connected domain analysis on the binary image to generate a character region graph, and extracting a text line direction angle on the character region graph; generating a text line angle histogram according to the text line direction angle; calculating a to-be-rotated angle of the to-be-corrected text image according to the text line angle histogram; and according to the to-be-rotated angle, rotationally correcting the to-be-corrected text image. By text aggregation characteristic in the image, directions of text lines are extracted and a rotation angle is calculated. Compared with the situation that the edge of a single character area is unstable when used in an existing method, the rotation angle calculated through the method is more stable and more robust, then amore ideal corrected image is obtained, and the text image rotation correction method is simple and efficient in calculation and can operate even on an intelligent terminal with the common calculationcapability.

Description

technical field [0001] The invention relates to the technical field of text image processing, in particular to a text image rotation correction method and system. Background technique [0002] Optical character recognition (OCR) refers to the process in which an electronic device (such as a scanner or a digital camera) examines characters printed on paper, determines their shape by detecting dark and light patterns, and then uses character recognition methods to translate the shape into computer text; That is, for printed characters, the text in the paper document is optically converted into a black and white dot matrix image file, and the text in the image is converted into a text format by recognition software for further editing and processing by word processing software . [0003] The general process of OCR includes image preprocessing, text detection, and text recognition. As a necessary link in preprocessing, text image rotation correction will directly affect the re...

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/32
CPCG06V10/242G06V10/243
Inventor 邱君华李宏宇
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
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