diff --git a/doc/doc_ch/inference.md b/doc/doc_ch/inference.md index aea7ff1de2..09303e9353 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 db86b109d1..3fcd36c076 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 0000000000..5c3329a8a0 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 0000000000..448d0f1120 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 0000000000..9d6aaee181 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 0000000000..e768d8adfc 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 0000000000..698e0dfc53 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 0000000000..82a45c47bb 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 0000000000..0b5b656a16 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 0000000000..1f832d7903 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 0000000000..2aae5f7cb8 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 0000000000..e278adfb59 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 08010177fe..0000000000 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 a73e25dbdc..0000000000 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 ed91b8c5ca..0000000000 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 3cd2e79182..0000000000 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 16e931ac69..0000000000 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 180dcac005..0000000000 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 a1adf38cd1..0000000000 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 811d2450e0..0000000000 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 9bd1129d67..0000000000 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 3bd6ca2bda..0000000000 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 9669f7780d..0000000000 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 8517e125c5..0000000000 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 2705e262b3..0000000000 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 8dabd03f57..0000000000 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 8633c6d2dc..0000000000 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 99f7e63b02..0000000000 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 0000000000..02f35de332 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 c0ae501a7a..0000000000 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 d1255f49d9..0000000000 Binary files a/doc/imgs_results/det_res_22.jpg and /dev/null differ