Real-time Scene Text Detection with Differentiable Binarization
About
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
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Text Detection | ICDAR 2015 | Precision91.8 | 171 | |
| Text Detection | CTW1500 (test) | Precision86.9 | 157 | |
| Scene Text Detection | ICDAR 2015 (test) | F1 Score87.3 | 150 | |
| Text Detection | Total-Text | Recall82.5 | 139 | |
| Oriented Text Detection | ICDAR 2015 (test) | Precision91.8 | 129 | |
| Text Detection | Total-Text (test) | F-Measure84.7 | 126 | |
| Text Detection | ICDAR 2015 (test) | F1 Score87.3 | 108 | |
| Scene Text Detection | TotalText (test) | Recall82.5 | 106 | |
| Text Detection | MSRA-TD500 | Precision91.5 | 84 | |
| Text Detection | MSRA-TD500 (test) | Precision91.5 | 70 |