Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hanjinchao opened this issue Oct 20, 2023 · 0 comments

Comments

@Hanjinchao
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant