SynthText icon indicating copy to clipboard operation
SynthText copied to clipboard

How can I convert gt.mat to .txt?

Open aswa123 opened this issue 2 years ago • 6 comments

@ankush-me Thank you!

aswa123 avatar Mar 08 '22 06:03 aswa123

Can you give more details? I do not understand your question as specified currently.

ankush-me avatar Mar 10 '22 15:03 ankush-me

Actually I am trying to use SynthText dataset but I need images and gt.txt file to generate my txt file to load in my model. but in SynthText we have images and gt.mat file.

aswa123 avatar Mar 10 '22 15:03 aswa123

There's no existing code to covert the gt.mat file to gt.txt --- you would need to write it your self per your requirements. Should be a couple of lines of python.

ankush-me avatar Mar 10 '22 16:03 ankush-me

https://blog.csdn.net/qq_39529154/article/details/108689908

actually this code is for to covert into Totaltext dataset

but have bug in that code.

aswa123 avatar Mar 10 '22 17:03 aswa123

@aswa123 Hi, where you find that gt.mat file?

Lane689 avatar May 11 '22 10:05 Lane689

邮件已收到,谢谢。。。I have received your email. Thank you.

92xianshen avatar Oct 11 '22 07:10 92xianshen