Give me an api end point to send an image to, and a text response. Ill hand you cash.
Abbyy (best recognition rate but by far most expensive), Google Cloud Vision (second best recognition rate), Microsoft OCR and... our OCR.space service with a very generous free tier and a competitive priced PRO tier.
They should have an API to point to. It is fairly accurate. I use them occasionally via ShareX, which uses their API for OCR.
If your images however differ from the typical text document, recognition from those services will fail. OCR is highly dependent on the particular application and the kind of images that you're dealing with. Preprocessing and segmentation are very important.
If you need a custom solution, my email is in my profile.