Skip to content

is there a way to skip download data_generation.get_backgrounds and data_generation.get_fonts #247

@Hanjinchao

Description

@Hanjinchao

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions