# -*- coding:utf-8 -*-from__future__importabsolute_importfrom__future__importdivisionfrom__future__importprint_functionclassConfig(object):passdefread_params():cfg=Config()#params for text classifiercfg.cls_model_dir="./inference/ch_ppocr_mobile_v1.1_cls_infer/"cfg.cls_image_shape="3, 48, 192"cfg.label_list=['0','180']cfg.cls_batch_num=30cfg.cls_thresh=0.9cfg.use_zero_copy_run=Falsecfg.use_pdserving=Falsereturncfg