# US 9,355,336 B1 · Recognizing text from frames of image data using contextual information

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

- Number: US 9,355,336 B1
- Document ID: US9355336B1
- Status: Granted
- Kind: B1
- Application number: 14/259,905
- Filed: 2014-04-23
- Granted: 2016-05-31
- Earliest claimed: 2014-04-23
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Sonjeev Jahagirdar; Matthew Joseph Cole; David Paul Ramos; Utkarsh Prateek; Emilie Noelle McConville; Ankur Datta; Laura Varnum Finney; Yue Liu; Bhavesh Anil Doshi; Avnish Sikka; Michael Vanne
- Web page: https://patentgrep.com/patent/US9355336B1

## CPC

- G06V 10/95: {structured as a network, e.g. client-server architectures}
- G06F 18/21: Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06V 30/268: {Lexical context}
- G06V 30/10: Character recognition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are techniques for recognizing text from one or more frames of image data using contextual information. In some implementations, image data including a captured textual item is processed to identify an entity in the image data. A context can be selected using the entity, where the context corresponds to a dictionary. Text in the captured textual item can be identified using the dictionary. The identified text can be output to a display device.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing instructions executable by one or more processors of a server to cause a method to be performed for recognizing text from one or more frames of image data, the method comprising:
receiving, from a device in communication with the server via a network, image data including a captured textual item, the image data corresponding to at least a portion of a first frame of video data;
identifying an entity in the image data;
identifying a plurality of contexts using the entity, each context identifying one or more of a document, a product, or a service, each context corresponding to one or more of a plurality of dictionaries stored in a database;
generating a respective confidence level for each context according to a comparison of the entity with each context of the plurality of contexts;
identifying one or more contexts of the plurality of contexts as being related contexts to the entity, the respective confidence level for each related context of the related contexts satisfying a threshold;
selecting one or more of the dictionaries corresponding to the one or more related contexts;
determining an identified text in the captured textual item using the selected one or more dictionaries; and
sending the identified text to the device.

### Claim 2 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein identifying the text in the captured textual item comprises:
identifying a glyph in the captured textual item;
identifying a plurality of characters as candidates for recognition of the glyph;
determining a likelihood associated with each candidate according to words of a selected dictionary corresponding to one or more of the related contexts; and
selecting one of the candidates as having a highest one of the likelihoods.

### Claim 3 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the one or more contexts comprise a type of object, a type of a product, or a menu for a type of cuisine.

### Claim 4 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the entity comprises one or more of text, an icon, a drawing, a picture, or a photograph.

### Claim 5

One or more server devices comprising:
one or more processors operable to:
receive, from a client device in communication with a server device via a network, image data including a captured textual item;
identify an entity in the image data;
identify one or more contexts using the entity;
generate a confidence level for a context of the one or more contexts;
select the context from the one or more contexts, the confidence level satisfying a threshold, the context corresponding to a dictionary;
identify a first text in the captured textual item using the dictionary; and
send the first text to the client device.

### Claim 6 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to identify the entity in the image data by:
performing optical character recognition on the image data.

### Claim 7 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to identify the first text in the captured textual item by:
performing optical character recognition on the captured textual item using an optical character recognition model and the dictionary.

### Claim 8 (depends on 7)

The one or more server devices of claim 7, wherein the one or more processors are further operable to perform optical character recognition on the captured textual item using the optical character recognition model by:
selecting one or more words of the dictionary according to relative likelihoods of the words.

### Claim 9 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to:
identify a second text in the captured textual item without using the dictionary; and
correct the second text using the dictionary.

### Claim 10 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to identify the text in the captured textual item by:
identifying a glyph in the captured textual item;
identifying a plurality of characters as candidates for recognition of the glyph;
determining a likelihood associated with each candidate according to words of the dictionary; and
selecting one of the candidates as having a highest one of the likelihoods.

### Claim 11 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to:
generate a confidence level for the context; and
select the context using the confidence level.

### Claim 12 (depends on 5)

The one or more server devices of claim 5, wherein the one or more processors are further operable to:
retrieve data related to the identified text; and
send the data to the client device.

### Claim 13 (depends on 12)

The one or more server devices of claim 12, wherein the data identifies one or more of an application, a cloud-based service, or a website.

### Claim 14 (depends on 5)

The one or more server devices of claim 5, wherein the client device is capable of displaying at least a portion of the first text on a display, the at least a portion of the first text being actionable to cause a computing event to occur.

### Claim 15 (depends on 14)

The one or more server devices of claim 14, wherein the one or more processors are further operable to:
receive, from the client device, second image data;
identify a second entity in the second image data; and
select the context from the plurality of contexts using the second entity.

### Claim 16 (depends on 5)

The one or more server devices of claim 5, wherein the context comprises a type of object, a type of a product, or a menu for a type of cuisine.

### Claim 17 (depends on 5)

The one or more server devices of claim 5, wherein the image data corresponds to at least a portion of a first frame of video data.

### Claim 18

A method comprising:
receiving, at a computing device, image data including a captured textual item;
identifying an entity in the image data;
identifying one or more contexts using the entity;
generating a confidence level for a context of the one or more contexts;
selecting the context from the one or more contexts, the confidence level satisfying a threshold, the context corresponding to a dictionary;
identifying text in the captured textual item using optical character recognition and the dictionary; and
providing the text to a display device.

### Claim 19 (depends on 18)

The method of claim 18, wherein the context comprises a type of object, a type of a product, or a menu for a type of cuisine.

### Claim 20 (depends on 18)

The method of claim 18, wherein the dictionary includes words corresponding to one or more products.

### Claim 21 (depends on 18)

The method of claim 18, further comprising:
receiving second image data; and
wherein selecting the context comprises analyzing the second image data.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
performing optical character recognition on the captured textual item using an optical character recognition model and the dictionary.
