{ "Global": { "model_name": "arabic_PP-OCRv3_mobile_rec" }, "Hpi": { "backend_configs": { "paddle_infer": { "trt_dynamic_shapes": { "x": [ [ 1, 3, 48, 160 ], [ 1, 3, 48, 320 ], [ 8, 3, 48, 3200 ] ] } }, "tensorrt": { "dynamic_shapes": { "x": [ [ 1, 3, 48, 160 ], [ 1, 3, 48, 320 ], [ 8, 3, 48, 3200 ] ] } } } }, "PreProcess": { "transform_ops": [ { "DecodeImage": { "channel_first": false, "img_mode": "BGR" } }, { "MultiLabelEncode": null }, { "RecResizeImg": { "image_shape": [ 3, 48, 320 ] } }, { "KeepKeys": { "keep_keys": [ "image", "label_ctc", "label_sar", "length", "valid_ratio" ] } } ] }, "PostProcess": { "name": "CTCLabelDecode", "character_dict": [ "!", "#", "$", "%", "&", "'", "(", "+", ",", "-", ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "_", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "É", "é", "ء", "آ", "أ", "ؤ", "إ", "ئ", "ا", "ب", "ة", "ت", "ث", "ج", "ح", "خ", "د", "ذ", "ر", "ز", "س", "ش", "ص", "ض", "ط", "ظ", "ع", "غ", "ف", "ق", "ك", "ل", "م", "ن", "ه", "و", "ى", "ي", "ً", "ٌ", "ٍ", "َ", "ُ", "ِ", "ّ", "ْ", "ٓ", "ٔ", "ٰ", "ٱ", "ٹ", "پ", "چ", "ڈ", "ڑ", "ژ", "ک", "ڭ", "گ", "ں", "ھ", "ۀ", "ہ", "ۂ", "ۃ", "ۆ", "ۇ", "ۈ", "ۋ", "ی", "ې", "ے", "ۓ", "ە", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩" ] } }