update doc

This commit is contained in:
WenmuZhou 2021-04-09 18:24:18 +08:00
parent af1ac7c2d2
commit 40f20c6f59
2 changed files with 4 additions and 5 deletions

View File

@ -248,7 +248,7 @@ use_direction_classify 0 # 是否使用方向分类器0表示不使用1
adb shell
cd /data/local/tmp/debug
export LD_LIBRARY_PATH=${PWD}:$LD_LIBRARY_PATH
./ocr_db_crnn ch_ppocr_mobile_v2.0_det_opt.nbb ch_ppocr_mobile_v2.0_rec_opt.nb ch_ppocr_mobile_v2.0_cls_opt.nb ./11.jpg ppocr_keys_v1.txt
./ocr_db_crnn ch_ppocr_mobile_v2.0_det_opt.nb ch_ppocr_mobile_v2.0_rec_opt.nb ch_ppocr_mobile_v2.0_cls_opt.nb ./11.jpg ppocr_keys_v1.txt
```
如果对代码做了修改则需要重新编译并push到手机上。
@ -256,7 +256,7 @@ use_direction_classify 0 # 是否使用方向分类器0表示不使用1
运行效果如下:
<div align="center">
<img src="../imgs_results/lite_demo.png" width="600">
<img src="../../doc/imgs_results/lite_demo.png" width="600">
</div>

View File

@ -248,7 +248,7 @@ After the above steps are completed, you can use adb to push the file to the pho
adb shell
cd /data/local/tmp/debug
export LD_LIBRARY_PATH=${PWD}:$LD_LIBRARY_PATH
./ocr_db_crnn ch_ppocr_mobile_v2.0_det_opt.nbb ch_ppocr_mobile_v2.0_rec_opt.nb ch_ppocr_mobile_v2.0_cls_opt.nb ./11.jpg ppocr_keys_v1.txt
./ocr_db_crnn ch_ppocr_mobile_v2.0_det_opt.nb ch_ppocr_mobile_v2.0_rec_opt.nb ch_ppocr_mobile_v2.0_cls_opt.nb ./11.jpg ppocr_keys_v1.txt
```
If you modify the code, you need to recompile and push to the phone.
@ -256,10 +256,9 @@ If you modify the code, you need to recompile and push to the phone.
The outputs are as follows:
<div align="center">
<img src="../imgs_results/lite_demo.png" width="600">
<img src="../../doc/imgs_results/lite_demo.png" width="600">
</div>
## FAQ
Q1: What if I want to change the model, do I need to run it again according to the process?