An open API service indexing awesome lists of open source software.

https://github.com/pk5ls20/easypaddleocr

A simple package for PaddleOCR on CPU and GPU using PyTorch
https://github.com/pk5ls20/easypaddleocr

ocr ocr-python paddleocr paddlepaddle pytorch

Last synced: 8 months ago
JSON representation

A simple package for PaddleOCR on CPU and GPU using PyTorch

Awesome Lists containing this project

README

          

# EasyPaddleOCR
A simple, optional tool for **PaddleOCR Detection, direction classification and recognition on CPU and GPU using torch**.

## Usage
```python
import cv2
import numpy as np
from easypaddleocr import EasyPaddleOCR

easyPaddleOCR = EasyPaddleOCR(use_angle_cls=True, needWarmUp=True)
image_path = 'your-picture-filepath'
image_ndarray = np.array(cv2.imread(image_path))
result = easyPaddleOCR.ocr(image_ndarray)
print(result)
```
## Reference
- https://github.com/WenmuZhou/PytorchOCR
- https://github.com/PaddlePaddle/PaddleOCR
- https://github.com/frotms/PaddleOCR2Pytorch

## Additional Notes:
**This repository was originally the Fork of https://github.com/WenmuZhou/PytorchOCR**