Giter Site home page Giter Site logo

pan_pp_stable's Introduction

Introduction

This repository is the official implementation of PAN++. Compared to pan_pp.pytorch, this repository is specific to PAN++, and more stable.

Installation

First, clone the repository locally:

git clone https://github.com/whai362/pan_pp_stable.git

Then, install PyTorch 1.1.0+, torchvision 0.3.0+, and other requirements:

conda install pytorch torchvision -c pytorch
pip install -r requirement.txt

Finally, compile codes of post-processing:

# build pa and other post-processing algorithms
sh ./compile.sh

Dataset

Please refer to dataset/README.md for dataset preparation.

Training & Testing

ICDAR2015: please refer to IC15_RESULTS.md for training and testing.

RCTW-17: please refer to RCTW17_RESULTS.md for training and testing.

Total-Text: please refer to TT_RESULTS.md for training and testing.

CTW1500: please refer to CTW_RESULTS.md for training and testing.

MSRA-TD500: please refer to MSRA_RESULTS.md for training and testing.

Evaluate the performance

cd eval/
./eval_{DATASET}.sh

Evaluate the speed

python test.py XXX --report_speed true

Visualization

python test.py XXX --vis true

Citation

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

PAN++

@article{wang2021pan++,
  title={PAN++: Towards Efficient and Accurate End-to-End Spotting of Arbitrarily-Shaped Text},
  author={Wang, Wenhai and Xie, Enze and Li, Xiang and Liu, Xuebo and Liang, Ding and Zhibo, Yang and Lu, Tong and Shen, Chunhua},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2021},
  publisher={IEEE}
}

License

This project is developed and maintained by IMAGINE Lab@National Key Laboratory for Novel Software Technology, Nanjing University.

IMAGINE Lab

This project is released under the Apache 2.0 license.

pan_pp_stable's People

Contributors

whai362 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.