PaddleOCR/deploy/cpp_infer/tools/config.txt

32 lines
595 B
Plaintext
Raw Normal View History

2020-07-13 16:59:21 +08:00
# model load config
2021-05-26 15:02:47 +08:00
use_gpu 0
2020-07-13 16:59:21 +08:00
gpu_id 0
gpu_mem 4000
2020-07-14 11:44:55 +08:00
cpu_math_library_num_threads 10
2020-07-14 13:40:35 +08:00
use_mkldnn 0
2020-07-13 16:59:21 +08:00
# det config
max_side_len 960
det_db_thresh 0.3
det_db_box_thresh 0.5
2021-02-18 19:03:52 +08:00
det_db_unclip_ratio 1.6
use_polygon_score 1
2020-12-18 17:46:48 +08:00
det_model_dir ./inference/ch_ppocr_mobile_v2.0_det_infer/
2020-12-16 18:28:26 +08:00
# cls config
use_angle_cls 0
2020-12-16 18:29:27 +08:00
cls_model_dir ./inference/ch_ppocr_mobile_v2.0_cls_infer/
2020-12-16 18:28:26 +08:00
cls_thresh 0.9
2020-07-13 16:59:21 +08:00
# rec config
2020-12-21 21:45:02 +08:00
rec_model_dir ./inference/ch_ppocr_mobile_v2.0_rec_infer/
2021-05-26 14:49:17 +08:00
char_list_file ../../ppocr/utils/ppocr_keys_v1.txt
2020-07-13 17:15:54 +08:00
# show the detection results
2021-05-26 14:49:17 +08:00
visualize 0
2020-07-13 17:15:54 +08:00
# use_tensorrt
use_tensorrt 0
use_fp16 0