# US 2022/0292292 A1 · Apparatus and method for recognizing formalized character set based on weakly supervised localization

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

- Number: US 2022/0292292 A1
- Document ID: US20220292292A1
- Status: Published application
- Kind: A1
- Application number: 17/520,798
- Filed: 2021-11-08
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Bum-Suk CHOI
- Web page: https://patentgrep.com/patent/US20220292292A1

## CPC

- G06V 20/62: Text, e.g. of license plates, overlay texts or captions on TV images
- G06V 30/245: {Font recognition}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06V 10/82: using neural networks
- 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

Disclosed herein are an apparatus and a method for recognizing a formalized character set based on weakly supervised localization. The formalized character set recognition apparatus based on weakly supervised localization may include memory for storing at least one program; and a processor for executing the program, wherein the program performs recognizing one or more numerals present in a formalized character set image and a number of appearances of each of the numerals, extracting a class activation map in which a location of attention in the formalized character set image is indicated when a specific numeral is recognized, and outputting a formalized character set number in which numerals recognized based on the extracted class activation map are arranged.

## Claims

### Claim 1

A formalized character set recognition apparatus based on weakly supervised localization, comprising:
a memory for storing at least one program; and
a processor for executing the program,
wherein the program performs:
recognizing one or more numerals present in a formalized character set image and a number of appearances of each of the numerals;
extracting a class activation map in which a location of attention in the formalized character set image is indicated when a specific numeral is recognized; and
outputting a formalized character set number in which numerals recognized based on the extracted class activation map are arranged.

### Claim 2 (depends on 1)

The formalized character set recognition apparatus of claim 1, wherein:
recognizing the one or more numerals and the number of appearances is performed based on a pre-trained deep-learning neural network model, and
the program is configured to train the deep-learning neural network model by performing:
generating training data labeled with one or more numerals included in each of multiple formalized character set images and a number of appearances of each of the numerals; and
configuring a deep-learning neural network, inputting the generated training data to the deep-learning neural network, and then repeatedly updating parameters of the deep-learning neural network so that errors between one or more numerals and a number of appearances of each of the numerals, output from the deep-learning neural network, and the labeled numerals and the number of appearances of each of the labeled numerals are minimized.

### Claim 3 (depends on 2)

The formalized character set recognition apparatus of claim 2, wherein generating the training data comprises:
converting a formalized character set number included in the corresponding formalized character set image into a number of appearances of each of numerals ranging from ‘0’ to ‘9’; and
converting converted numbers of appearances of respective numerals into a one-hot vector, thus finally labeling the training data.

### Claim 4 (depends on 3)

The formalized character set recognition apparatus of claim 3, wherein the deep-learning neural network model comprises:
a first layer for extracting features of the input formalized character set image; and
a second layer for calculating probabilities for respective classes based on the extracted features and outputting the class having maximum probability values.

### Claim 5 (depends on 4)

The formalized character set recognition apparatus of claim 4, wherein extracting the class activation map comprises hooking output of the first layer of the pre-trained deep-learning neural network model and extracting the class activation map.

### Claim 6 (depends on 1)

The formalized character set recognition apparatus of claim 1, wherein extracting the class activation map comprises extracting a number of class activation maps identical to a number of numerals present in the corresponding formalized character set.

### Claim 7 (depends on 1)

The formalized character set recognition apparatus of claim 1, wherein outputting the formalized character set number comprises determining a location of attention in the class activation map, extracted at a time of recognizing the specific numeral, to be a location of the corresponding specific numeral on the formalized character set.

### Claim 8 (depends on 7)

The formalized character set recognition apparatus of claim 7, wherein outputting the formalized character set number comprises analyzing information about a two-dimensional (2D) peak of each numeral, present in a formalized character set, in the class activation map, and determining a location of the corresponding numeral.

### Claim 9

A formalized character set recognition method based on weakly supervised localization, comprising:
recognizing one or more numerals present in a formalized character set image and a number of appearances of each of the numerals;
extracting a class activation map in which a location of attention in the formalized character set image is indicated when a specific numeral is recognized; and
outputting a formalized character set number in which numerals recognized based on the extracted class activation map are arranged.

### Claim 10 (depends on 9)

The formalized character set recognition method of claim 9, wherein:
recognizing the one or more numerals and the number of appearances is performed based on a pre-trained deep-learning neural network model, and
the deep-learning neural network model is trained by performing:
generating training data labeled with one or more numerals included in each of multiple formalized character set images and a number of appearances of each of the numerals; and
configuring a deep-learning neural network, inputting the generated training data to the deep-learning neural network, and then repeatedly updating parameters of the deep-learning neural network so that errors between one or more numerals and a number of appearances of each of the numerals, output from the deep-learning neural network, and the labeled numerals and the number of appearances of each of the labeled numerals are minimized.

### Claim 11 (depends on 10)

The formalized character set recognition method of claim 10, wherein generating the training data comprises:
converting a formalized character set number included in the corresponding formalized character set image into a number of appearances of each of numerals ranging from ‘0’ to ‘9’; and
converting converted numbers of appearances of respective numerals into a one-hot vector, thus finally labeling the training data.

### Claim 12 (depends on 11)

The formalized character set recognition method of claim 11, wherein the deep-learning neural network model comprises:
a first layer for extracting features of the input formalized character set image; and
a second layer for calculating probabilities for respective classes based on the extracted features and outputting the class having maximum probability values.

### Claim 13 (depends on 12)

The formalized character set recognition method of claim 12, wherein extracting the class activation map comprises hooking output of the first layer of the pre-trained deep-learning neural network model and extracting the class activation map.

### Claim 14 (depends on 9)

The formalized character set recognition method of claim 9, wherein extracting the class activation map comprises extracting a number of class activation maps identical to a number of numerals present in the corresponding formalized character set.

### Claim 15 (depends on 9)

The formalized character set recognition method of claim 9, wherein outputting the formalized character set number comprises determining a location of attention in the class activation map, extracted at a time of recognizing the specific numeral, to be a location of the corresponding specific numeral on the formalized character set.

### Claim 16 (depends on 15)

The formalized character set recognition method of claim 15, wherein outputting the formalized character set number comprises analyzing information about a two-dimensional (2D) peak of each numeral, present in a formalized character set, in the class activation map, and determining a location of the corresponding numeral.

### Claim 17

A formalized character set recognition method based on weakly supervised localization, comprising:
recognizing one or more numerals present in a formalized character set image and a number of appearances of each of the numerals based on a pre-trained deep-learning neural network model;
extracting a class activation map in which a location of attention in the formalized character set image is indicated when a specific numeral is recognized; and
outputting a formalized character set number in which numerals recognized based on the extracted class activation map are arranged,
wherein the deep-learning neural network model is pre-trained with training data that is labeled with one or more numerals included in each of multiple formalized character set images and a number of appearances of each of the numerals.

### Claim 18 (depends on 17)

The formalized character set recognition method of claim 17, wherein:
the deep-learning neural network model comprises:
a first layer for extracting features of the input formalized character set image; and
a second layer for calculating probabilities for respective classes based on the extracted features and outputting the class having maximum probability values, and
extracting the class activation map comprises hooking output of the first layer of the pre-trained deep-learning neural network model and extracting the class activation map.

### Claim 19 (depends on 18)

The formalized character set recognition method of claim 18, wherein extracting the class activation map comprises extracting a number of class activation maps identical to a number of numerals present in the corresponding formalized character set.

### Claim 20 (depends on 19)

The formalized character set recognition method of claim 19, wherein outputting the formalized character set number comprises analyzing information about a two-dimensional (2D) peak of each numeral, present in a formalized character set, in the class activation map, and determining a location of the corresponding numeral.
