eragonruan / text-detection-ctpn

text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
MIT License
3.43k stars 1.34k forks source link

demo.py run slow #456

Open praymich opened 4 years ago

praymich commented 4 years ago

Restore from ../checkpoints2/ctpn_50000.ckpt Find 6 images

../data/demo1/015.jpg

run the demo.py will stop in this about 3 minutes,

and then

../data/demo1/015.jpg cost time: 209.27s

../data/demo1/016.jpg cost time: 1.10s

../data/demo1/017.jpg cost time: 0.98s

run like this ,could you help me fix it?

alan-img commented 3 years ago

And I have this problem, now you know what is the reason?