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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Useing Text recognitio...
Power Apps
Unanswered

Useing Text recognition's position information

(0) ShareShare
ReportReport
Posted on by 10

I would like to use the position information of recognized characters.
AI builder results seems to have this information.

Does anyone know how to use this information?
I don't understand the meaning, definition, and how these figures are calculated.

I checked this information, but I need more detailed information.
Use the text recognizer component in Power Apps - AI Builder | Microsoft Docs

Ex) Project:  Does this mean coordinate(x,y) = (left,top)?

"left": 0.014853556485355648,
"top": 0.01882282641171198,
 "width": 0.009205020920502092,
  "height": 0.004182850313713772,

original scan image : PDF or png, jpeg, etc




 "results": [
                    {
                        "@odata.type": "#Microsoft.Dynamics.CRM.expando",
                        "page": 1,
                        "lines@odata.type": "#Collection(Microsoft.Dynamics.CRM.crmbaseentity)",
                        "lines": [
                            {
                                "@odata.type": "#Microsoft.Dynamics.CRM.expando",
                                "text": "Project",
                                "boundingBox": {
                                    "@odata.type": "#Microsoft.Dynamics.CRM.expando",
                                    "left": 0.014853556485355648,
                                    "top": 0.01882282641171198,
                                    "width": 0.009205020920502092,
                                    "height": 0.004182850313713772,
                                    "polygon": {
                                        "@odata.type": "#Microsoft.Dynamics.CRM.expando",
                                        "coordinates@odata.type": "#Collection(Microsoft.Dynamics.CRM.crmbaseentity)",
                                        "coordinates": [
                                            {
                                                "@odata.type": "#Microsoft.Dynamics.CRM.expando",
                                                "x": 0.014853556485355648,
                                                "y": 0.01882282641171198
                                            },
                                           
Categories:
  • CedrickB Profile Picture
    Microsoft Employee on at

    Hi,

    Here is the formula to calculate the bounding box with x=0, y=0 being top left corner.

    x = left x ImageWidth,

    y = top x ImageHeight,

    width = width x ImageWidth

    height = height x ImageHeight 

     

    So in your example with ImageWidth = 1024 and ImageHeight= 768

    x = 15

    y = 14

    width = 9

    height = 3

  • sk174 Profile Picture
    10 on at

    Thank you. I appreciate your kind answer.
    I calculated. I can get the same results.

  • varunupl13 Profile Picture
    6 on at

    How did you found the ImageWidth and ImageHeight?

  • takolota1 Profile Picture
    4,980 Moderator on at

    If anyone is looking to use the position data to replicate the spacing between pieces of text, you may want to check the Convert to txt part of this template that does that: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-GPT/td-p/2201345

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard