text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
Python
3,428
61 commits
updated Oct 3, 2023
text detection mainly based on ctpn (connectionist text proposal network). It is implemented in tensorflow. I use id card detect as an example to demonstrate the results, but it should be noticing that this model can be used in almost every horizontal scene text detection task. The origin paper can be found here. Also, the origin repo in caffe can be found in here. For more detail about the paper and code, see this blog. If you got any questions, check the issue first, if the problem persists, open a new issue.
python ./ctpn/demo_pb.py
there are some parameters you may need to modify according to your requirement, you can find them in ctpn/text.yml
cd lib/utils
chmod +x make.sh
./make.sh
cd lib/prepare_training_data
python split_label.py
python ToVoc.py
cd ../../data
ln -s TEXTVOC VOCdevkit2007
Simplely run
python ./ctpn/train_net.py
NOTICE: all the photos used below are collected from the internet. If it affects you, please contact me to delete them.






294 followers · starred Aug 2023
10 followers · starred Mar 2019
18 followers · starred Feb 2019
66 followers · starred Nov 2018
text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
Python
3,428
61 commits
updated Oct 3, 2023
text detection mainly based on ctpn (connectionist text proposal network). It is implemented in tensorflow. I use id card detect as an example to demonstrate the results, but it should be noticing that this model can be used in almost every horizontal scene text detection task. The origin paper can be found here. Also, the origin repo in caffe can be found in here. For more detail about the paper and code, see this blog. If you got any questions, check the issue first, if the problem persists, open a new issue.
python ./ctpn/demo_pb.py
there are some parameters you may need to modify according to your requirement, you can find them in ctpn/text.yml
cd lib/utils
chmod +x make.sh
./make.sh
cd lib/prepare_training_data
python split_label.py
python ToVoc.py
cd ../../data
ln -s TEXTVOC VOCdevkit2007
Simplely run
python ./ctpn/train_net.py
NOTICE: all the photos used below are collected from the internet. If it affects you, please contact me to delete them.






294 followers · starred Aug 2023
10 followers · starred Mar 2019
18 followers · starred Feb 2019
66 followers · starred Nov 2018