CRNN-Keras icon indicating copy to clipboard operation
CRNN-Keras copied to clipboard

How to label with txt or csv files ?

Open centurions opened this issue 5 years ago • 1 comments

Would you please show me an examle of txt or cvs files structure and naming convention of that files for training . thank you

centurions avatar May 10 '19 06:05 centurions

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())

Nosferath avatar May 23 '19 19:05 Nosferath