Dataset
-
class
text_renderer.dataset.
LmdbDataset
(data_dir: str)[source] Save generated image into lmdb. Compatible with https://github.com/PaddlePaddle/PaddleOCR Keys in lmdb:
image-000000001: image raw bytes
label-000000001: string
size-000000001: “width,height”