Holmeyoung / crnn-pytorch

Pytorch implementation of CRNN (CNN + RNN + CTCLoss) for all language OCR.
MIT License
377 stars 105 forks source link

Create illegal symbol in File mode #24

Closed thaihaquang closed 5 years ago

thaihaquang commented 5 years ago

As you said, there are limitations (illegal character) when you use Folder mode. But in File mode, these characters are also unallowed in Filename, So how can File mode solve this problem?' Thank you.

Holmeyoung commented 5 years ago

Hi, make the file like

absolute/path/to/image/hi_0.jpg
\/***
absolute/path/to/image/name_1.jpg
\\\\<>|

and so on

thaihaquang commented 5 years ago

Hi, make the file like

absolute/path/to/image/hi_0.jpg
\/***
absolute/path/to/image/name_1.jpg
\\\\<>|

and so on

Thank you. So the filename is arbitrary. The label will be read from the line below Filename (2nd line, 4th line, ...). Is it right?

Holmeyoung commented 5 years ago

YES!