# US 2016/0259972 A1 · Complex background-oriented optical character recognition method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0259972 A1
- Document ID: US20160259972A1
- Status: Published application
- Kind: A1
- Application number: 15/032,167
- Filed: 2014-01-29
- Published: 2016-09-08
- Earliest claimed: 2013-11-08
- Assignees: GRG Banking Equipment Co., Ltd.
- Applicants: Grg Banking Equipment Co., Ltd.
- Inventors: Tiancai LIANG; Liangxu CHEN; Xingyu ZHAO
- Web page: https://patentgrep.com/patent/US20160259972A1

## CPC

- G06V 30/20: Combination of acquisition, preprocessing or recognition functions
- G06T 7/13: Edge detection
- G06T 7/194: involving foreground-background segmentation
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 20/62: Text, e.g. of license plates, overlay texts or captions on TV images
- G06V 30/153: {using recognition of characters or words}
- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06T 2207/20024: Filtering details
- G06V 30/10: Character recognition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A complex background-oriented optical character recognition method and device are provided. The method of the present invention includes: collecting image information to obtain a collected image; according to character characteristics, acquiring a target character region from the collected image, and taking same as a target object; extracting character edge information in the target object using a differential method to obtain an extracted image; superposing the target object and the extracted image to obtain a recovery image; conducting inversion and Gaussian filtration processing on the recovery image to obtain a processed image; searching for a target character location in the processed image; and recognizing the target character location. On this basis, accurate and quick locating and recognition of characters can be realized on the basis of effectively suppressing background noise and highlighting character information.

## Claims

### Claim 1

A complex background-oriented optical character recognition method, comprising:
capturing image information, to obtain a captured image;
acquiring a region of target characters from the captured image based on character characteristics as a target object;
extracting character edge information in the target object by using a differential method, to obtain an extracted image;
superposing the target object and the extracted image, to obtain a recovery image;
performing an inverse and a Gaussian filtering on the recovery image, to obtain a processed image;
searching for a location of the target characters in the processed image; and
recognizing the target characters.

### Claim 2 (depends on 1)

The complex background-oriented optical character recognition method according to claim 1, wherein, the capturing the image information comprises:
capturing image information with an image sensor.

### Claim 3 (depends on 2)

The complex background-oriented optical character recognition method according to claim 2, wherein the image sensor comprises:
a full frame contact image sensor.

### Claim 4 (depends on 1)

The complex background-oriented optical character recognition method according to claim 1, wherein, the extracting the character edge information in the target object by using the differential method comprises:
extracting the character edge information in the target object by using a Prewitt operator edge detection method.

### Claim 5 (depends on 1)

The complex background-oriented optical character recognition method according to claim 1, wherein, the searching for the location of the target characters in the processed image comprises:
determining a search box based on the character characteristics and the processed image; and
sliding the search box in the processed image continuously by a predetermined rule, calculating a sum of grayscales of pixels in the search box, and determining a location of the search box in which the sum of grayscales of pixels is the greatest to be the location of the target characters.

### Claim 6 (depends on 1)

The complex background-oriented optical character recognition method according to claim 1, wherein, the searching for the location of the target characters in the processed image comprises:
determining a search box based on the character characteristics and the processed image;
converting the processed image into an integral image; and
sliding the search box in the integral image continuously by a predetermined rule, calculating a sum of grayscales of pixels in the search box, and determining a location of the search box in which the sum of grayscales of pixels is the greatest to be the location of the target characters,
wherein a value of a point in the integral image is a sum of grayscales of all pixels in a rectangle region which has a diagonal from the top left corner of the processed image to the point.

### Claim 7

A complex background-oriented optical character recognition device, comprising:
a capture module, configured to capture image information, to obtain a captured image;
an acquisition module, configured to acquire a region of target characters from the captured image based on character characteristics as a target object;
an extracting module, configured to extract character edge information in the target object by using a differential method, to obtain an extracted image;
a superposing module, configured to superpose the target object and the extracted image, to obtain a recovery image;
a processing module, configured to perform an inverse and a Gaussian filtering on the recovery image, to obtain a processed image;
a search module, configured to search for a location of the target characters in the processed image; and
a recognition module, configured to recognize the location of the target characters.

### Claim 8 (depends on 7)

The complex background-oriented optical character recognition device according to claim 7, wherein, the search module comprises:
a first determination sub-module, configured to determine a search box based on the character characteristics and the processed image; and
a first processing sub-module, configured to slide the search box in the processed image continuously by a predetermined rule, calculate a sum of grayscales of pixels in the search box, and determine a location of the search box in which the sum of grayscales of pixels is the greatest to be the location of the target characters.

### Claim 9 (depends on 7)

The complex background-oriented optical character recognition device according to claim 7, wherein, the search module comprises:
a second determination sub-unit, configured to determine a search box based on the character characteristics and the processed image;
a conversion sub-unit, configured to convert the processed image into an integral image; and
a second processing sub-module, configured to slide the search box in the integral image continuously by a predetermined rule, calculate a sum of grayscales of pixels in the search box, and determine a location of the search box in which the sum of grayscales of pixels is the greatest to be the location of the target characters.
