Can we use OCR Engine 5 for free OCR API

I am using free OCR API to test if it fits our requirements. I need to read PDF files some of the files have background color so with a regular engine it’s unable to read. I tried with OCR Engine 5 in postman it is working correctly. But through code, it’s not considering the OCREngine=5 parameter I tried passing in the body and header.

Engine5 can be used in the free OCR API plan.

I tried with OCR Engine 5 in postman it is working correctly. But through code, it’s not considering the OCREngine=5 parameter I tried passing in the body and header.

If it works in Postman, then the issue is with your code. Does OCREngine=2 work for you?

Thanks for the quick reply!
OCREngine parameter not working, I am passing Base64Image of the PDF file. Does it causes any issue?

But you mention all works ok when tested with Postman?

Yes, that’s correct! I tried passing parameters with Header and Body but not working (same happens with language, isOverlayRequired parameters)

I recommend to use the PostMan Code Export feature to generate working code, see here:

1 Like