Skip to content

Commit 71db784

Browse files
committed
full description
1 parent d88959f commit 71db784

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
1-
# EasyOCR Wrapper
1+
# EasyOCR-wrapper
22

33
## Description
44

5-
Runs EasyOCR on timeframes from a video document.
5+
Wrapper for [EasyOCR](https://github.com/JaidedAI/EasyOCR?tab=readme-ov-file) end-to-end text detection and recognition.
6+
The wrapper takes a [`VideoDocument`]('http://mmif.clams.ai/vocabulary/VideoDocument/v1') with SWT
7+
[`TimeFrame`]('http://mmif.clams.ai/vocabulary/TimeFrame/v1') annotations and
8+
returns [`BoundingBox`]('http://mmif.clams.ai/vocabulary/BoundingBox/v1') and
9+
[`TextDocument`]('http://mmif.clams.ai/vocabulary/TextDocument/v1') [aligned]('http://mmif.clams.ai/vocabulary/Alignment/v1')
10+
with [`TimePoint`]('http://mmif.clams.ai/vocabulary/TimePoint/v1') annotations from the middle frame of each TimeFrame.
11+
12+
EasyOCR seems to handle reading order, but there isn't much documentation regarding the implementation. Regardless,
13+
the `BoundingBoxes` and `TextDocuments` are ordered within each `TimePoint` so reading order can be inferred from the
14+
annotation ids.
15+
16+
Here's the framework from the EasyOCR repo:
17+
![EasyOCR Framework](https://github.com/JaidedAI/EasyOCR/raw/master/examples/easyocr_framework.jpeg)
618

719
## User instruction
820

921
General user instructions for CLAMS apps is available at [CLAMS Apps documentation](https://apps.clams.ai/clamsapp).
1022

1123
### System requirements
1224

13-
* Much faster with GPU
14-
* Container only supports CPU at the moment
15-
25+
- Requires mmif-python[cv] for the `VideoDocument` helper functions
26+
- Requires GPU to run at a reasonable speed
1627

1728
### Configurable runtime parameter
1829

19-
Although all CLAMS apps are supposed to run as *stateless* HTTP servers, some apps can configured at request time using [URL query strings](https://en.wikipedia.org/wiki/Query_string). For runtime parameter supported by this app, please visit [CLAMS App Directory](https://apps.clams.ai) and look for the app name and version.
30+
For the full list of parameters, please refer to the app metadata from [CLAMS App Directory](https://apps.clams.ai) or [`metadata.py`](metadata.py) file in this repository.

0 commit comments

Comments
 (0)