From 6a735daa606aa50e172c8cd6d82f18d94e8e9ea8 Mon Sep 17 00:00:00 2001 From: vahidrezanezhad Date: Sun, 31 Aug 2025 23:30:54 +0200 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a2c4a4..1adc3d7 100644 --- a/README.md +++ b/README.md @@ -118,10 +118,29 @@ eynollah binarization \ ``` ### OCR -Under development +The OCR module performs text recognition from images using two main families of pretrained models: CNN-RNN–based OCR and Transformer-based OCR. + +The command-line interface for ocr can be called like this: + +```sh +eynollah ocr \ + -m | --model_name \ + -i | -di \ + -dx \ + -o +``` ### Machine-based-reading-order -Under development +The machine-based reading-order module employs a pretrained model to identify the reading order from layouts represented in PAGE-XML files. + +The command-line interface for machine based reading order can be called like this: + +```sh +eynollah machine-based-reading-order \ + -m \ + -xml | -dx \ + -o +``` #### Use as OCR-D processor Eynollah ships with a CLI interface to be used as [OCR-D](https://ocr-d.de) [processor](https://ocr-d.de/en/spec/cli),