web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : +9FDOVesQrgJkJHrji3ytG
Power Apps - AI Builder
Answered

Identity different labels on object and extract text

Like (0) ShareShare
ReportReport
Posted on 16 Aug 2020 09:46:16 by 4,181

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:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,181 on 16 Aug 2020 at 17:40:12
    Re: Identity different labels on object and extract text

    Thanks a lot !

  • JoeF-MSFT Profile Picture
    on 16 Aug 2020 at 13:52:42
    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 16 Aug 2020 at 13:49:46
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 936 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 375 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 330 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete