# US 10,956,729 B2 · Data processing apparatus and method, and non-transitory computer readable medium

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

- Number: US 10,956,729 B2
- Document ID: US10956729B2
- Status: Granted
- Kind: B2
- Application number: 16/035,371
- Filed: 2018-07-13
- Published: 2019-01-24
- Granted: 2021-03-23
- Earliest claimed: 2017-07-20
- Assignees: Toshiba Tec Kabushiki Kaisha
- Applicants: Toshiba Tec Kabushiki Kaisha
- Inventors: Atsushi Okamura
- Web page: https://patentgrep.com/patent/US10956729B2

## CPC

- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06K 7/1413: {1D bar codes}
- G06Q 20/208: {Input by product or record sensing, e.g. weighing or scanner processing}
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

In accordance with an embodiment, a data processing apparatus includes a memory configured to store a determination table, a camera configured to image a commodity package, and a processor. The processor is configured to extract an area having a predetermined shape from the imaged commodity package, recognize characters in the extracted area; determine whether the recognized characters meet a criterion described in the determination table, and output the recognized characters to a display or a printer connected to the data processing apparatus when the recognized characters meet the criterion.

## Claims

### Claim 1

A data processing apparatus, comprising:
a display;
a printer;
a memory that stores a pattern of characters representing commodify information about a commodity sold at a store;
a camera configured to image a commodity package; and
a processor configured to:
upon receipt of an image of a commodity package from the camera, determine whether an object having a rectangular shape is included in the image;
upon determining that an object having a rectangular shape is included in the image,
determine whether the object includes a first image of characters arranged parallel to one side of the object,
upon determining that the object includes the first image, extract the first image from the received image and recognize the characters included in the first image;
determine whether the recognized characters match the pattern stored in the memory; and
when the recognized characters match the pattern, output the recognized characters to either or both of the display and the printer.

### Claim 2 (depends on 1)

The data processing apparatus according to claim 1, wherein
the recognized characters are output together with a label corresponding to the recognized characters.

### Claim 3 (depends on 1)

The data processing apparatus according to claim 1, further comprising:
a scanner configured to scan a code printed on the commodity package, wherein
the code is scanned before the commodity package is imaged.

### Claim 4 (depends on 3)

The data processing apparatus according to claim 3, wherein the processor is further configured to:
register the scanned code in the memory and calculate a payment amount, and
modify the payment amount based on whether the recognized characters indicate an expiration date that is a predetermined days after the current date.

### Claim 5 (depends on 4)

The data processing apparatus according to claim 4, wherein the processor is further configured to, when the recognized characters indicate an expiration date that is prior to the current date, cancel the registration of the scanned code.

### Claim 6 (depends on 1)

The data processing apparatus according to claim 1, wherein
the processor is configured to cause the printer to print the recognized characters on a receipt.

### Claim 7 (depends on 1)

The data processing apparatus according to claim 1, wherein
the processor is configured to cause the display to display the recognized characters.

### Claim 8 (depends on 1)

The data processing apparatus according to claim 1, wherein
the pattern of characters is defined for a single customer.

### Claim 9 (depends on 1)

The data processing apparatus according to claim 1, wherein
the pattern of characters is defined for a plurality of customers.

### Claim 10 (depends on 1)

The data processing apparatus according to claim 1, wherein
the recognized characters indicate an expiration date of a commodity, and
when the expiration date is reached, the processor is configured to output a warning to be displayed on the display.

### Claim 11 (depends on 1)

The data processing apparatus according to claim 1, wherein
the pattern of characters is defined to detect characters representing an allergen contained in a commodity, and
when the recognized characters match the pattern, the processor is configured to output a warning to be displayed on the display.

### Claim 12

A method performed by a data processing apparatus including a memory, a display, and a printer, the method comprising:
storing in the memory a pattern of characters representing commodity information about a commodity sold at a store;
imaging a commodity package with a camera;
determining whether an object having a rectangular shape is included in the image; and
upon determining that an object having a rectangular shape is included in the image:
determining whether the object includes a first image of characters arranged parallel to one side of the object,
upon determining that the object includes the first image, extract the first image from the received image and recognizing the characters included in the first image;
determining whether the recognized characters match the pattern stored in the memory; and
when the recognized characters match the pattern, outputting the recognized characters to either or both of the display and the printer.

### Claim 13 (depends on 12)

The method according to claim 12, wherein
the recognized characters are output together with a label corresponding to the recognized characters.

### Claim 14 (depends on 12)

The method according to claim 12, further comprising:
scanning a code printed on the commodity package before the commodity package is imaged.

### Claim 15 (depends on 14)

The data processing method according to claim 14, further comprising:
registering the scanned code in the memory and calculating a payment amount; and
modifying the payment amount based on whether the recognized characters indicate an expiration date that is a predetermined days after the current date.

### Claim 16 (depends on 15)

The data processing method according to claim 15, further comprising:
when the recognized characters indicate an expiration date that is prior to the current date, cancelling the registration of the scanned code.

### Claim 17 (depends on 12)

The method according to claim 12, further comprising:
printing the recognized characters on a receipt.

### Claim 18

A non-transitory computer readable medium storing a program causing a computer to execute process comprising:
storing in a memory a pattern of characters representing commodity information about a commodity sold at a store;
imaging a commodity package with a camera;
determining whether an object having a rectangular shape is included in the image; and
upon determining that an object having a rectangular shape is included in the image:
determining whether the object includes a first image of characters arranged parallel to one side of the object,
upon determining that the object includes the first image, extract the first image from the received image and recognizing the characters included in the first image;
determining whether the recognized characters match the pattern stored in the memory; and
when the recognized characters match the pattern, outputting the recognized characters to either or both of a display and a printer.

### Claim 19 (depends on 18)

The non-transitory computer readable medium according to claim 18, wherein the process further comprises:
scanning a code printed on the commodity package before the commodity package is imaged,
registering the scanned code in the memory and calculating a payment amount, and
modifying the payment amount based on whether the recognized characters indicate an expiration date that is a predetermined days after the current date.

### Claim 20 (depends on 19)

The non-transitory computer readable medium according to claim 19, wherein the process further comprises, when the recognized characters indicate an expiration date that is prior to the current date, cancelling the registration of the scanned code.
