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

A text image rotation correction method and system

A text image, rotation correction technology, applied in the direction of instrument, calculation, character and pattern recognition, etc., can solve the problem of unreliable edge correction, unreliability, etc., to achieve more robust rotation angle, stable rotation angle, calculation Simple and efficient effects

Active Publication Date: 2021-08-03
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF13 Cites 0 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
  • A text image rotation correction method and system
  • A text image rotation correction method and system
  • A 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] Such as 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. Such as 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 ...

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. Such as 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]...

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 text image rotation correction method at least includes: preprocessing the text image to be corrected to generate a binarized image; performing connected domain analysis on the binarized image to generate a character area , and extract the text line direction angle on the character area map; according to the text line direction angle, generate a text line angle histogram; according to the text line angle histogram, calculate the to-be-rotated angle of the text image to be corrected; according to the to-be-rotated angle, the The text image to be corrected is rotated and corrected. The present invention extracts the direction of the text line through the text aggregation characteristics in the image, and calculates the rotation angle. Compared with the situation where the edge of a single character area is unstable in the existing method, the rotation angle calculated by this method is more stable and more robust. Rodness, so as to obtain a more ideal corrected image, and the text image rotation correction method is simple and efficient in calculation, and can run even on smart terminals with average computing power.

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
Patent Type & Authority Patents(China)
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