GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - phybrain/pytorch_ctpn: This is a pytorch implementation of CTPN(Detecting Text in Natural Image with Connectionist Text Proposal Network)

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
checkpoints
checkpoints
 
 
data
data
 
 
images
images
 
 
logs
logs
 
 
results
results
 
 
config.py
config.py
 
 
ctpn_model.py
ctpn_model.py
 
 
ctpn_predict.py
ctpn_predict.py
 
 
ctpn_train.py
ctpn_train.py
 
 
ctpn_utils.py
ctpn_utils.py
 
 
readme.md
readme.md
 
 

Repository files navigation

Pytorch CTPN

update 19-03-20 wed: android ocr

This is a pytorch implementation of CTPN(Detecting Text in Natural Image with Connectionist Text Proposal Network).Inspired by keras-ocr.

Training log is available:Training Log(Chinese)

model size
keras-CTPN 142M
pytorch-CTPN 67.6M

train

  • download ctpn model weights (converted from keras ctpn weights) ctpn_keras_weights.pth.tar from dropbox, and move it to ./checkpoints/ (For a number of reasons, the pretrained weights will no longer be available.Thanks for your attention.)
  • download VOC2007_text_detection Chinese Text Detection dataset and move it to ./images/
  • run python ctpn_train.py --image-dir image_dir --labels-dir labels_dir --num-workers num_workers

predict

  • download the pretrained weights from dropbox
  • Please refer to predict.py for more details.

results

Training Log(Chinese)

Android DEMO

These days, I'm working on deploying this model on Android devices.you can check the results from here.

Android text recognition 4-23

Find out that adopting skew transform can significantly improve recognition accuracy.(It may take a few seconds, heavily depends on your harware and input image size)

reco

reference

  • CTPN (Detecting Text in Natural Image with Connectionist Text Proposal Network)
  • keras-ocr

Licence

MIT License

About

This is a pytorch implementation of CTPN(Detecting Text in Natural Image with Connectionist Text Proposal Network)

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.