Skip to content

Commit

Permalink
[no-ci] updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkdrag committed Mar 14, 2024
1 parent 5246bfc commit a1b90f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]
push:
branches: [ master ]
paths-ignore: [ '**.md' ]
paths-ignore: [ '**.rst' ]
pull_request:
branches: [ master ]

Expand Down
14 changes: 11 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Parse bank cheques
Quickstart
==========

ocrtoolkit is available on PyPI and can be installed with `pip <https://pip.pypa.io>`_.
ocrtoolkit is available on PyPI and can be installed with `pip <https://pypi.org/project/ocrtoolkit/>`_.

.. code-block:: console
Expand All @@ -19,7 +19,15 @@ Here is a simple example:

.. code-block:: python
import ocrtoolkit
# Fill this section in with the common use-case.
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 <http://ocrtoolkit.readthedocs.io>`_ provides API-level documentation.

0 comments on commit a1b90f8

Please sign in to comment.