CRNN-Keras
CRNN-Keras copied to clipboard
How to label with txt or csv files ?
Would you please show me an examle of txt or cvs files structure and naming convention of that files for training . thank you
It seems that the texts are extracted on line 40 of file Image_Generator.py. What I'm doing is using a text file for each image, with the same name but with ".gt.txt" extension. I replaced line 40 with:
with open(self.img_dirpath + img_file.split(".")[0] + ".gt.txt") as f:
self.texts.append(f.readline().strip())