Base64 issue from camera

I am working on my

project and I am tryin to integrate the OCR.SPACE API with my project. I
am currently trying to upload an image by making my device to capture
the image from its camera which convets the image into a base64 format
before it’s uploaded to extract the words from the image. While my code
works, the image as a base64 format seems to be submitted by the form
and uploaded to this URL “”, it doesn’t
seem to return any resutls. I tried scanning images with text in it and
still doens’t produce any results. I have uploaded the code in my GitHub
account for you to take a look. Please, look into the index.html file:
issue_with_OCR.SPACE/index.html at main · codeiacx/issue_with_OCR.SPACE · GitHub I
was wondering if you could assist me with this issue, as your API is the
best suited for my project and I can’t seem to figure out how to
integrate it.


If you test the base64 string with Postman, do you get the same result?

You probably know it, but just in case: Postman is a free app, see Free OCR API

If you see the problem even with Postman, a screenshot of the result could be helpful.

Ok thank you let me check it out