Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6897405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:09:54+00:00 2026-05-27T07:09:54+00:00

I am using the Nuance OmniPage SDK to perform OCR on images and PDFs,

  • 0

I am using the Nuance OmniPage SDK to perform OCR on images and PDFs, for one of my cases I have to parse the XML file the OCR generates when recognizing a file, but the numbers don’t really make sense. Here’s a sample output for the SDK:

<page ocr-vers="OmniPageCSDK16" app-vers="OfficeDrop">
    <description backColor="ffffff">
        <source
            file="C:\Users\workspace\jobs\src\test\resources\test-docs\0003.tiff"
            dpix="300" dpiy="300" sizex="2480" sizey="3509" />
        <theoreticalPage size="Custom" marginLeft="0"
            marginTop="0" marginRight="0" marginBottom="0" width="2480" height="3509" />
    </description>
    <zones>
        <textZone l="1814" t="1517" r="4694" b="1733" fillingMethod="omnifont"
            recognitionModule="omnifontPlus2w" chrFilter="all">
            <ln l="1814" t="1517" r="4690" b="1728" baseLine="1680"
                underlined="none" fontSize="1100">
                <wd l="1814" t="1517" r="2539" b="1728">Sample</wd>
                <space width="67" />
                <wd l="2606" t="1541" r="2995" b="1680">text</wd>
                <space width="72" />
                <wd l="3067" t="1570" r="3302" b="1680">on</wd>
                <space width="72" />
                <wd l="3374" t="1517" r="3734" b="1680">line</wd>
                <space width="91" />
                <wd l="3826" t="1522" r="3912" b="1680">1</wd>
                <space width="82" />
                <wd l="3994" t="1570" r="4459" b="1728">page</wd>
                <space width="91" />
                <wd l="4550" t="1522" r="4690" b="1680">1.</wd>
                <space />
            </ln>
        </textZone>
    </zones>
</page>

The page size definition is quite easy to figure out, ((2480 * 72) / 300) is going to give me the correct page width in points (and then the height) for the final PDF page, but the other values don’t make any sense.

What is this font-size of 1100? And these word coordinates? How can they have coordinates that are in positions that do not exist on the page?

Is there anyone out there that knows what this XML format is or that could point me do documentation? I have searched around all manuals that came with the SDK and I still can’t find anything related to what these values represent or which unit they are using (i’m sure it isn’t pixels or points, i guess).

Any help is appreciated. I’m using java bindings to access the OmniPage C SDK.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:09:55+00:00Added an answer on May 27, 2026 at 7:09 am

    Omni Page word coordidates are normally outputted in terms of Twips you need to do the respective point or pixel conversion. for example if I want to calculate measurement for a 200 dpi image I need to do this way (value*200)/1440 pixels .To cross check just open the image in paintbrush and see the pointer position for each word.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is what I have in my implementation file for one of my classes...
i am using nuance dragon mobile sdk for iPhone, for using text to speech.
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using ASIHTTPRequest, I downloaded a zip file containing a folder with several audio files.
I have an odd bug where my code returns a file not found exception
I'm using Nuance's SpeechKit (specifically the SKRecognizer class) in order to detect speech from
Using Rails and ActiveResource i am getting non-rails style of XML response form third-party
I have a suite of App Engine tests that are called using nose .
originally i was using a .net sdk for facebook found here: http://facebooktoolkit.codeplex.com/ but now,
I'm writing an app using Nuance's SpeechKit framework. I've just downloaded a newer version

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.