Create a canvas app to develop a document identity reader that utilizes prompts

This sample allows you to explore a canvas app that extracts information from identity documents, such as a U.S. passport or a French identity card, using a prompt and a Dataverse table.

Prerequisites

  • Active Power Apps plan
  • AI Builder credits
  • Dataverse environment

Import the solution

Before you start the import process, make sure you meet the prerequisites.

  1. Sign in to Power Automate or Power Apps.

  2. On the left navigation pane, select Solutions > Import Solution.

  3. To import the solution file, select Browse > Documentidentityreader_1_0_0_1.zip > Next > Import.

    It might take a few minutes to import the solution.

Try it out

Before you begin, make sure you have the following set up:

  1. On the left navigation pane, select Tables. You should have a table called Table document identity.
  2. On the left navigation pane, select ... More > AI hub > Prompts > My Prompts. You should have a prompt called Document identity reader.
  3. On the left navigation pane, select Apps > My apps. You should have a canvas app called Document identity reader v1.

You can now run the app to try it out.

  1. In the canvas app, select a camera control.

  2. Capture an image of an identity document with the front or rear camera.

  3. Extract the document's information and output it as a JSON object with a prompt.

  4. Save the output JSON data as a row in a Dataverse table.

    Screenshot of the id reader app.