sparkocr.transformers.readers.sroie_reader#

Module Contents#

Classes#

SROIEReader

This dataset is not case sensitive. The images have case information but the annotations dont.

class SROIEReader(**kwargs)#

This dataset is not case sensitive. The images have case information but the annotations dont.

SROIEReader( spark_session=spark, root_work_dir=”./Result/SROIE_Process/”, target_dir=”./Result/SROIE_Result/”, clean_up=True)()

SROIE_TEST = ['https://doctr-static.mindee.com/models?id=v0.1.1/sroie2019_test.zip&src=0', 'test.zip', 'test']#
SROIE_TRAIN = ['https://doctr-static.mindee.com/models?id=v0.1.1/sroie2019_train_task1.zip&src=0',...#
clean_up#
root_work_dir#
schema#
spark#
target_dir#
static create_file_identifier(file_path)#
download_and_extract(train=True)#
process_sroie_split(load_dir)#
static sroie_reader(combined_bytes, combined_extension, combined_path)#