Synthetic-data-with-text-and-image when traning the models of text detection, one problem is how to get the labeled samples. so we can generate it. 1 - put the necessary files on the correspond directory 2 - update the below variable in main.py resultImgsDir resultXmlDir bgiDir gTtf textDir 3 - then '>>>python main.py 4 - you will get them.