Merge pull request #334 from LDOUBLEV/fixocr

opt inference readme
This commit is contained in:
MissPenguin 2020-07-15 10:27:11 +08:00 committed by GitHub
commit 521cc4feec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ python3 tools/export_model.py -c configs/det/det_r50_vd_east.yml -o Global.check
EAST文本检测模型推理需要设置参数det_algorithm指定检测算法类型为EAST可以执行如下命令
```
python3 tools/infer/predict_det.py --image_dir="./doc/imgs_en/img_10.jpg" --det_model_dir="./inference/det_east/" --det_algorithm="EAST"
python3 tools/infer/predict_det.py --det_algorithm="EAST" --image_dir="./doc/imgs_en/img_10.jpg" --det_model_dir="./inference/det_east/"
```
可视化文本检测结果默认保存到 ./inference_results 文件夹里面,结果文件的名称前缀为'det_res'。结果示例如下: