documentai-notebooks icon indicating copy to clipboard operation
documentai-notebooks copied to clipboard

Add OCR notebooks for synchronous and asynchronous processing

Open ffeldhaus opened this issue 4 years ago • 0 comments

In this PR notebooks for synchronous and asynchronous processing are added. They contain generic wrapper functions for Document AI process and batch_process which do some pre-checks on the documents and simplify inputting documents.

As part of the PR the requirements.txt has been updated to use the latest document AI package and some additional packages required for document pre-checks and displaying OCR results. All code uses the v1 (GA) endpoint of Document AI.

ffeldhaus avatar Aug 16 '21 10:08 ffeldhaus