Skip to content
EigenTech آيجينتك
All EigenTech projects

Warraq · Arabic OCR by EigenTech

From old printed documents and manuscripts to fully editable, searchable text

Warraq reads governmental documents, old printed books and manuscripts line by line, corrects its reading in the context of the whole page, and returns text that can be edited, searched and published. It is developed, ready for use, and runs entirely on our servers in Saudi Arabia.

  • Developed and ready for use
  • Governmental documents and manuscripts
  • Hosted on our servers in Saudi Arabia
Three manuscript pages in different Arabic scripts, of the kind that Warraq reads.

A real reading of a two-page manuscript spread

lines
44
words
524
seconds
16

Video

Warraq at work, in under three minutes

How Warraq reads a page line by line, how it turns any document into a structured text document, and how it takes a complete manuscript to an authenticated book.

01Warraq

What Warraq reads

Warraq is named after the warraqs, the copyists who copied and kept the books of the Islamic civilisation. In the same way, Warraq reads the page line by line, corrects its reading in the context of the whole page, and returns text that can be edited, searched and published.

Warraq is trained on the documents that our customers need to read most.

  • Governmental documents

    Letters, decisions, registers and forms, printed or handwritten, including pages that mix Arabic and English.

  • Old printed books

    Books and periodicals printed over the last two centuries, including lithographic prints.

  • Manuscripts

    Manuscripts in Eastern and Maghribi scripts, with their notes in the margins and the wear of centuries.

Input
PDF files and images (JPG, PNG, TIFF, BMP and WebP), up to 30 files and 100 pages in one upload.
Output
Editable text for every page, linked to its lines, with export to TXT, Markdown or JSON. The text can be searched and edited in any system.

Warraq at work

The screen below is a real reading by Warraq of a two-page spread from a manuscript in Islamic jurisprudence (fiqh).

www.eigentech.ai/ocr
The Warraq screen: on one side the manuscript spread with a box around every line that Warraq detected, on the other side the text of the lines, with the figures of the reading above it.
Warraq at www.eigentech.ai/ocr
  1. 1

    The original page, with every line that Warraq detected.

  2. 2

    The text of each line, ready to copy and edit.

  3. 3

    Smart correction: Warraq corrects its reading using the context of the whole page.

  4. 4

    Export of the text to TXT, Markdown or JSON.

Result of this reading

spread
1
lines
44
words
524
seconds
16

02Capabilities

More than text extraction

Warraq works on any type of document, and it takes a complete manuscript, with all its copies, to an authenticated book.

Any document, to a structured text document

Warraq works on any type of document. It divides the page into headings, text, tables and images, then generates a structured text document that keeps the layout of the page.

  • Headings, text, tables and images detected on every page
  • A structured text document that keeps the layout of the page
  • Export to TXT, Markdown or JSON
On one side an original document with its heading, text, table and image marked; on the other side the structured text document that Warraq generated from it.
Illustration from the Warraq video
A page of an authenticated book generated by Warraq, with the variants between the copies in its notes.
Illustration from the Warraq video

From a complete manuscript to an authenticated book

Editing a manuscript (taḥqīq) takes years of work, and most of this time goes into transcribing the copies and comparing them word by word. Therefore, Warraq does this work for the editor:

  1. 1Warraq takes the complete manuscript, with all its copies.
  2. 2It extracts the text of every copy, line by line.
  3. 3It collates the copies and records the variants in the notes.
  4. 4It references the verses, hadith and quotations.
  5. 5And it produces the authenticated book, ready for print.

03Our advantages

Why Warraq

  1. The most accurate

    Warraq is trained on Arabic governmental documents and manuscripts, and it corrects its reading in the context of the whole page. This makes Warraq the most accurate Arabic OCR system for these documents.

  2. Hosted in Saudi Arabia

    The whole technology runs on our servers in Saudi Arabia, without public tools or public language models. Therefore, the documents and their data stay in the Kingdom.

  3. Ready now

    Warraq is developed and ready for use. It reads a two-page manuscript spread of 524 words in 16 seconds.

  4. Built for each customer

    We adapt Warraq to the documents, the scripts and the systems of each organisation.

How Warraq is built

Warraq is built on the latest OCR and foundation models. We adapted these models to Arabic and trained them on a large dataset of Arabic pages, collected according to the needs of our customers (i.e. governmental documents, old printed books and manuscripts).

  1. 01

    Preparation

    Each image is straightened, cleaned and enhanced, and the page is divided into its regions.

  2. 02

    Layout and lines

    The text is separated from images, tables and margins, and every line is detected.

  3. 03

    Reading

    Our models read each line, with its connected letters, dots and diacritics.

  4. 04

    Smart correction

    The reading is corrected using the context of the whole page.

  5. 05

    Delivery

    The text is delivered as editable and searchable documents, or exported to your systems.

Built and hosted in Saudi Arabia

All of Warraq runs on our own servers in Saudi Arabia. No page is sent to public tools or public language models, so your documents never leave the Kingdom.

04Working with us

Two ways to work with us

1

Document processing under NDA

You send us your documents under a non-disclosure agreement (NDA). We process them on our servers in Saudi Arabia, review and authenticate the results, and return complete documents that are readable, editable and searchable.

  • The NDA is signed before any document is received
  • Processing on our servers in Saudi Arabia
  • Review and authentication of the text
  • Delivery of editable and searchable documents
2

Warraq for your organisation

We give your organisation its own access to Warraq, and we customise it for your documents and your workflow (e.g. the types of documents, the export formats and the user accounts).

  • Web interface in Arabic and English
  • Upload of PDF files and images, up to 100 pages at a time
  • Export to TXT, Markdown or JSON
  • Customised to your documents and your systems

In both models, your documents stay in Saudi Arabia.

Talk to us about your documents

05Who we work with

Who we work with

Our work is for organisations that keep Arabic texts on paper and need to read them, search them or publish them.

  • Government bodies

    Turning paper records, letters and decisions into searchable text.

  • Libraries and manuscript collections

    Digitising manuscripts and rare books, and making the collections searchable for researchers.

  • Editors of manuscripts

    Faster transcription and collation of the copies of a manuscript.

  • Publishers

    New printed and digital editions of heritage books that are out of print.

  • Universities and research centres

    Searchable collections for research and teaching.

  • Companies

    Contracts, deeds and records in Arabic and English.

06Contact

Tell us about your documents

To process your documents with Warraq, or to give your organisation access to it, contact us. We reply within two working days.

Address8549 Al Hassan Al Missani St., Al Iskan Dist., Madinah 42317-2727, Kingdom of Saudi Arabia