HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Visual Semantics Allow for Textual Reasoning Better in Scene Text Recognition

Yue He Chen Chen Jing Zhang Juhua Liu Fengxiang He Chaoyue Wang Bo Du

Visual Semantics Allow for Textual Reasoning Better in Scene Text Recognition

Abstract

Existing Scene Text Recognition (STR) methods typically use a language model to optimize the joint probability of the 1D character sequence predicted by a visual recognition (VR) model, which ignore the 2D spatial context of visual semantics within and between character instances, making them not generalize well to arbitrary shape scene text. To address this issue, we make the first attempt to perform textual reasoning based on visual semantics in this paper. Technically, given the character segmentation maps predicted by a VR model, we construct a subgraph for each instance, where nodes represent the pixels in it and edges are added between nodes based on their spatial similarity. Then, these subgraphs are sequentially connected by their root nodes and merged into a complete graph. Based on this graph, we devise a graph convolutional network for textual reasoning (GTR) by supervising it with a cross-entropy loss. GTR can be easily plugged in representative STR models to improve their performance owing to better textual reasoning. Specifically, we construct our model, namely S-GTR, by paralleling GTR to the language model in a segmentation-based STR baseline, which can effectively exploit the visual-linguistic complementarity via mutual learning. S-GTR sets new state-of-the-art on six challenging STR benchmarks and generalizes well to multi-linguistic datasets. Code is available at https://github.com/adeline-cs/GTR.

Code Repositories

adeline-cs/GTR
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
scene-text-recognition-on-cute80S-GTR
Accuracy: 94.7
scene-text-recognition-on-icdar2013S-GTR
Accuracy: 97.8
scene-text-recognition-on-icdar2015S-GTR
Accuracy: 87.3
scene-text-recognition-on-iiit5kS-GTR
Accuracy: 97.5
scene-text-recognition-on-svtS-GTR
Accuracy: 95.8
scene-text-recognition-on-svtpS-GTR
Accuracy: 90.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Visual Semantics Allow for Textual Reasoning Better in Scene Text Recognition | Papers | HyperAI