{ "Global": { "model_name": "latin_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", "{", "}", "¡", "£", "§", "ª", "«", "­", "°", "²", "³", "´", "µ", "·", "º", "»", "¿", "À", "Á", "Â", "Ä", "Å", "Ç", "È", "É", "Ê", "Ë", "Ì", "Í", "Î", "Ï", "Ò", "Ó", "Ô", "Õ", "Ö", "Ú", "Ü", "Ý", "ß", "à", "á", "â", "ã", "ä", "å", "æ", "ç", "è", "é", "ê", "ë", "ì", "í", "î", "ï", "ñ", "ò", "ó", "ô", "õ", "ö", "ø", "ù", "ú", "û", "ü", "ý", "ą", "Ć", "ć", "Č", "č", "Đ", "đ", "ę", "ı", "Ł", "ł", "ō", "Œ", "œ", "Š", "š", "Ÿ", "Ž", "ž", "ʒ", "β", "δ", "ε", "з", "Ṡ", "‘", "€", "™" ] } }