Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - AI Builder
Answered

Identity different labels on object and extract text

(0) ShareShare
ReportReport
Posted on by 4,179

Hi All,

 

I am using text recognition for grocery products and I want to extract the weight and barcode from the bottle.

 

Please can anyone advice how to extract the values and assign it to labels

TextRecogniserPAForum.png

 

Categories:
  • jinivthakkar Profile Picture
    4,179 on at
    Re: Identity different labels on object and extract text

    Thanks a lot !

  • JoeF-MSFT Profile Picture
    on at
    Re: Identity different labels on object and extract text

    Here is an small video of the app in use: https://www.youtube.com/embed/wa__xktrLxs

  • Verified answer
    JoeF-MSFT Profile Picture
    on at
    Re: Identity different labels on object and extract text

    Hi @jinivthakkar,

     

    Thanks for posting the question. Here's one way to do it:

    1) Add two labels and two text inputs

    2020-08-16_15-13-58.png

     

    2) Click on the TextInput next to Weight. On the formula bar select the OnSelect property and write the following formula: UpdateContext({WeightVariable: TextRecognizer1.Selected.Text})

    2020-08-16_15-18-10.png

    3) Now change to the Default property and write: WeightVariable

    2020-08-16_15-22-37.png

     

    4) Now do the same with the TextInput next to Barcode. On the formula bar select the OnSelect property and write the following formula: UpdateContext({BarcodeVariable: TextRecognizer1.Selected.Text})

    2020-08-16_15-26-08.png

     

    5) Now change to the Default property and write: BarcodeVariable

    2020-08-16_15-29-42.png

     

    6) You are now ready to use the app. 🙂  Take a photo of product, select the weight value on the photo and then click on the weight Text input. Similarly tap on the value for the barcode on the image and click on the text input for barcode.

    I hope this helps on your AI Builder journey.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1