Skip to content
TextField: Learning A Deep Direction Field for Irregular Scene Text Detection (TIP 2019)
Branch: master
Clone or download
Latest commit dcbaca1 Mar 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
docker
docs init Jan 3, 2019
examples/TextField fix path Mar 15, 2019
include/caffe
matlab
python init Jan 3, 2019
scripts
src
tools
.Doxyfile
.gitignore
.travis.yml
CMakeLists.txt init Jan 3, 2019
CONTRIBUTING.md init Jan 3, 2019
CONTRIBUTORS.md
INSTALL.md init Jan 3, 2019
LICENSE
Makefile init Jan 3, 2019
Makefile.config.example
README.md upload files Mar 3, 2019
caffe.cloc

README.md

TextField: Learning A Deep Direction Field for Irregular Scene Text Detection

Introduction

The code and trained models of:

TextField: Learning A Deep Direction Field for Irregular Scene Text Detection, TIP 2019 [Paper]

Citation

Please cite the related works in your publications if it helps your research:


@article{xu2018textfield,
  title={TextField: Learning A Deep Direction Field for Irregular Scene Text Detection},
  author={Xu, Yongchao and Wang, Yukang and Zhou, Wei and Wang, Yongpan and Yang, Zhibo and Bai, Xiang},
  journal={arXiv preprint arXiv:1812.01393},
  year={2018}
}

Prerequisite

Usage

1. Install Caffe

cp Makefile.config.example Makefile.config
# adjust Makefile.config (for example, enable python layer)
make all -j16
# make sure to include $CAFFE_ROOT/python to your PYTHONPATH.
make pycaffe

Please refer to Caffe Installation to ensure other dependencies.

2. Data and model preparation

# download datasets and pretrained model then
mkdir data && mv [your_dataset_folder] data/
mkdir models && mv [your_pretrained_model] models/

3. Training scripts

# an example on Total-Text dataset
cd examples/TextField/
python train.py --gpu [your_gpu_id] --dataset total --initmodel ../../models/synth_iter_800000.caffemodel

4. Evaluation scripts

# an example on Total-Text dataset
cd evaluation/total/
./eval.sh

Results and Trained Models

Total-Text

Recall Precision F-measure Link
0.816 0.824 0.820 [Google drive]

*lambda=0.50 for post-processing

ICDAR2015

Recall Precision F-measure Link
0.811 0.846 0.828 [Google drive]

*lambda=0.75 for post-processing

You can’t perform that action at this time.