HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Vision Transformer for Fast and Efficient Scene Text Recognition

Rowel Atienza

Vision Transformer for Fast and Efficient Scene Text Recognition

Abstract

Scene text recognition (STR) enables computers to read text in natural scenes such as object labels, road signs and instructions. STR helps machines perform informed decisions such as what object to pick, which direction to go, and what is the next step of action. In the body of work on STR, the focus has always been on recognition accuracy. There is little emphasis placed on speed and computational efficiency which are equally important especially for energy-constrained mobile machines. In this paper we propose ViTSTR, an STR with a simple single stage model architecture built on a compute and parameter efficient vision transformer (ViT). On a comparable strong baseline method such as TRBA with accuracy of 84.3%, our small ViTSTR achieves a competitive accuracy of 82.6% (84.2% with data augmentation) at 2.4x speed up, using only 43.4% of the number of parameters and 42.2% FLOPS. The tiny version of ViTSTR achieves 80.3% accuracy (82.1% with data augmentation), at 2.5x the speed, requiring only 10.9% of the number of parameters and 11.9% FLOPS. With data augmentation, our base ViTSTR outperforms TRBA at 85.2% accuracy (83.7% without augmentation) at 2.3x the speed but requires 73.2% more parameters and 61.5% more FLOPS. In terms of trade-offs, nearly all ViTSTR configurations are at or near the frontiers to maximize accuracy, speed and computational efficiency all at the same time.

Code Repositories

Eom-taeseon/CV_SceneTextRecognition
pytorch
Mentioned in GitHub
roatienza/deep-text-recognition-benchmark
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
scene-text-recognition-on-icdar-2003ViTSTR
Accuracy: 94.3
scene-text-recognition-on-icdar2013ViTSTR
Accuracy: 92.4
scene-text-recognition-on-icdar2015ViTSTR
Accuracy: 72.6
scene-text-recognition-on-svtViTSTR
Accuracy: 87.7

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
Vision Transformer for Fast and Efficient Scene Text Recognition | Papers | HyperAI