Text recognition method based on global and local attention mechanisms
A text recognition and attention technology, applied in character and pattern recognition, neural learning methods, computer components, etc., to achieve the effect of improving forward speed, strong robustness, and improving representation ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] refer to figure 1 As shown, the present invention proposes a text recognition method based on a global and local attention mechanism, which specifically includes the following steps:
[0053] S1. Data acquisition: use synthetic text lines and public real text lines as training sample data, and use text lines collected in real scenes as test sample data.
[0054] Among them, the synthetic data is synthesized while training.
[0055] S2. Data processing: perform data preprocessing operations on training samples and test samples, refer to figure 2 shown.
[0056] Wherein, all comprise offline text and online text in the training sample and test sample; For offline text, while keeping the aspect ratio, the offline text picture height is normalized to 128 pixels, denoted as picture I;
[0057] For online text, rotate the online handwriting to be horizontal, and then perform the feature extraction operation, specifically:
[0058] The online handwriting S is a sequence c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


