The result of https POST to method "processimage" is:
{
"taskId": "14e1db30-77813-4b3f-a529-0e05ea1234549",
"registrationTime": "2020-01-31T16:21:11Z",
"statusChangeTime": "2020-01-31T16:21:11Z",
"status": "Queued",
"filesCount": 1,
"requestStatusDelay": 10000
}
What should I do now with it? This documentaion is nightmare.
Comments
3 comments
After trying I found "getTaskStatus" method. But when I try add exportFormat=txt parameter it says "
"Invalid parameter: exportFormat""
Hi there,
You can use the getTasksStatus GET method to retrieve the OCR informations.
The HTTP request is something like :
https://cloud-eu.ocrsdk.com/v2/getTaskStatus?taskId=14e1db30-77813-4b3f-a529-0e05ea1234549
You'll need the same authInfo as your processImage method.
And in the result Json you'll find the status of your request, if it was completed you'll get an url where you can download the OCRed file :
The "exportFormat" parameter is something to specify in the POST request.
Hi, Poncelin JuriaanI. I appreciate your opinion.
Please sign in to leave a comment.