diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..3db08180f2dfb225d3c318b175d6649c123ab0c5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,18 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+inference/
+inference_results/
+output/
+
+*.DS_Store
+*.vs
+*.user
+*~
+*.vscode
+*.idea
diff --git a/README.md b/README.md
index 258581b6be8450f385b8b20856913a1eb0474e91..8c2094ff70fa5104b00b9e9be40edd80beb60f8e 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ PaddleOCR旨在打造一套丰富、领先、且实用的OCR工具库,助力
![](doc/imgs_results/11.jpg)
-上图是超轻量级中文OCR模型效果展示,更多效果图请见文末[效果展示](#效果展示)。
+上图是超轻量级中文OCR模型效果展示,更多效果图请见文末[超轻量级中文OCR效果展示](#超轻量级中文OCR效果展示)和[通用中文OCR效果展示](#通用中文OCR效果展示)。
#### 1.环境配置
@@ -142,7 +142,7 @@ PaddleOCR文本识别算法的训练和使用请参考文档教程中[文本识
## 端到端OCR算法
- [ ] [End2End-PSL](https://arxiv.org/abs/1909.07808)(百度自研, comming soon)
-
+
## 超轻量级中文OCR效果展示
![](doc/imgs_results/1.jpg)
![](doc/imgs_results/7.jpg)
@@ -153,11 +153,36 @@ PaddleOCR文本识别算法的训练和使用请参考文档教程中[文本识
![](doc/imgs_results/16.png)
![](doc/imgs_results/22.jpg)
+
## 通用中文OCR效果展示
![](doc/imgs_results/chinese_db_crnn_server/11.jpg)
![](doc/imgs_results/chinese_db_crnn_server/2.jpg)
![](doc/imgs_results/chinese_db_crnn_server/8.jpg)
+## FAQ
+1. 预测报错:got an unexpected keyword argument 'gradient_clip'
+
+ 安装的paddle版本不对,目前本项目仅支持paddle1.7,近期会适配到1.8。
+
+2. 转换attention识别模型时报错:KeyError: 'predict'
+
+ 基于Attention损失的识别模型推理还在调试中。对于中文文本识别,建议优先选择基于CTC损失的识别模型,实践中也发现基于Attention损失的效果不如基于CTC损失的识别模型。
+
+3. 关于推理速度
+
+ 图片中的文字较多时,预测时间会增,可以使用--rec_batch_num设置更小预测batch num,默认值为30,可以改为10或其他数值。
+
+4. 服务部署与移动端部署
+
+ 预计6月中下旬会先后发布基于Serving的服务部署方案和基于Paddle Lite的移动端部署方案,欢迎持续关注。
+
+5. 自研算法发布时间
+
+ 自研算法SAST、SRN、End2End-PSL都将在6-7月陆续发布,敬请期待。
+
+## 欢迎加入PaddleOCR技术交流群
+加微信:paddlehelp,备注OCR,小助手拉你进群~
+
## 更新
- 2020.5.30,模型预测、训练支持Windows系统,识别结果的显示进行了优化
- 2020.5.30,开源通用中文OCR模型
diff --git a/doc/WeChat.jpeg b/doc/WeChat.jpeg
new file mode 100644
index 0000000000000000000000000000000000000000..c721b7d9e2871beed871e1f39a272850f5920545
Binary files /dev/null and b/doc/WeChat.jpeg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/1.jpg b/doc/imgs_results/chinese_db_crnn_server/1.jpg
index dfb363bfcb93dc2d74bbb3937618a7c0ac565d09..04838988a13cd09e280fc8c1c316d65471bfb7d8 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/1.jpg and b/doc/imgs_results/chinese_db_crnn_server/1.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/10.jpg b/doc/imgs_results/chinese_db_crnn_server/10.jpg
index f17ab6cd9ce3a70b29fef065fff937f07f50ee91..0ca280b859a46b8af272d76f53db42402417689d 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/10.jpg and b/doc/imgs_results/chinese_db_crnn_server/10.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/11.jpg b/doc/imgs_results/chinese_db_crnn_server/11.jpg
index 5dda91c122c0bb415c70398376d7cca77f13768b..d34ab7560b827152dbd13a40868a3c4a4c918c6c 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/11.jpg and b/doc/imgs_results/chinese_db_crnn_server/11.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/12.jpg b/doc/imgs_results/chinese_db_crnn_server/12.jpg
index 8964b34f382c30e36c969c863a22e48b176dcb68..ee33dd666d8838a058185cef84e0901e3306e714 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/12.jpg and b/doc/imgs_results/chinese_db_crnn_server/12.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/13.png b/doc/imgs_results/chinese_db_crnn_server/13.png
index 71246dc5367383fa2cdeb1e525fe3656390e001d..fb5b81c28301f8c1817b4be4a5665a1ea33841d6 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/13.png and b/doc/imgs_results/chinese_db_crnn_server/13.png differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/15.jpg b/doc/imgs_results/chinese_db_crnn_server/15.jpg
index 17a8a3288c20adceccdb38856084e2d53c703f97..fd51309c6bf06adfe41ebeb2156d11c8784f544d 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/15.jpg and b/doc/imgs_results/chinese_db_crnn_server/15.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/16.png b/doc/imgs_results/chinese_db_crnn_server/16.png
index 8462ab1030f3ac9db41f1856107775fa06e358c6..05679e18ce4019bec6c595d4250e1dd96e8d5f6e 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/16.png and b/doc/imgs_results/chinese_db_crnn_server/16.png differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/17.png b/doc/imgs_results/chinese_db_crnn_server/17.png
index a3e5989e8654303d762392a65f1ee548f21502ae..d57172bca5452d15cec000cd2dd29499b9cd4db4 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/17.png and b/doc/imgs_results/chinese_db_crnn_server/17.png differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/2.jpg b/doc/imgs_results/chinese_db_crnn_server/2.jpg
index fc59e25270f9664b0bb4e0cdf8e29584cbe33f92..08b6040973672e3b7223a5f60eb1dfadb2893c4f 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/2.jpg and b/doc/imgs_results/chinese_db_crnn_server/2.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/22.jpg b/doc/imgs_results/chinese_db_crnn_server/22.jpg
index 5cb4f5136855a57b436f16525e21966711f2d75d..19cca2ad7b179d35380cba3605a39e9a7350edc0 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/22.jpg and b/doc/imgs_results/chinese_db_crnn_server/22.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/3.jpg b/doc/imgs_results/chinese_db_crnn_server/3.jpg
index 2c9aedc30e45bed5f15eb0ba02164b168a2be425..35246cad823ae04374291aa6bab34a465d47b677 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/3.jpg and b/doc/imgs_results/chinese_db_crnn_server/3.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/4.jpg b/doc/imgs_results/chinese_db_crnn_server/4.jpg
index 89a3989a709371e9372797ca201d9e762bdb563c..f3e44f2b820b06afe596ba3ccd008fa11f6bd6f0 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/4.jpg and b/doc/imgs_results/chinese_db_crnn_server/4.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/5.jpg b/doc/imgs_results/chinese_db_crnn_server/5.jpg
index 095f65c520cf58bac00986e006577dca1366f343..e794068d394889c8b24c5c4893abc3192a16416d 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/5.jpg and b/doc/imgs_results/chinese_db_crnn_server/5.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/6.jpg b/doc/imgs_results/chinese_db_crnn_server/6.jpg
index 734908993fc2dc51f668324303741b5c2814da78..6d1ea84dad584e4e91642f56dbf73b7d7e22dc20 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/6.jpg and b/doc/imgs_results/chinese_db_crnn_server/6.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/7.jpg b/doc/imgs_results/chinese_db_crnn_server/7.jpg
index bc1a76d1c6247b7fa4152d609f6230ef71977ca7..943a5a7f359c32e920ae329f3dce985e49621761 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/7.jpg and b/doc/imgs_results/chinese_db_crnn_server/7.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/8.jpg b/doc/imgs_results/chinese_db_crnn_server/8.jpg
index 803748ec6809144eac29c6681c528e1de5b8688c..b6b0387f162cbe0e3f19df897d816655519e967e 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/8.jpg and b/doc/imgs_results/chinese_db_crnn_server/8.jpg differ
diff --git a/doc/imgs_results/chinese_db_crnn_server/9.jpg b/doc/imgs_results/chinese_db_crnn_server/9.jpg
index d9a991a488a970c654772fdf82dc7fa55f31e04e..cb9d7ff03e64aa437db1bd737a22cd8d8c2e3041 100644
Binary files a/doc/imgs_results/chinese_db_crnn_server/9.jpg and b/doc/imgs_results/chinese_db_crnn_server/9.jpg differ