diff --git a/doc/doc_ch/inference.md b/doc/doc_ch/inference.md index aea7ff1d..09303e93 100755 --- a/doc/doc_ch/inference.md +++ b/doc/doc_ch/inference.md @@ -131,12 +131,12 @@ python3 tools/export_model.py -c configs/cls/cls_mv3.yml -o Global.pretrained_mo # 下载超轻量中文检测模型: wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_infer.tar tar xf ch_ppocr_mobile_v2.0_det_infer.tar -python3 tools/infer/predict_det.py --image_dir="./doc/imgs/22.jpg" --det_model_dir="./ch_ppocr_mobile_v2.0_det_infer/" +python3 tools/infer/predict_det.py --image_dir="./doc/imgs/00018069.jpg" --det_model_dir="./ch_ppocr_mobile_v2.0_det_infer/" ``` 可视化文本检测结果默认保存到`./inference_results`文件夹里面,结果文件的名称前缀为'det_res'。结果示例如下: -![](../imgs_results/det_res_22.jpg) +![](../imgs_results/det_res_00018069.jpg) 通过参数`limit_type`和`det_limit_side_len`来对图片的尺寸进行限制, `litmit_type`可选参数为[`max`, `min`], diff --git a/doc/doc_en/inference_en.md b/doc/doc_en/inference_en.md index db86b109..3fcd36c0 100755 --- a/doc/doc_en/inference_en.md +++ b/doc/doc_en/inference_en.md @@ -138,12 +138,12 @@ For lightweight Chinese detection model inference, you can execute the following wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_infer.tar tar xf ch_ppocr_mobile_v2.0_det_infer.tar # predict -python3 tools/infer/predict_det.py --image_dir="./doc/imgs/22.jpg" --det_model_dir="./inference/det_db/" +python3 tools/infer/predict_det.py --image_dir="./doc/imgs/00018069.jpg" --det_model_dir="./inference/det_db/" ``` The visual text detection results are saved to the ./inference_results folder by default, and the name of the result file is prefixed with'det_res'. Examples of results are as follows: -![](../imgs_results/det_res_22.jpg) +![](../imgs_results/det_res_00018069.jpg) You can use the parameters `limit_type` and `det_limit_side_len` to limit the size of the input image, The optional parameters of `litmit_type` are [`max`, `min`], and diff --git a/doc/imgs/00006737.jpg b/doc/imgs/00006737.jpg new file mode 100755 index 00000000..5c3329a8 Binary files /dev/null and b/doc/imgs/00006737.jpg differ diff --git a/doc/imgs/00009282.jpg b/doc/imgs/00009282.jpg new file mode 100755 index 00000000..448d0f11 Binary files /dev/null and b/doc/imgs/00009282.jpg differ diff --git a/doc/imgs/00015504.jpg b/doc/imgs/00015504.jpg new file mode 100755 index 00000000..9d6aaee1 Binary files /dev/null and b/doc/imgs/00015504.jpg differ diff --git a/doc/imgs/00018069.jpg b/doc/imgs/00018069.jpg new file mode 100755 index 00000000..e768d8ad Binary files /dev/null and b/doc/imgs/00018069.jpg differ diff --git a/doc/imgs/00056221.jpg b/doc/imgs/00056221.jpg new file mode 100755 index 00000000..698e0dfc Binary files /dev/null and b/doc/imgs/00056221.jpg differ diff --git a/doc/imgs/00057937.jpg b/doc/imgs/00057937.jpg new file mode 100755 index 00000000..82a45c47 Binary files /dev/null and b/doc/imgs/00057937.jpg differ diff --git a/doc/imgs/00059985.jpg b/doc/imgs/00059985.jpg new file mode 100755 index 00000000..0b5b656a Binary files /dev/null and b/doc/imgs/00059985.jpg differ diff --git a/doc/imgs/00077949.jpg b/doc/imgs/00077949.jpg new file mode 100755 index 00000000..1f832d79 Binary files /dev/null and b/doc/imgs/00077949.jpg differ diff --git a/doc/imgs/00111002.jpg b/doc/imgs/00111002.jpg new file mode 100755 index 00000000..2aae5f7c Binary files /dev/null and b/doc/imgs/00111002.jpg differ diff --git a/doc/imgs/00207393.jpg b/doc/imgs/00207393.jpg new file mode 100755 index 00000000..e278adfb Binary files /dev/null and b/doc/imgs/00207393.jpg differ diff --git a/doc/imgs/1.jpg b/doc/imgs/1.jpg deleted file mode 100644 index 08010177..00000000 Binary files a/doc/imgs/1.jpg and /dev/null differ diff --git a/doc/imgs/10.jpg b/doc/imgs/10.jpg deleted file mode 100755 index a73e25db..00000000 Binary files a/doc/imgs/10.jpg and /dev/null differ diff --git a/doc/imgs/11.jpg b/doc/imgs/11.jpg deleted file mode 100755 index ed91b8c5..00000000 Binary files a/doc/imgs/11.jpg and /dev/null differ diff --git a/doc/imgs/12.jpg b/doc/imgs/12.jpg deleted file mode 100644 index 3cd2e791..00000000 Binary files a/doc/imgs/12.jpg and /dev/null differ diff --git a/doc/imgs/13.png b/doc/imgs/13.png deleted file mode 100644 index 16e931ac..00000000 Binary files a/doc/imgs/13.png and /dev/null differ diff --git a/doc/imgs/15.jpg b/doc/imgs/15.jpg deleted file mode 100644 index 180dcac0..00000000 Binary files a/doc/imgs/15.jpg and /dev/null differ diff --git a/doc/imgs/16.png b/doc/imgs/16.png deleted file mode 100644 index a1adf38c..00000000 Binary files a/doc/imgs/16.png and /dev/null differ diff --git a/doc/imgs/2.jpg b/doc/imgs/2.jpg deleted file mode 100644 index 811d2450..00000000 Binary files a/doc/imgs/2.jpg and /dev/null differ diff --git a/doc/imgs/22.jpg b/doc/imgs/22.jpg deleted file mode 100644 index 9bd1129d..00000000 Binary files a/doc/imgs/22.jpg and /dev/null differ diff --git a/doc/imgs/3.jpg b/doc/imgs/3.jpg deleted file mode 100644 index 3bd6ca2b..00000000 Binary files a/doc/imgs/3.jpg and /dev/null differ diff --git a/doc/imgs/4.jpg b/doc/imgs/4.jpg deleted file mode 100755 index 9669f778..00000000 Binary files a/doc/imgs/4.jpg and /dev/null differ diff --git a/doc/imgs/5.jpg b/doc/imgs/5.jpg deleted file mode 100644 index 8517e125..00000000 Binary files a/doc/imgs/5.jpg and /dev/null differ diff --git a/doc/imgs/6.jpg b/doc/imgs/6.jpg deleted file mode 100644 index 2705e262..00000000 Binary files a/doc/imgs/6.jpg and /dev/null differ diff --git a/doc/imgs/8.jpg b/doc/imgs/8.jpg deleted file mode 100755 index 8dabd03f..00000000 Binary files a/doc/imgs/8.jpg and /dev/null differ diff --git a/doc/imgs/9.jpg b/doc/imgs/9.jpg deleted file mode 100644 index 8633c6d2..00000000 Binary files a/doc/imgs/9.jpg and /dev/null differ diff --git a/doc/imgs_results/2.jpg b/doc/imgs_results/2.jpg deleted file mode 100644 index 99f7e63b..00000000 Binary files a/doc/imgs_results/2.jpg and /dev/null differ diff --git a/doc/imgs_results/det_res_00018069.jpg b/doc/imgs_results/det_res_00018069.jpg new file mode 100644 index 00000000..02f35de3 Binary files /dev/null and b/doc/imgs_results/det_res_00018069.jpg differ diff --git a/doc/imgs_results/det_res_2.jpg b/doc/imgs_results/det_res_2.jpg deleted file mode 100644 index c0ae501a..00000000 Binary files a/doc/imgs_results/det_res_2.jpg and /dev/null differ diff --git a/doc/imgs_results/det_res_22.jpg b/doc/imgs_results/det_res_22.jpg deleted file mode 100644 index d1255f49..00000000 Binary files a/doc/imgs_results/det_res_22.jpg and /dev/null differ