tianzhi0549 / CTPN

Detecting Text in Natural Image with Connectionist Text Proposal Network (ECCV'16)
http://textdet.com
Other
1.28k stars 539 forks source link

How to prepare my own dataset for CTPN training? #13

Closed ICTwangbiao closed 7 years ago

ICTwangbiao commented 7 years ago

Hi @tianzhi0549 , thanks for your test code and model! I want to train CTPN on my own dataset, but when I prepare annotation xml files, I don't know what each object should be. Is it just like a text proposal(fixed width:16px, precompute its coordinate from a whole word bounding box) or a whole word bounding box(like ICDAR 2013 annotations)? Thanks.

tianzhi0549 commented 7 years ago

@ICTwangbiao Thank you for your interest. I think what annotations in your xml files is up to you. You could compute these ground truths of text proposals on the fly or pre-compute them in advance. Thank you:-).

ICTwangbiao commented 7 years ago

@tianzhi0549 thank you very much.