Hello,
I need some OCR for a free project that I am currently building.
After digging about many library and other services, I finally found the perfect one : yours.
However I have some trouble using POST API
I use nodejs and axios to send POST query:
Axios.post('https://api.ocr.space/parse/image', {
apikey: 'my_api',
base64image: the base64 of the image,
scale: true
})
.then((response) => {
console.log('success');
console.log(response.data);
})
.catch((error) => {
console.log('error');
console.log(error);
});
The communication seems OK (get 200) but here is the result:
{ OCRExitCode: 99,
IsErroredOnProcessing: true,
ErrorMessage:
[ ‘Some internal processing error occurred. Please give us some time, we are looking into this!’ ],
ErrorDetails: ‘’,
I tried the API with url and got the same issue.
With the same image, by using the GET api it works but I am not willing to use GET API since it will require me to upload the image before and it’s not viable in my project.
What I am doing wrong here ?
Thanks for your help.