diff --git a/deploy/lite/readme.md b/deploy/lite/readme.md index 0b71e8b49d4d9ec0c0c83b4dd9a5bd58ec26aa81..29a1e165eb0a5850a3e9651dff50d094b7ff1f8e 100644 --- a/deploy/lite/readme.md +++ b/deploy/lite/readme.md @@ -125,7 +125,7 @@ cd build.opt/lite/api/ ``` # 【推荐】 下载PaddleOCR V2.0版本的中英文 inference模型 wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/slim/ch_ppocr_mobile_v2.0_det_slim_infer.tar && tar xf ch_ppocr_mobile_v2.0_det_slim_infer.tar -wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/slim/ch_ppocr_mobile_v2.0_rec_slim_nfer.tar && tar xf ch_ppocr_mobile_v2.0_rec_slim_infer.tar +wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/slim/ch_ppocr_mobile_v2.0_rec_slim_infer.tar && tar xf ch_ppocr_mobile_v2.0_rec_slim_infer.tar wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/slim/ch_ppocr_mobile_v2.0_cls_slim_infer.tar && tar xf ch_ppocr_mobile_v2.0_cls_slim_infer.tar # 转换V2.0检测模型 ./opt --model_file=./ch_ppocr_mobile_v2.0_det_slim_infer/inference.pdmodel --param_file=./ch_ppocr_mobile_v2.0_det_slim_infer/inference.pdiparams --optimize_out=./ch_ppocr_mobile_v2.0_det_slim_opt --valid_targets=arm --optimize_out_type=naive_buffer @@ -238,7 +238,7 @@ use_direction_classify 0 # 是否使用方向分类器,0表示不使用,1 上述步骤完成后就可以使用adb将文件push到手机上运行,步骤如下: ``` - # 执行编译,得到可执行文件ocr_db_crnn + # 执行编译,得到可执行文件ocr_db_crnn, 第一次执行此命令会下载opencv等依赖库,下载完成后,需要再执行一次 make -j # 将编译的可执行文件移动到debug文件夹中 diff --git a/deploy/lite/readme_en.md b/deploy/lite/readme_en.md index c458823607db8f60bead879cd41c3c5af51d687f..ec36de35b8882d1b81d8e2e2f9aa5f68d510d28d 100644 --- a/deploy/lite/readme_en.md +++ b/deploy/lite/readme_en.md @@ -238,6 +238,7 @@ After the above steps are completed, you can use adb to push the file to the pho ``` # Execute the compilation and get the executable file ocr_db_crnn + # The first execution of this command will download dependent libraries such as opencv. After the download is complete, you need to execute it again make -j # Move the compiled executable file to the debug folder mv ocr_db_crnn ./debug/