cs-chan / Total-Text-Dataset

Total Text Dataset. It consists of 1555 images with more than 3 different text orientations: Horizontal, Multi-Oriented, and Curved, one of a kind.
BSD 3-Clause "New" or "Revised" License
747 stars 142 forks source link

faster implement evaluation, add python3 support #17

Closed princewang1994 closed 5 years ago

princewang1994 commented 5 years ago

Hi @ckchng , I add an faster version DetEval.py by polygon computing based on shapely. After testing with prediction uploaded in this comment(I have converted .mat format to .txt format as requested, see no_expand_txt.zip.

the speed boosting is significance:

precision: I have uploaded the result of no_expand_txt.zip, see result.txt and ori_result.txt, which have almost the same precision, recall and F1 measure.

By the way, python3 is supported in my version with a few codes adding, hope you like it!

ckchng commented 5 years ago

The speed up is significance, thank you so much for your contribution!

princewang1994 commented 5 years ago

Happy for your merging~😋