Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Apr 9, 2021
1 parent af1ac7c commit 40f20c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/lite/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@ 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到手机上。

运行效果如下:

<div align="center">
<img src="../imgs_results/lite_demo.png" width="600">
<img src="../../doc/imgs_results/lite_demo.png" width="600">
</div>


Expand Down
5 changes: 2 additions & 3 deletions deploy/lite/readme_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,17 @@ 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.

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?
Expand Down

0 comments on commit 40f20c6

Please sign in to comment.