Text image direction correction method and device

A direction correction, text image technology, applied in the field of data processing, can solve the problems of complex, single, and many types of models, and achieve the effect of improving accuracy and efficiency

Pending Publication Date: 2020-06-30
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The more common method of traditional image processing is the Fourier transform method. First, the tilt angle of the image is checked in the frequency domain, and then corrected. This method can only detect the relative value of the text rotation direction, and cannot identify the specific rotation. direction, so it is impossible to recognize text rotated 90 degrees and 270 degrees, or 0 degrees and 180 degrees; and deep learning is to recognize tilted pictures through neural network training, and to recognize pictures with a certain type of angle. This method requires a lot of data For training, and the unified data is only suitable for a single scene, and classify each angle at the same time, more types are required, the model is very complicated, and has no practical application value

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 direction correction method and device
  • Text image direction correction method and device
  • Text image direction correction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0040] When applying deep learning methods to rectify and rectify text images with oblique angles, each single scene requires a large amount of data support and frequent iterations. Based on this, in order to reduce the complexity of text image orientation correction and realize text image orientation correction quickly and accurately, this application conside...

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 provides a text image direction correction method and device, and the method comprises the steps: intercepting a pixel block of a target printed single character from a target text imageaccording to a preset interception rule, and generating a printed character matrix corresponding to the pixel block; respectively obtaining a first dimension reduction vector corresponding to the printing word matrix and a second dimension reduction vector corresponding to the rotated printing word matrix by applying a preset principal component analysis model, wherein the principal component analysis model is an unsupervised machine learning model which is obtained by pre-training and is used for determining the characteristics of the printing word matrix; obtaining a target row vector corresponding to the first dimension reduction vector from a pre-obtained feature vector library, and obtaining an inclination angle and an inclination direction of a target text image according to the first dimension reduction vector, the second dimension reduction vector and the target row vector so as to correct the direction of the target text image. The accuracy and efficiency of recognizing the inclination angle of the text image can be improved, and then the accuracy and efficiency of text image direction correction are improved.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a text image orientation correction method and device. Background technique [0002] In many machine vision scenarios, such as target recognition and text detection, the general model can better recognize text images with normal text orientation, that is, text images whose text orientation is parallel to the horizontal axis of the reference coordinate system, but for oblique angles For text image samples, the error rate of model recognition will increase significantly, so the direction of the text image needs to be corrected before inputting it into the model. [0003] Text orientation correction is generally divided into traditional image processing and deep learning. The more common method of traditional image processing is the Fourier transform method. First, the tilt angle of the image is checked in the frequency domain, and then corrected. This method can ...

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/32G06N20/00
CPCG06N20/00G06V10/243Y02D10/00
Inventor 杨宇喆强锋
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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