ajkdrag / ocrtoolkit

Experiment and integrate with different OCR frameworks seamlessly

Home Page:https://ajkdrag.github.io/ocrtoolkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub-Pages deployment status PyPI - Version

ocrtoolkit

Versatile Python package for seamlessly integrating and experimenting with various OCR and Object Detection frameworks.

ocrtoolkit is available on PyPI and can be installed with pip. Supports integrations with:

$ pip install ocrtoolkit

After installing ocrtoolkit you can use it like any other Python module.

Here is a simple example:

from ocrtoolkit.models import UL_YOLOV8
from ocrtoolkit.datasets import FileDS
from ocrtoolkit.core import detect

ds = FileDS("some_images_dir")
mini_ds = ds.sample()
model = UL_YOLOV8()

l_results = detect(model, mini_ds, stream=False)

The API Reference provides API-level documentation

Refer notebooks for examples on how to use the modules.

About

Experiment and integrate with different OCR frameworks seamlessly

https://ajkdrag.github.io/ocrtoolkit/

License:Apache License 2.0


Languages

Language:Jupyter Notebook 96.7%Language:Python 3.2%Language:Makefile 0.1%Language:Shell 0.0%