Home

Awesome

STKM: Self-attention based Text Knowledge Mining for Text Detection

This is the pytorch implementation of Paper: Self-attention based Text Knowledge Mining for Text Detection (CVPR 2021).

<img src="figs/STKM.png" width="100%">

Model

The pre-trained model is now available.

Installation

Train

python train.py

Test

python eval.py

Transfer and replace

python trans2res.py

Reference

If you find STKM useful in your research, please cite it in your publications:

@inproceedings{wan2021self,
  title={Self-attention based text knowledge mining for text detection},
  author={Wan, Qi and Ji, Haoqin and Shen, Linlin},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={5983--5992},
  year={2021}
}