fix cpp infer png

This commit is contained in:
littletomatodonkey 2020-07-14 03:44:55 +00:00
parent 199fd0e021
commit 7b876e0e65
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
use_gpu 0
gpu_id 0
gpu_mem 4000
cpu_math_library_num_threads 1
cpu_math_library_num_threads 10
# det config
max_side_len 960
@ -17,5 +17,5 @@ char_list_file ../../ppocr/utils/ppocr_keys_v1.txt
img_path ../../doc/imgs/11.jpg
# show the detection results
visualize 1
visualize 0

View File

@ -1,2 +1,2 @@
./build/ocr_system ./tools/config.txt ../../doc/imgs/6.jpg
./build/ocr_system ./tools/config.txt ../../doc/imgs/12.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 26 KiB