diff --git a/doc/doc_ch/inference.md b/doc/doc_ch/inference.md index aea7ff1de242dec75cae26a2bf3d6838d7559882..09303e93534b091ee50cb6d62045b95faee6cfe5 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 db86b109d1a13d00aab833aa31d0279622e7c7f8..3fcd36c076c7d969420818484034ed610e76bc27 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 0000000000000000000000000000000000000000..5c3329a8a0e64cb251cb5f6719d177146e75b866 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 0000000000000000000000000000000000000000..448d0f11209f4328e4097777007fdff97efbee7b 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 0000000000000000000000000000000000000000..9d6aaee181913ef0d6c82b1728bc71de3130a804 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 0000000000000000000000000000000000000000..e768d8adfc5882ffac6e332ce858a175dd4a5bb7 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 0000000000000000000000000000000000000000..698e0dfc5334d64536bf9211fb2edcb5ed429186 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 0000000000000000000000000000000000000000..82a45c47bb87934ecdf599c4339de103ab965277 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 0000000000000000000000000000000000000000..0b5b656a160dfebe355e5ad58639de1170845e3f 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 0000000000000000000000000000000000000000..1f832d7903e26a89148e18724d0561b926508cc7 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 0000000000000000000000000000000000000000..2aae5f7cb8829429d1564a345aa726ad426b6ec0 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 0000000000000000000000000000000000000000..e278adfb5973e44a437689a92ffac3ea882a5164 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 08010177fed2ee8c3709912c06c0b161ba546313..0000000000000000000000000000000000000000 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 a73e25dbdcdc30135804104934f5aae491d43ca8..0000000000000000000000000000000000000000 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 ed91b8c5ca2a348fe7b138e83114ff81ecb107de..0000000000000000000000000000000000000000 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 3cd2e79182045726c46c68673fc0998fae927d17..0000000000000000000000000000000000000000 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 16e931ac69c7c99b813947c444b4a0be648b46d8..0000000000000000000000000000000000000000 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 180dcac005f28edae5b91fe9d99f05bd8471856a..0000000000000000000000000000000000000000 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 a1adf38cd185b8a650c18226556ec0ba7a2a17f6..0000000000000000000000000000000000000000 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 811d2450e0a98bcfcef6980b08e6082d4f468bcf..0000000000000000000000000000000000000000 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 9bd1129d6724abc2fb541189df148c5c14721c64..0000000000000000000000000000000000000000 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 3bd6ca2bdacbdf63cf151ae4b1bab41688379510..0000000000000000000000000000000000000000 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 9669f7780d7eb9072b0befa2d043e55be9dcce1f..0000000000000000000000000000000000000000 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 8517e125c5e660f1bc603a844f946c68086e4616..0000000000000000000000000000000000000000 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 2705e262b337e565f0cbdde0914c6ef41275ebba..0000000000000000000000000000000000000000 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 8dabd03f577ba7a510647304ca1c60e51fb6e65c..0000000000000000000000000000000000000000 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 8633c6d2dc25a73c31ec1164fe6c651497295977..0000000000000000000000000000000000000000 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 99f7e63b02556506dadf8d838eee22534d21d82c..0000000000000000000000000000000000000000 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 0000000000000000000000000000000000000000..02f35de332cb15594404c6a7df100f7b80e7c410 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 c0ae501a7aff7807f53b743745005653775b0d03..0000000000000000000000000000000000000000 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 d1255f49d9d371d4b91d98c6750a10a01f56b629..0000000000000000000000000000000000000000 Binary files a/doc/imgs_results/det_res_22.jpg and /dev/null differ