Is there a way to use OCR to convert from an Arabic

Is there a way to use OCR to convert from an Arabic PDF file to
a Word file This is done via PHP I used it
GitHub - A9T9/OCR.Space-OCR-API-Code-Snippets: Misc. code snippets for calling the OCR API etc” But do not
convert Arabic language files from where do you select the language?

The OCR API can convert an Arabic PDF to an Arabic searchable PDF and to plain text. The plain text can then be copied into a Word document.

But the API can not convert a PDF to a Word document including all the formatting, at least not yet.