Try RunOCR API
$ curl -X POST -F "file=@/path/to/file.jpg" -F "output_format=line_array" https://www.runocr.com/api/v1/guest
Headers: Accept: application/json Authorization: Bearer _token (Optional)
formats: plain_text, line_array, word_array, line_and_word_array
Try RunOCR
Supported file formats as of V2 are jpg,png,jpeg,webp,pdf.