We are recommended to activate a flag on our OCR processor for better results because we face some problems (like "I" parsed as "1". To test the flag I want to use Postman, but adding the options to my requests results in an error. My Request:
{
"skipHumanReview": true,
"processOptions": {
...
},
"rawDocument": {
"mimeType": "application/pdf",
"content": "..."
},
"fieldMask": "text,pages.blocks,pages.paragraphs,pages.formFields"
}
Without the processOptions part, the requests works fine. ProcessOptions is not recognized. The Result is:
{ ... "message": "Invalid JSON payload received. Unknown name "processOptions": Cannot find field." ... }
The processor version used is pretrained-ocr-v1.2-2022-11-10 I don't know if I have a wrong version (the one used is the newest I see) or if my request is wrong (I didn't find an example with this flag). In our application we don't use the provided packages, but build the requests with custom code (APEX), so I will have the same problem using that.
Update:
I found some examples and I am sure, that my request is correct. Then I guess it has to be the version, but pretrained-ocr-v1.2-2022-11-10 is the newset one I get offered
Can somebody explain why?