diff --git a/README.md b/README.md index 5add581..5b77e7d 100644 --- a/README.md +++ b/README.md @@ -252,11 +252,15 @@ cv2.imwrite("result.jpg", im) [crawlab](https://github.com/crawlab-team/crawlab) -# 交流群 (加我好友拉你进群) +# 交流群 (个人微信太懒了不一定会通过) - ![五群链接](https://cdn.wenanzhe.com/img/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20220929101325.jpg!/scale/50) + ![六群链接](https://cdn.wenanzhe.com/img/group.jpg!/scale/50) ![Test](https://cdn.wenanzhe.com/img/mmqrcode1640418911274.png!/scale/50) +# 主要贡献者 + + + ## Star 历史 [![Star History Chart](https://api.star-history.com/svg?repos=sml2h3/ddddocr&type=Date)](https://star-history.com/#sml2h3/ddddocr&Date) diff --git a/ddddocr/README.md b/ddddocr/README.md index 1af065c..266e899 100644 --- a/ddddocr/README.md +++ b/ddddocr/README.md @@ -1,11 +1,8 @@ -![header.png](https://z3.ax1x.com/2021/07/02/R6Ih28.jpg) +![header.png](https://cdn.wenanzhe.com/img/68747470733a2f2f7a332e617831782e636f6d2f323032312f30372f30322f5236496832382e6a7067.jfif) # 带带弟弟OCR通用验证码识别SDK免费开源版 - - - -# 当前版本为1.4.8 +# 当前版本为1.4.9 ## 1.4.3更新内容 @@ -157,12 +154,12 @@ with open("test.jpg", 'rb') as f: res = ocr.classification(image) print(res) ``` -由于事实上确实在一些图片上老版本的模型识别效果比新模型好,特地这次更新把老模型也加入进去了,通过在初始化ddddocr的时候使用old参数即可快速切换老模型 +通过在初始化ddddocr的时候使用beta参数即可快速切换新模型 ```python import ddddocr -ocr = ddddocr.DdddOcr(old=True) +ocr = ddddocr.DdddOcr(beta=True) with open("test.jpg", 'rb') as f: image = f.read() @@ -231,7 +228,7 @@ cv2.imwrite("result.jpg", im) ## 环境支持 -`python <= 3.10` +`python <= 3.9` `Windows/Linux/Macos..` @@ -255,10 +252,15 @@ cv2.imwrite("result.jpg", im) [crawlab](https://github.com/crawlab-team/crawlab) -# 交流群 (加我好友拉你进群) +# 交流群 (个人微信太懒了不一定会通过) - ![四群链接](https://cdn.wenanzhe.com/img/1d5ec7445d745a4d6790df352e1abb5.png!/scale/50) + ![六群链接](https://cdn.wenanzhe.com/img/group.jpg!/scale/50) ![Test](https://cdn.wenanzhe.com/img/mmqrcode1640418911274.png!/scale/50) +# 主要贡献者 - + + +## Star 历史 + +[![Star History Chart](https://api.star-history.com/svg?repos=sml2h3/ddddocr&type=Date)](https://star-history.com/#sml2h3/ddddocr&Date) diff --git a/ddddocr/requirements.txt b/ddddocr/requirements.txt index acd45a4..88e9649 100644 --- a/ddddocr/requirements.txt +++ b/ddddocr/requirements.txt @@ -1,4 +1,4 @@ onnxruntime -Pillow=9.5.0 +Pillow==9.5.0 numpy opencv-python \ No newline at end of file diff --git a/setup.py b/setup.py index c339510..ab03bae 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="ddddocr", - version="1.4.8", + version="1.4.9", author="sml2h3", description="带带弟弟OCR", long_description=long_description, @@ -27,11 +27,12 @@ setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], install_requires=['numpy', 'onnxruntime', 'Pillow', 'opencv-python-headless'], - python_requires='<3.11', + python_requires='<3.12', include_package_data=True, install_package_data=True, )