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

A character boundary determination method and device

A character boundary and determination method technology, applied in the field of character recognition, can solve the problem of low time complexity, achieve low time complexity, simple method, and solve the effect of boundary positioning

Active Publication Date: 2020-06-09
SHENZHEN YIHUA COMP +2
View PDF7 Cites 0 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
  • A character boundary determination method and device
  • A character boundary determination method and device
  • A character boundary determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flowchart of the character boundary determination method provided by the first embodiment of the present invention. This embodiment can be applied to the situation where there is a small smudge on the character picture and the smudge does not affect the character recognition. The method can be implemented by the character boundary determination device Execution, the character boundary determination device may be an electronic device with computing function and image processing function. Such as figure 1 As shown, the method for determining the character boundary includes the following steps S110 to S130.

[0022] Step S110, for the character grayscale image, calculate the grayscale difference of adjacent rows and the grayscale difference of 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 the serial number of a banknote, a grayscale ima...

Embodiment 2

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

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

[0035] (1) Calculate the gray difference between the next line and the current line line by line. Among them, the grayscale difference can be calculated row by row from top to bottom. The gray value difference between the next line and the current line refers to the gray value of the next line minus the gray value of the current line.

[0036] (2) Calculate the gray difference between the current line and the next line line by line. Among them, the grayscale difference can be calculated row by row from top to bottom. The gray value difference between t...

Embodiment 3

[0049] On the basis of the first and second embodiments above, this embodiment provides a preferred embodiment for calculating the gray difference of neighboring columns, and determining the left and right boundaries of characters according to the gray difference of neighbors and the preset character width. .

[0050] In this embodiment, the grayscale difference of neighboring columns can be calculated in the following ways:

[0051] (1) Calculate the gray difference between the next column and the current column column by column. Among them, the grayscale difference can be calculated column by column from the front to the back. The gray value difference between the next column and the current column refers to the gray value of the next column minus the gray value of the current column.

[0052] (2) Calculate the gray difference between the current column and the next column column by column. Among them, the grayscale difference can be calculated column by column from the front to...

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 embodiment of the present invention discloses a character boundary determination method and device, wherein the method includes: calculating the gray scale difference of adjacent lines and the gray scale difference of adjacent columns for the character gray scale image; Let the height of the character determine the upper boundary and the lower boundary of the character; determine the left boundary and the right boundary of the character according to the gray difference of adjacent columns and the preset character width. According to the technical solution of the embodiment of the present invention, the four borders of the character are determined by the gray scale difference of adjacent lines, the gray scale difference of adjacent columns and the preset character size, which can accurately locate the character border and solve the influence of small stains on border positioning , and the method is simple, no need to use additional means to remove stains, and the time complexity is low.

Description

Technical field [0001] The embodiments of the present invention relate to character recognition technology, and in particular to a method and device for determining character boundaries. Background technique [0002] Character recognition technology is widely used in daily life, such as banknote serial number recognition and license plate recognition. Take banknotes as an example. Banknotes may be stained with different degrees of stains during the circulation process. When the stains are in the serial number area, it will affect the accurate positioning of the character boundary, which may lead to recognition errors or even failure to recognize. Pseudo brings certain difficulties. The existing banknote serial number recognition is mainly for banknotes that are more than 70% new. In order to effectively identify the banknote serial number, in the serial number recognition process, computer vision technology and image processing technology are used to process the contaminated ser...

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/34
CPCG06V30/153
Inventor 唐辉平
Owner SHENZHEN YIHUA COMP