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:
I have the same question (0)
  • 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.

    = 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,978 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard