GithubHelp home page GithubHelp logo

crazysummerday / ctpn.pytorch Goto Github PK

View Code? Open in Web Editor NEW
45.0 2.0 26.0 63.61 MB

Pytorch implementation of CTPN (Detecting Text in Natural Image with Connectionist Text Proposal Network)

License: MIT License

Python 100.00%

ctpn.pytorch's Introduction

ctpn.pytorch

Pytorch implementation of CTPN (Detecting Text in Natural Image with Connectionist Text Proposal Network)

Paper

https://arxiv.org/pdf/1609.03605.pdf

train

training dataset: ICDAR2013 and ICDAR2017.
If you want to train your own dataset, you need to change the 'img_dir' and 'label_dir' in file ctpn/config.py, then run

python train.py

training loss

predict

Download pretrained model from './weights/', change the test image path in file predict.py, then run:

python predict.py

result

result_1
result_2

references

https://github.com/opconty/pytorch_ctpn

https://github.com/courao/ocr.pytorch

ctpn.pytorch's People

Contributors

crazysummerday avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ctpn.pytorch's Issues

Format of training dataset

Hi, your repo is very useful for me. I have a questions. Can you describe the format of training dataset? How look like structure of dataset prepare? The labels is .xml? I need train my own dataset, wait for your reply

训练数据链接

能不能把训练数据链接贴一下,我找了好几个ICDAR 2017的链接,感觉都不对,谢谢!

dataset

Thank you very much for sharing your code, can you provide the dataset?

Text Box

If i want to take some operations in the Text box For example, do Binarization in the text box
What should I do?

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.