how can I covert gt.mat to gt.txt in SynthText dataset?
@MhLiao Thank you.
Hi!
I wrote my own sampling and gt.mat parsing script to transform the labels to the format that suits the specific project.
You can load the gt mat file using: mat = scipy.io.loadmat('gt.mat')
Load it and explore it. There are various ways you can rewrite the labels to suit your project.
@shervin-gohari Thank you
I tried this code but I got error. https://blog.csdn.net/qq_39529154/article/details/108689908 I try this code to convert into TotalText Dataset so I can use in my project but I have error like "TypeError: object of type 'numpy.float32' has no len() Some pictures will report this error"