pp-OCRv5-6-ncnn / configs /config_ppocrv5_devanagari.json
developerabu's picture
Add PP-OCRv5 mobile NCNN rec models (11 languages)
b3fcb68 verified
Raw
History Blame
709 Bytes
{
"save": false,
"det": {
"infer_threads": -1,
"model_path": "models/PP_OCRv5_mobile_det",
"padding": 0,
"max_side_len": 768,
"box_thres": 0.45,
"bitmap_thres": 0.2,
"unclip_ratio": 1.4,
"fp16": false
},
"cls": {
"infer_threads": 1,
"reco_threads": -1,
"model_path": "models/PP_LCNet_x0_25_textline_ori",
"enable": true,
"most_angle": true,
"fp16": false
},
"rec": {
"infer_threads": 1,
"reco_threads": -1,
"model_path": "models/PP_OCRv5_devanagari_mobile_rec",
"keys_path": "models/ppocr_keys_devanagari.txt",
"fp16": false
}
}