# US 2021/0174141 A1 · Visually-aware encodings for characters

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

- Number: US 2021/0174141 A1
- Document ID: US20210174141A1
- Status: Published application
- Kind: A1
- Application number: 16/704,940
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Johannes Hoehne; Marco Spinaci
- Web page: https://patentgrep.com/patent/US20210174141A1

## CPC

- G06V 10/82: using neural networks
- G06F 16/51: Indexing; Data structures therefor; Storage structures
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06V 30/19173: {Classification techniques}
- G06F 40/53: Processing of non-Latin text (kana-to-kanji conversion G06F40/129; vowelisation G06F40/232)
- G06V 30/293: {of characters other than Kanji, Hiragana or Katakana}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In some embodiments, a method inputs a set of images into a network and trains the network based on a classification of the set of images to one or more characters in a set of characters. The method obtains a set of encodings for the one or more characters based on a layer of the network that restricts the output of the layer to a number of values. Then, the method stores the set of encodings for the one or more characters, wherein an encoding in the set of encodings is retrievable when a corresponding character is determined.

## Claims

### Claim 1

A method comprising:
inputting, by a computing device, a set of images into a network;
training, by the computing device, the network based on a classification of the set of images to one or more characters in a set of characters;
obtaining, by the computing device, a set of encodings for the one or more characters based on a layer of the network that restricts an output of the layer to a number of values; and
storing, by the computing device, the set of encodings for the one or more characters, wherein an encoding in the set of encodings is retrievable when a corresponding character is determined.

### Claim 2 (depends on 1)

The method of claim 1, wherein a character in the set of characters comprises one or more glyphs.

### Claim 3 (depends on 1)

The method of claim 1, wherein a plurality of characters in the set of characters are based on a same glyph.

### Claim 4 (depends on 1)

The method of claim 1, wherein training the network comprises:
generating an output of a character for an image in the set of images; and
comparing the output of the character to a label for the image that assigns a character to the image.

### Claim 5 (depends on 4)

The method of claim 4, wherein training the network comprises:
adjusting one or more parameters in the network based on the comparing.

### Claim 6 (depends on 1)

The method of claim 1, wherein obtaining the set of encodings comprises:
restricting the output of the layer to a fixed dimension.

### Claim 7 (depends on 6)

The method of claim 6, wherein the fixed dimension is a target dimension of a length of the encodings in the set of encodings.

### Claim 8 (depends on 7)

The method of claim 7, wherein the fixed dimension is a number of a sequence of machine readable numbers for an encoding.

### Claim 9 (depends on 1)

The method of claim 1, wherein an encoding in the set of encodings comprises a sequence of binary numbers.

### Claim 10 (depends on 1)

The method of claim 1, wherein a plurality of characters that include a similar glyph are assigned similar encodings with a number of values that are in a same position with a same value.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
receiving an image;
classifying the image to a character; and
selecting an encoding from the set of encodings that corresponds to the character.

### Claim 12 (depends on 1)

The method of claim 1, wherein the layer is an internal layer in the network.

### Claim 13 (depends on 12)

The method of claim 12, wherein the network includes an output layer after the internal layer that outputs the classification.

### Claim 14 (depends on 1)

The method of claim 1, wherein the set of images are characters from a language.

### Claim 15 (depends on 14)

The method of claim 14, wherein the language is based on a logographic script.

### Claim 16

A non-transitory computer-readable storage medium having stored thereon computer executable instructions, which when executed by a computing device, cause the computing device to be operable for:
inputting a set of images into a network;
training the network based on a classification of the set of images to one or more characters in a set of characters;
obtaining a set of encodings for the one or more characters based on a layer of the network that restricts an output of the layer to a number of values; and
storing the set of encodings for the one or more characters, wherein an encoding in the set of encodings is retrievable when a corresponding character is determined.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein a plurality of characters in the set of characters are based on a same glyph.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein obtaining the set of encodings comprises:
restricting the output of the layer to a fixed dimension.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein a plurality of characters that include a similar glyph are assigned similar encodings with a number of values that are in a same position with a same value.

### Claim 20

An apparatus comprising:
one or more computer processors; and
a computer-readable storage medium comprising instructions for controlling the one or more computer processors to be operable for:
inputting a set of images into a network;
training the network based on a classification of the set of images to one or more characters in a set of characters;
obtaining a set of encodings for the one or more characters based on a layer of the network that restricts an output of the layer to a number of values; and
storing the set of encodings for the one or more characters, wherein an encoding in the set of encodings is retrievable when a corresponding character is determined.
