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

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})

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

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})

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

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.