In this tutorial you will process a document with a Document AI processor and visualize its output.
You must be familar GCP and have your own project created.
- Set up your GCP project for Document AI following the Setup Guide
- Enable the 'Document AI API' in your project in the Cloud Console
In this step we will use the Document AI Form Parser to parse a generic sample form.
- Create a processor, follow the step here to create an instance of a Form Parser.
- Copy your processor id.
- Find the cell where the processor variables are set, you will also need your GCP Project ID.
PROJECT_ID = "YOUR_PROJECT_ID_HERE"
LOCATION = "LOCATION" # Format is 'us' or 'eu'
PROCESSOR_ID = "PROCESSOR_ID" # Create processor in Cloud Console
Please note, the location must match the one assigned to the processor.
- Run the notebook.
Once you have completed this we suggest trying out a specialized form
by repeating the steps and creating a specialized parser type
(Invoices, Receipes, etc) and running the process_specialized_form
notebook.