I put cache_dir there:
fonts = keras_ocr.data_generation.get_fonts(
alphabet=alphabet,
cache_dir=download_
)
backgrounds = keras_ocr.data_generation.get_backgrounds(cache_dir=download_)
but it still downloading!!!
and there is a bad image in the background, its just stop working all the time
If I have a local file, is there any function to crate my customized font and background list to generate training data??
Thanks!