LSTM-CTC-recaptcha icon indicating copy to clipboard operation
LSTM-CTC-recaptcha copied to clipboard

how to get fonts?

Open zimenglan-sysu-512 opened this issue 8 years ago • 1 comments

hi @Stardust- in your code

font_dir = 'fonts/english'
font_paths = []
for dirpath, dirnames, filenames in os.walk(font_dir):
  for filename in filenames:
    filepath = dirpath + os.sep + filename
    font_paths.append({'eng':filepath})

how to get the fonts?

zimenglan-sysu-512 avatar Dec 22 '16 02:12 zimenglan-sysu-512

You can download the font type file in internet, then change the font_dir point to the download file. for example: font type

stardut avatar Dec 25 '16 09:12 stardut