Train Form Processing using AI Builder

AI Form processing identifies the structure of your documents based on examples you provide to extract text from any matching form. In this demo, we will build and train a model for recognizing passport documents.

We can use this model to process Invoices, Passport, Driving License, or Tax Forms. To build an AI model we have 6 steps.

For our demo today we take the business requirement is to process or collect the information from the passports like Passport number, Issue Date, Expiry date.

Form Processing Demo

Step by Step to Train the model

  1. Go to
  2. Select the Environment

  3. From the left navigation expand AI Builder and select Build.  Select Form Processing
  4. Name your model and click Create
  5. Add tags (Data elements) to collect from the document
  6. Click Next to proceed. Click “New collection” and name it
  7.  Click “0 documents” to add documents. You must have at least five documents to train the model. Confirm the selection and click Upload.
  8. Once your uploads are complete, select “Analyze”

  9. Hover over the highlighted fields and confirm the fields that should be returned by the form when processing from our trained model
  10. Once you have confirmed the fieldson all the documents, click Next.
  11. Click “Train”
  12. Model is training
  13. Wait for the model needs to be trained. Locate and open the saved models.
  14. Click “Quick test” on the model
  15. Quick Test

    • Perform a test with the test passport copy either pdf or jpg. Drag and drop an image to test
  16. Review the results of the trained model
  17. Publish the model

Leave a Reply

Your email address will not be published. Required fields are marked *