OCR service
From 1Archive help
Revision as of 12:41, 6 June 2018 by Nele.scherrens (talk | contribs)
1 General
The OCR service is used for recognizing and validating documents coming from an external source. Your app can make use of it by sending PDF documents to Onea Transfer (documentation can be found here).
Those documents will automatically be sent through our recognition server, where they will await validation by a manual validator.
The advantage of using a manual validator is we can increase the recognition percentage to a maximum. |
Schematic overview of the flow:
- Your app is sending a PDF document to the OCR service
- The OCR service sets the status to PENDING and sends a uuid back
- The OCR service sets the status to PROCESSING when the document is successfully received and ready to process
- The OCR service also pokes the given callback URL saying there was a statusupdate
- Your app gets the PROCESSING status from the OCR service
- The OCR service sets the status to VALIDATION when the document is successfully processed and ready for manual validation
- The OCR service also pokes the given callback URL saying there was a statusupdate
- Your app gets the VALIDATION status from the OCR service
- Now there are two possible events:
- The OCR service sets the status to CANCELLED when the document has been cancelled by the manual validator
- The OCR service sets the status to DONE when the document was successfully validated by the manual validator
- The OCR service also pokes the given callback URL saying there was a statusupdate
- Your app gets the CANCELLED or DONE status from the OCR service
- Your app gets the UBL data of the document from the OCR service
2 BilltoBox usecase
This is only applicable for companies for which the Value Added Service OCR & Scanning is set to Onea in BilltoBox. |