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

Character boundary determining method and apparatus

A character boundary and determining method technology, applied in the field of character recognition, can solve problems such as low time complexity, and achieve the effects of low time complexity, solving the influence of boundary positioning, and simple method

Active Publication Date: 2017-06-23
SHENZHEN YIHUA COMP +2
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for determining character boundaries, which can solve the impact of stains on character boundary positioning, and can accurately locate character boundaries with low time complexity

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
  • Character boundary determining method and apparatus
  • Character boundary determining method and apparatus
  • Character boundary determining method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flow chart of the character boundary determination method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where there is a small piece of stain on the character picture and the stain does not affect character recognition. The method can be determined by the character boundary determination device For execution, the character boundary determination device may be an electronic device with calculation function and image processing function. Such as figure 1 As shown, the character boundary determination method includes the following steps S110 to S130.

[0022] Step S110, for the character grayscale image, calculate the grayscale difference between adjacent rows and adjacent columns.

[0023] In this step, the character grayscale image can be obtained by converting a color image into a grayscale image, for example, a grayscale image of a serial number of a banknote, a grayscale image of a license plate, a...

Embodiment 2

[0033] On the basis of the first embodiment above, this embodiment provides a preferred implementation manner of calculating the grayscale difference of adjacent lines, and determining the upper boundary and lower boundary of a character according to the grayscale difference of adjacent lines and the preset character height.

[0034] In this embodiment, the adjacent row grayscale difference can be calculated in the following ways:

[0035] (1) Calculate the gray level difference between the next line and the current line line by line. Wherein, gray scale difference values ​​may be calculated line by line from top to bottom. The grayscale difference between the next row and the current row refers to the grayscale value of the next row minus the grayscale value of the current row.

[0036] (2) Calculate the gray level difference between the current line and the next line line by line. Wherein, gray scale difference values ​​may be calculated line by line from top to bottom. T...

Embodiment 3

[0049] On the basis of the first and second embodiments above, this embodiment provides a preferred implementation method for calculating the grayscale difference between adjacent columns and determining the left boundary and right boundary of a character according to the grayscale difference between adjacent columns and the preset character width .

[0050] In this embodiment, the gray value difference between adjacent columns can be calculated in the following ways:

[0051] (1) Calculate the gray level difference between the next column and the current column column by column. Wherein, the gray difference values ​​may be calculated column by column from front to back. The grayscale difference between the next column and the current column refers to the grayscale value of the next column minus the grayscale value of the current column.

[0052] (2) Calculate the gray level difference between the current column and the next column column by column. Wherein, the gray differ...

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 embodiments of the invention disclose a character boundary determining method and apparatus. The method comprises the following steps that: an adjacent line grayscale difference value and an adjacent column grayscale difference value are calculated according to a character grayscale mp; the upper boundary and lower boundary of a character are determined according to the adjacent line grayscale difference value and a preset character height; and the left boundary and right boundary of the character are determined according to the adjacent column grayscale difference value and a preset character width. According to the character boundary determining method and apparatus provided by the embodiments of the invention, the four boundaries of the character can be determined through the adjacent line grayscale difference value, the adjacent column grayscale difference value and the preset character size, and the boundaries of the character can be positioned accurately, and influence on the positioning of the boundaries caused by small stains can be eliminated. The method is simple, does not need additional means to remove stains and is low in time complexity.

Description

technical field [0001] Embodiments of the present invention relate to character recognition technology, and in particular to a method and device for determining a character boundary. Background technique [0002] Character recognition technology is widely used in daily life, for example, banknote serial number recognition, license plate recognition, etc. Taking banknotes as an example, banknotes may be stained with varying degrees of stains during the circulation process. When the stains are in the serial number area, it will affect the accurate positioning of character boundaries, which may lead to recognition errors or even failure to recognize them. Fake poses certain difficulties. The existing banknote serial number recognition is mainly aimed at more than 70% new banknotes. In order to effectively identify the banknote serial number, in the process of serial number recognition, use computer vision technology and image processing technology to process the contaminated s...

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 Applications(China)
IPC IPC(8): G06K9/34
CPCG06V30/153
Inventor 唐辉平
Owner SHENZHEN YIHUA COMP