{ "Global": { "model_name": "cyrillic_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", "É", "é", "Ё", "Є", "І", "Ј", "Љ", "Ў", "А", "Б", "В", "Г", "Д", "Е", "Ж", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ч", "Ш", "Щ", "Ъ", "Ы", "Ь", "Э", "Ю", "Я", "а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я", "ё", "ђ", "є", "і", "ј", "љ", "њ", "ћ", "ў", "џ", "Ґ", "ґ" ] } }