MCPcopy Create free account
hub / github.com/PaddlePaddle/EasyData / __call__

Method __call__

deploy/python/dataaug/gen_ocr_rec.py:200–249  ·  view source on GitHub ↗
(self,
                 bg_img_dir="train_data/bg",
                 font_dir="train_data/font",
                 corpus_file="train_data/corpus.txt",
                 gen_num=10,
                 img_save_folder="output",
                 bg_img_per_word_num=5,
                 threads=5,
                 delimiter="\t")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

gen_ocr_imgMethod · 0.95
chunkerFunction · 0.85
compute_thread_countFunction · 0.85

Tested by

no test coverage detected