config.txt 410 字节
Newer Older
littletomatodonkey's avatar
littletomatodonkey 已提交
1 2 3 4
# model load config
use_gpu  0
gpu_id  0
gpu_mem  4000
littletomatodonkey's avatar
littletomatodonkey 已提交
5
cpu_math_library_num_threads  10
littletomatodonkey's avatar
littletomatodonkey 已提交
6
use_mkldnn 0
littletomatodonkey's avatar
littletomatodonkey 已提交
7 8 9 10 11 12 13 14 15 16

# det config
max_side_len  960
det_db_thresh  0.3
det_db_box_thresh  0.5
det_db_unclip_ratio  2.0
det_model_dir  ./inference/det_db

# rec config
rec_model_dir  ./inference/rec_crnn
littletomatodonkey's avatar
littletomatodonkey 已提交
17
char_list_file ../../ppocr/utils/ppocr_keys_v1.txt
littletomatodonkey's avatar
littletomatodonkey 已提交
18
img_path  ../../doc/imgs/11.jpg
littletomatodonkey's avatar
littletomatodonkey 已提交
19 20

# show the detection results
littletomatodonkey's avatar
littletomatodonkey 已提交
21
visualize 0
littletomatodonkey's avatar
littletomatodonkey 已提交
22