cleanocr-0.1.4
توضیحات
Automatically denoise degraded document images to improve ocr engine
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cleanocr-0.1.4 |
| نام | cleanocr |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | prenes |
| ایمیل نویسنده | prenes.contact@gmail.com |
| آدرس صفحه اصلی | https://www.prenes.org/ |
| آدرس اینترنتی | https://pypi.org/project/cleanocr/ |
| مجوز | MIT |
<img alt="face-recognition-plugin" src="https://user-images.githubusercontent.com/82228271/189012182-7cd4d760-90d1-4f78-8003-1e01538c3321.png">
## Installation
```
pip install cleanocr
```
## Documentation
```
import cv2
from cleanocr import denoise_ocr
image = cv2.imread('test.png')
result = denoise_ocr(image)
cv2.imwrite('result.png', result)
```
## How it works

نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.0,<2.0.0 | poetry |
| ==1.11.0 | torch |
| ==4.5.3.56 | opencv-python |
| ==0.12.0 | torchvision |
| >=4.64.1,<5.0.0 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl cleanocr-0.1.4:
pip install cleanocr-0.1.4.whl
نصب پکیج tar.gz cleanocr-0.1.4:
pip install cleanocr-0.1.4.tar.gz