edenai/edenai-apis

OCR for PDF always return empty string

aleksapetkovic25 opened this issue · 3 comments

Why google always return empty string for pdf document?

Hello @aleksapetkovic25 ,

Can you provide more information about the issue you are having, for example a sample file we can test with or the language in which the file is written !

Are you always having this issue, or it only happens sometimes ?

Hello @aleksapetkovic25 ,

Really sorry for my late response, I was absent these recent days, we will investigate this concert and let you know as soon as possible.

As a first thought, most (if it's not all) ocr providers does not support PDF files, however, it's still weird that google returns an empty response instead of a bad request.

In the meantime, I can suggest you to use ocr_async which is more suitable for PDF files,

Best regards,

Adnane