Skip to main content
QUICK REVIEW

[Paper Review] Real-time Scene Text Detection with Differentiable Binarization

Minghui Liao, Zhaoyi Wan|arXiv (Cornell University)|Nov 20, 2019
Handwritten Text Recognition TechniquesComputer Science40 references48 citations
TL;DR

The paper introduces Differentiable Binarization (DB) to integrate binarization into a segmentation network, enabling end-to-end training for real-time, arbitrary-shape scene text detection with state-of-the-art accuracy and speed.

ABSTRACT

Recently, segmentation-based methods are quite popular in scene text detection, as the segmentation results can more accurately describe scene text of various shapes such as curve text. However, the post-processing of binarization is essential for segmentation-based detection, which converts probability maps produced by a segmentation method into bounding boxes/regions of text. In this paper, we propose a module named Differentiable Binarization (DB), which can perform the binarization process in a segmentation network. Optimized along with a DB module, a segmentation network can adaptively set the thresholds for binarization, which not only simplifies the post-processing but also enhances the performance of text detection. Based on a simple segmentation network, we validate the performance improvements of DB on five benchmark datasets, which consistently achieves state-of-the-art results, in terms of both detection accuracy and speed. In particular, with a light-weight backbone, the performance improvements by DB are significant so that we can look for an ideal tradeoff between detection accuracy and efficiency. Specifically, with a backbone of ResNet-18, our detector achieves an F-measure of 82.8, running at 62 FPS, on the MSRA-TD500 dataset. Code is available at: https://github.com/MhLiao/DB

Motivation & Objective

  • Motivate segmentation-based scene text detection for irregular text shapes (curved, multi-oriented).
  • Eliminate heavy post-processing by integrating binarization into the network training.
  • Achieve real-time inference with a lightweight backbone while maintaining high accuracy.
  • Explore adaptive thresholding via a learnable threshold map to improve discrimination between text and background.

Proposed method

  • Propose Differentiable Binarization (DB) to approximate binarization with a differentiable function that uses an adaptive threshold map T.
  • Train a segmentation network to predict both a probability map P and a threshold map T, and compute an approximate binary map B̂ from P and T.
  • Backpropagate through the DB function to sharpen text-background separation and distinguish closely jointed text instances.
  • Use a deformable convolution backbone to improve receptive fields for irregular text shapes.
  • Generate training labels through polygon shrinking/dilating operations to create supervision for P and T.
  • At inference, optionally drop the threshold branch for efficiency and form boxes from the probability or binary map.
  • Conduct ablations on backbones (ResNet-18/50), DB presence, threshold supervision, and deformable convolution to quantify gains.

Experimental results

Research questions

  • RQ1Can integrating a differentiable binarization step into a segmentation network improve text detection accuracy for arbitrary-shaped text?
  • RQ2Does adaptive, learned thresholding improve discrimination between text and background compared with fixed-threshold binarization?
  • RQ3How does the proposed DB module affect speed and accuracy with lightweight backbones like ResNet-18 versus heavier backbones like ResNet-50?
  • RQ4Is end-to-end trainability with DB compatible with real-time inference across multiple scene text benchmarks?

Key findings

  • DB provides consistent accuracy gains on five benchmarks (horizontal, multi-oriented and curved text).
  • With ResNet-18, the method achieves 62 FPS on MSRA-TD500 and high F-measures across datasets.
  • DB can be removed at inference without sacrificing performance, maintaining speed.
  • Deformable convolution adds 1.5–5.0 point F-measure gains depending on backbone and dataset.
  • Supervision of the threshold map yields additional improvements (e.g., on MLT-2017).
  • DB-ResNet-50 achieves state-of-the-art or competitive results with notable speed advantages over prior methods on curved and multi-language text datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.