mjq11302010044 / TATT

A Text Attention Network for Spatial Deformation Robust Scene Text Image Super-resolution (CVPR2022)
MIT License
167 stars 17 forks source link

If the word length is greater than 4, the letter "e" seems to be inserted third. #14

Open chnoguchi opened 2 years ago

chnoguchi commented 2 years ago

At lines 1918-1921 in dataset/dataset.py,

if len(word) > 4:
  word = [ch for ch in word]
  word[2] = "e"
  word = "".join(word)

the letter "e" seems to be inserted into gt labels. What is the intention behind this process?