NekoImageLand / EasyPaddleOCR

A simple package for PaddleOCR on CPU and GPU using PyTorch

Home Page:https://pypi.org/project/easypaddleocr

Repository from Github https://github.comNekoImageLand/EasyPaddleOCRRepository from Github https://github.comNekoImageLand/EasyPaddleOCR

EasyPaddleOCR

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

Usage

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

Additional Notes:

This repository was originally the Fork of https://github.com/WenmuZhou/PytorchOCR

About

A simple package for PaddleOCR on CPU and GPU using PyTorch

https://pypi.org/project/easypaddleocr

License:GNU Affero General Public License v3.0


Languages

Language:Python 99.6%Language:Cython 0.4%