Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for segmenting text in pictures

A technology of pictures and text, applied in the computer field, can solve problems such as low efficiency

Inactive Publication Date: 2017-05-24
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention aims to provide a method and device for segmenting text in pictures to solve the above-mentioned problem of low efficiency due to manual cutting

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
  • Method and device for segmenting text in pictures
  • Method and device for segmenting text in pictures
  • Method and device for segmenting text in pictures

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and the embodiments. See figure 1 , Including the following steps:

[0018] S11: Draw a square area on the picture;

[0019] S12: Generate at least one extended line segment between the characters in adjacent rows and columns of the square area according to the width of the blank position to form a plurality of grids dividing the square area; wherein, both ends of the line segment Merge with any extended line segment or the edge of the square area;

[0020] S13: Adjust the position of the line segment according to the distance between the edge of each grid and the edge of the font in the grid;

[0021] S14: Divide the adjusted grid containing text.

[0022] Through the above process, the square area outlined on the picture can be quickly divided to obtain each word in the square area. Especially for ancient Chinese characters, that is, Chinese characters with different fo...

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 method and device for segmenting characters in a picture. The method comprises: drawing a square area in the picture; generating at least one extended line segment among characters in adjacent rows and columns in the square area according to the width of a blank position in order to form multiple grids segmenting the square area, wherein the two ends of the line segment is mixed with any extended line segment or side of the square area; adjusting the positions of the line segments according to the distance between sides of each grid and the edges of a character in the grid; segmenting the adjusted grids containing the characters. By means of the above process, the square area drawn in the picture can be quickly segmented such that the characters in the square areas are obtained. Especially in the case of ancient Chinese characters, namely characters with different sizes and shapes, the blanks between adjacent characters in the up and down direction are usually not in a same line because of the different heights of the characters. Thus, compared with a prior art, the method may obviously improve efficiency of segmenting such characters.

Description

Technical field [0001] The present invention relates to the field of computers, in particular to a method and device for segmenting characters in pictures. Background technique [0002] Chinese characters are an important tool to record and promote the history, cultural origin, evolution and development. The different evolution stages of writing in each era have rich historical, cultural and cultural backgrounds. [0003] With the deepening of informatization, it is necessary to sort out the characters of the historical ages. The range of Chinese characters to be sorted and studied covers ancient and modern, and the number is huge, and the types of characters that have evolved from ancient times to the present are endless. For example, Chinese characters can be divided into ancient Chinese characters, modern Chinese characters, calligraphy fonts, etc. The specific ancient Chinese characters can also be divided into oracle bone inscriptions, bronze inscriptions, Warring States char...

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): G06T11/60
Inventor 高玉军
Owner PEKING UNIV FOUNDER GRP CO LTD