written by
Ashish Dubey

How to use Power App AI Builder Text Recognition Prebuilt Model

Articles 1 min read

In this article, I would like to show you how easy it is to create a Power App to perform text recognition, which is a readily available AI Builder prebuilt productivity model in Power Platform.

What is Text Recognition model?

As per Microsoft docs,

The text recognition prebuilt model extracts words from documents and images into machine-readable character streams. It uses state-of-the-art optical character recognition (OCR) to detect printed and handwritten text in images.

In short, the prebuilt text recognition model uses optical character recognition (OCR) to detect text in documents and images.

Supported language, format, and size

The following items should be taken into consideration when using the Text Recognition model.

Language

English

Format

  • JPG
  • PNG
  • BMP
  • PDF

Size

20 MB maximum

Model output

The text recognition model outputs the following information from an input document or image:

Results

A list of lines extracted from the input text.

Text

Strings containing the line of text detected

Bounding Box

Four values representing the bounding box, described by using the top and left positions along with its width and height.

Sample Power App using Text Recognition Model

We will build a simple one screen Power App where a user will be allowed to select a document or an image. As soon as the user makes this selection, the Power App will display the text recognition output in a gallery as shown below.

Text Recognition PowerApp

Download the sample Power App from Modern Work OnDemand site and import the attached Power App into your environment.

Conclusion

In this article, we saw how to use text recognition component, which is a readily available AI Builder prebuilt productivity model in Power Platform.

While the possibilities are endless, I hope this article encouraged you to start exploring AI builder capabilities. This solution can be easily extended using Power Platform and other Office 365 services, and I would like to hear your thoughts on this.

Hope you liked this article! Please share your valuable comments and feedback with me on LinkedIn.

Stay well and happy PowerApping...!

PowerApps AI Builder Power Platform