Skip to content
/ STKM Public

Self-attention based Text Knowledge Mining for Text Detection

License

Notifications You must be signed in to change notification settings

CVI-SZU/STKM

Repository files navigation

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).

Model

The pre-trained model is now available.

Installation

  • Python=3.8
  • PyTorch=1.8.0, torchvision=0.9.0, cudatoolkit=10.2
  • OpenCV for visualization

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}
}

About

Self-attention based Text Knowledge Mining for Text Detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages