Character Recognition Using Attention Mechanism for Irregular Text

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing character recognition technologies face inefficiencies when dealing with irregular text, requiring conversion into regular text for recognition, which can be cumbersome and time-consuming.

Innovation Solution

A character recognition method and apparatus that utilizes an attention mechanism for parallel computing to extract image features, calculate attention weight values, and decode characters, thereby simplifying the recognition process and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If irregular text is converted into regular text for recognition, then character recognition can be performed, but the process becomes cumbersome and time-consuming

Engineering Contradiction:
Improvecharacter recognition efficiencyVSAvoidtime for text conversion
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the image feature vectors into multiple groups and processes them in parallel through multiple processing paths. Each path handles a subset of feature vectors independently, eliminating the need for sequential conversion of irregular text and significantly improving recognition efficiency while reducing time loss.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic parallel processing where the number of processing paths and attention mechanisms adapts based on the input image characteristics. This dynamic approach allows the system to efficiently handle varying text irregularities without fixed conversion procedures, improving both speed and adaptability.

Inventive Principle:
Principle #15Dynamics

2Productivity

If parallel computing with attention mechanism is used, then operation efficiency is enhanced, but computational complexity increases

Engineering Contradiction:
Improveoperation efficiencyVSAvoidcomputational complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent divides the computational task into multiple parallel segments, each processing a subset of image feature vectors through dedicated attention mechanisms. This segmentation distributes computational complexity across multiple independent paths, achieving parallel speedup while keeping individual path complexity manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies attention mechanisms selectively to different groups of feature vectors rather than uniformly processing all vectors. This partial application of complex operations to only necessary subsets reduces overall computational complexity while maintaining high efficiency through parallel execution of focused attention calculations.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12094229B2Character recognition method and apparatus, computer device, and storage medium
Publication Date: 2024.09.17 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12094229B2 patent drawing
  • US12094229B2 patent drawing
  • US12094229B2 patent drawing

AI summary

A computer device extracts an image feature of an image that includes one or more characters to be recognized. The image feature includes a plurality of image feature vectors. The device uses an attention mechanism to compute and output attention weight values corresponding to the target number of characters, based on the image feature vectors, through parallel computing. Each of the attention weight values corresponds to one or more respective characters and represents an importance of the plurality of image feature vectors for the respective characters. The device obtains at least one character according to the plurality of image feature vectors and the target number of attention weight values. Therefore, in a character recognition process, with recognition based on the foregoing attention mechanism, a character in any shape can be effectively recognized by using a simple procedure, thereby avoiding a cyclic operation process and greatly improving operation efficiency.