Correction Method of String Direction in Drawings Based on Joint Features

A joint feature and direction correction technology, applied in the field of image processing, can solve problems such as character distortion, distorting the original direction of characters, and difficulties in automatically extracting and identifying character strings, etc., to achieve the effect of making up for errors and accurate results

Active Publication Date: 2022-06-21
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The operation of character detection and string segmentation is likely to cause distortion of the shape of the character and distort the original direction of the character
[0005] (3) Character correction of label strings. In order to compactly arrange the layout in the drawing and facilitate the user's understanding, the character direction of the label string in the drawing is very flexible. Strings in all directions may exist, which allows the computer to automatically extract and recognize the marked characters string causing difficulty
[0009] The disadvantage of the tilt correction method based on the straight line detection of text lines is that the effect is not good for the more complex arrangements in engineering drawings that do not form text lines; the disadvantage of the tilt correction method based on corner points and projections is that the character arrangement in engineering drawings There may be multiple lines of misalignment, which cannot maintain good robustness; the disadvantage of the existing distortion correction method based on deep learning is that for engineering drawings, the characters have free direction rotation instead of distortion, so this method is not feasible. High, and deep learning training takes a long time, requiring a lot of resource overhead, not economical enough

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
  • Correction Method of String Direction in Drawings Based on Joint Features
  • Correction Method of String Direction in Drawings Based on Joint Features
  • Correction Method of String Direction in Drawings Based on Joint Features

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The specific embodiments of the present invention are described below to facilitate those skilled in the art to understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, as long as various changes Such changes are obvious within the spirit and scope of the present invention as defined and determined by the appended claims, and all inventions and creations utilizing the inventive concept are within the scope of protection.

[0032] refer to figure 1 , figure 1 A flow chart showing a method for string orientation correction in drawings based on joint features; as figure 1 As shown, the method S includes steps S1 to S8.

[0033] In step S1, the character string image to be corrected is obtained, and the minimum circumscribed rectangle of the connected domain of each character in the character string is extracted; the character string image obtained in this sch...

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 method for correcting the direction of character strings in drawings based on joint features. Randomly select two different points to calculate the direction angle of each character; calculate the side length ratio of the character according to the long side and short side of the smallest circumscribed rectangle of the character, and mark the characters whose side length ratio is greater than or equal to the preset threshold is the first type of character; based on the character Hu invariant moment, extract the moment feature of the first type of character, and according to the moment feature, use the trained SVM classifier to classify each character; update its direction angle according to the classification result; according to When the number of characters in the string is the same as the preset number, the main direction rotation angle of the string is obtained by using the K-means clustering algorithm or the arithmetic mean, and then the main direction rotation angle of the string is used to correct the main direction of the string.

Description

technical field [0001] The invention relates to image processing technology, in particular to a method for correcting the direction of character strings in drawings based on joint features. Background technique [0002] Common drawings include engineering drawings and mechanical drawings. Engineering drawings are an important basis for engineering design, construction and acceptance. Mechanical drawings are an important basis for the design, processing and quality inspection of mechanical parts. The character annotation in each type of drawing is a key data in the drawing. The foreground of the image in the drawing is complex, but the background is relatively simple, and there is no rich color information; the annotation strings are unevenly distributed, with different directions, and are interspersed in various positions of the image. Automatic extraction and recognition of character annotation strings can help people quickly identify, understand, and manage drawings, as...

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): G06V30/146G06V10/774G06V10/764G06V30/19G06V10/762G06K9/62
CPCG06V30/1478G06F18/23213G06F18/2413G06F18/2411G06F18/214
Inventor 伍瑞卿杨继豪张琳琳陈伟顾庆水
Owner UNIV OF ELECTRONICS SCI & TECH 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