Going further

With Textractor we strive to offer a solution that comes with everything you need to build your workflow. However, we cannot realistically cover every use case and we anticipate that there will be situations when the library falls short of your expectations and there will be a need to custom solutions.

To do so, every part of the Document object, may it be Page, IdentityDocument, ExpenseDocument contains the the JSON block that was used to instantiate it.

Installation

To begin, install the amazon-textract-textractor package using pip.

pip install amazon-textract-textractor

There are various sets of dependencies available to tailor your installation to your use case. The base package will have sensible default, but you may want to install the PDF extra dependencies if your workflow uses PDFs with pip install amazon-textract-textractor[pdfium]. You can read more on extra dependencies in the documentation

Calling Textract

For the sake of diversity, we will use the AnalyzeExpense API for this example, however, the functions and properties showcased here are available on all document types.

[1]:
from textractor import Textractor

extractor = Textractor(profile_name="default")
# This path assumes that you are running the notebook from docs/source/notebooks
document = extractor.analyze_expense(file_source="../../../tests/fixtures/form.png")

Response dictionary

The response dictionary is the unchanged JSON that was returned by the Textract API, if you save it as a file it will be the same as the JSON you would have gotten from using boto3.

[2]:
document.response
[2]:
{'DocumentMetadata': {'Pages': 1},
 'ExpenseDocuments': [{'ExpenseIndex': 1,
   'SummaryFields': [{'Type': {'Text': 'VENDOR_NAME',
      'Confidence': 84.23397827148438},
     'ValueDetection': {'Text': 'Royal',
      'Geometry': {'BoundingBox': {'Width': 0.33433136343955994,
        'Height': 0.1101887971162796,
        'Left': 0.16748881340026855,
        'Top': 0.10576257109642029},
       'Polygon': [{'X': 0.16748881340026855, 'Y': 0.10576257109642029},
        {'X': 0.5012815594673157, 'Y': 0.10688383132219315},
        {'X': 0.5018202066421509, 'Y': 0.2159513682126999},
        {'X': 0.168068990111351, 'Y': 0.2151809185743332}]},
      'Confidence': 83.68743133544922},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 97.5},
     'LabelDetection': {'Text': '6 Mo',
      'Geometry': {'BoundingBox': {'Width': 0.037598639726638794,
        'Height': 0.010990276001393795,
        'Left': 0.4355943500995636,
        'Top': 0.9032412171363831},
       'Polygon': [{'X': 0.4355943500995636, 'Y': 0.903403103351593},
        {'X': 0.4731391668319702, 'Y': 0.9032412171363831},
        {'X': 0.4731929898262024, 'Y': 0.9140657186508179},
        {'X': 0.435648649930954, 'Y': 0.9142314791679382}]},
      'Confidence': 87.35102081298828},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.015726225450634956,
        'Height': 0.011696578934788704,
        'Left': 0.4170108139514923,
        'Top': 0.9020209908485413},
       'Polygon': [{'X': 0.4170108139514923, 'Y': 0.9020882844924927},
        {'X': 0.4326786994934082, 'Y': 0.9020209908485413},
        {'X': 0.4327370524406433, 'Y': 0.9136484265327454},
        {'X': 0.41706937551498413, 'Y': 0.9137175679206848}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 96.5},
     'LabelDetection': {'Text': 'Permanent Wear',
      'Geometry': {'BoundingBox': {'Width': 0.12020225077867508,
        'Height': 0.010676798410713673,
        'Left': 0.09873555600643158,
        'Top': 0.4244430959224701},
       'Polygon': [{'X': 0.09873555600643158, 'Y': 0.4244430959224701},
        {'X': 0.21888196468353271, 'Y': 0.4244789779186249},
        {'X': 0.21893781423568726, 'Y': 0.4351198971271515},
        {'X': 0.09879285842180252, 'Y': 0.43509629368782043}]},
      'Confidence': 96.31539916992188},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.01464390754699707,
        'Height': 0.010014243423938751,
        'Left': 0.08258085697889328,
        'Top': 0.4239303171634674},
       'Polygon': [{'X': 0.08258085697889328, 'Y': 0.4239303171634674},
        {'X': 0.09717090427875519, 'Y': 0.4239347577095032},
        {'X': 0.09722476452589035, 'Y': 0.43394458293914795},
        {'X': 0.08263488858938217, 'Y': 0.4339415431022644}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 96.0},
     'LabelDetection': {'Text': '12 Mo',
      'Geometry': {'BoundingBox': {'Width': 0.04926685988903046,
        'Height': 0.01091374084353447,
        'Left': 0.5017852783203125,
        'Top': 0.9013385772705078},
       'Polygon': [{'X': 0.5017852783203125, 'Y': 0.9015499949455261},
        {'X': 0.5509998798370361, 'Y': 0.9013385772705078},
        {'X': 0.5510521531105042, 'Y': 0.9120357632637024},
        {'X': 0.501838207244873, 'Y': 0.9122523069381714}]},
      'Confidence': 64.79031372070312},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.016481652855873108,
        'Height': 0.012412488460540771,
        'Left': 0.4822356104850769,
        'Top': 0.9004089832305908},
       'Polygon': [{'X': 0.4822356104850769, 'Y': 0.9004793167114258},
        {'X': 0.4986562132835388, 'Y': 0.9004089832305908},
        {'X': 0.4987172484397888, 'Y': 0.9127491116523743},
        {'X': 0.4822968542575836, 'Y': 0.9128214716911316}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 95.5},
     'LabelDetection': {'Text': 'Phone',
      'Geometry': {'BoundingBox': {'Width': 0.0415608249604702,
        'Height': 0.010550999082624912,
        'Left': 0.07793831080198288,
        'Top': 0.3300623297691345},
       'Polygon': [{'X': 0.07793831080198288, 'Y': 0.3300623297691345},
        {'X': 0.1194428950548172, 'Y': 0.3301123082637787},
        {'X': 0.11949913948774338, 'Y': 0.34061333537101746},
        {'X': 0.07799505442380905, 'Y': 0.34056755900382996}]},
      'Confidence': 95.25244903564453},
     'ValueDetection': {'Text': '615-373-6883',
      'Geometry': {'BoundingBox': {'Width': 0.21608000993728638,
        'Height': 0.0200358759611845,
        'Left': 0.12751396000385284,
        'Top': 0.3235915005207062},
       'Polygon': [{'X': 0.12751396000385284, 'Y': 0.3235915005207062},
        {'X': 0.34349295496940613, 'Y': 0.3238651156425476},
        {'X': 0.3435939848423004, 'Y': 0.34362736344337463},
        {'X': 0.12761986255645752, 'Y': 0.34339481592178345}]},
      'Confidence': 94.58015441894531},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 95.5},
     'LabelDetection': {'Text': 'Loose Seams',
      'Geometry': {'BoundingBox': {'Width': 0.09154075384140015,
        'Height': 0.011243871413171291,
        'Left': 0.2909635007381439,
        'Top': 0.42348718643188477},
       'Polygon': [{'X': 0.2909635007381439, 'Y': 0.42348718643188477},
        {'X': 0.38244742155075073, 'Y': 0.4235154092311859},
        {'X': 0.38250425457954407, 'Y': 0.43473106622695923},
        {'X': 0.29102155566215515, 'Y': 0.4347127377986908}]},
      'Confidence': 95.17913055419922},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.014086964540183544,
        'Height': 0.009878362528979778,
        'Left': 0.27309396862983704,
        'Top': 0.42410069704055786},
       'Polygon': [{'X': 0.27309396862983704, 'Y': 0.42410069704055786},
        {'X': 0.28712984919548035, 'Y': 0.4241049289703369},
        {'X': 0.28718096017837524, 'Y': 0.4339790642261505},
        {'X': 0.27314522862434387, 'Y': 0.4339761435985565}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 95.0},
     'LabelDetection': {'Text': 'Permanent Shading',
      'Geometry': {'BoundingBox': {'Width': 0.13924720883369446,
        'Height': 0.012071557343006134,
        'Left': 0.0985599234700203,
        'Top': 0.43874838948249817},
       'Polygon': [{'X': 0.0985599234700203, 'Y': 0.43874838948249817},
        {'X': 0.23774413764476776, 'Y': 0.4387708604335785},
        {'X': 0.23780712485313416, 'Y': 0.4508199393749237},
        {'X': 0.0986248254776001, 'Y': 0.4508135914802551}]},
      'Confidence': 94.83258819580078},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.014641131274402142,
        'Height': 0.009928502142429352,
        'Left': 0.08259167522192001,
        'Top': 0.43825197219848633},
       'Polygon': [{'X': 0.08259167522192001, 'Y': 0.43825197219848633},
        {'X': 0.09717939794063568, 'Y': 0.43825438618659973},
        {'X': 0.09723281115293503, 'Y': 0.4481804668903351},
        {'X': 0.08264525979757309, 'Y': 0.4481794238090515}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 95.0},
     'LabelDetection': {'Text': 'Allergy Concerns',
      'Geometry': {'BoundingBox': {'Width': 0.11545991897583008,
        'Height': 0.012368067167699337,
        'Left': 0.28926894068717957,
        'Top': 0.39615729451179504},
       'Polygon': [{'X': 0.28926894068717957, 'Y': 0.39615729451179504},
        {'X': 0.4046667814254761, 'Y': 0.3962232172489166},
        {'X': 0.40472885966300964, 'Y': 0.40852534770965576},
        {'X': 0.28933262825012207, 'Y': 0.40847310423851013}]},
      'Confidence': 91.31575775146484},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.013979844748973846,
        'Height': 0.010146879591047764,
        'Left': 0.27254408597946167,
        'Top': 0.39582815766334534},
       'Polygon': [{'X': 0.27254408597946167, 'Y': 0.39582815766334534},
        {'X': 0.2864714562892914, 'Y': 0.3958361744880676},
        {'X': 0.2865239381790161, 'Y': 0.4059750437736511},
        {'X': 0.27259671688079834, 'Y': 0.40596839785575867}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 93.0},
     'LabelDetection': {'Text': 'Excessive Wear',
      'Geometry': {'BoundingBox': {'Width': 0.10464227199554443,
        'Height': 0.01053692027926445,
        'Left': 0.0990402102470398,
        'Top': 0.4101735055446625},
       'Polygon': [{'X': 0.0990402102470398, 'Y': 0.4101735055446625},
        {'X': 0.20362724363803864, 'Y': 0.41021907329559326},
        {'X': 0.20368248224258423, 'Y': 0.42071041464805603},
        {'X': 0.09909669309854507, 'Y': 0.4206753969192505}]},
      'Confidence': 92.89436340332031},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.01583889126777649,
        'Height': 0.01004171371459961,
        'Left': 0.08204009383916855,
        'Top': 0.4095456898212433},
       'Polygon': [{'X': 0.08204009383916855, 'Y': 0.4095456898212433},
        {'X': 0.09782499074935913, 'Y': 0.409552663564682},
        {'X': 0.09787898510694504, 'Y': 0.4195874035358429},
        {'X': 0.08209425956010818, 'Y': 0.41958194971084595}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 92.5},
     'LabelDetection': {'Text': 'Time',
      'Geometry': {'BoundingBox': {'Width': 0.02681553363800049,
        'Height': 0.010385806672275066,
        'Left': 0.659330427646637,
        'Top': 0.3567666709423065},
       'Polygon': [{'X': 0.659330427646637, 'Y': 0.3567666709423065},
        {'X': 0.6860969066619873, 'Y': 0.3567921817302704},
        {'X': 0.6861459612846375, 'Y': 0.36715248227119446},
        {'X': 0.6593798398971558, 'Y': 0.3671296536922455}]},
      'Confidence': 92.33248901367188},
     'ValueDetection': {'Text': '12.30 P.M.',
      'Geometry': {'BoundingBox': {'Width': 0.1608247458934784,
        'Height': 0.019669130444526672,
        'Left': 0.6893413662910461,
        'Top': 0.350131094455719},
       'Polygon': [{'X': 0.6893413662910461, 'Y': 0.350131094455719},
        {'X': 0.8500771522521973, 'Y': 0.35029467940330505},
        {'X': 0.8501660823822021, 'Y': 0.36980023980140686},
        {'X': 0.6894338726997375, 'Y': 0.3696669638156891}]},
      'Confidence': 91.03388214111328},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 92.0},
     'LabelDetection': {'Text': 'Cleaning Tech',
      'Geometry': {'BoundingBox': {'Width': 0.11247267574071884,
        'Height': 0.015330612659454346,
        'Left': 0.5303084850311279,
        'Top': 0.8699572086334229},
       'Polygon': [{'X': 0.5303084850311279, 'Y': 0.8704065084457397},
        {'X': 0.6427100300788879, 'Y': 0.8699572086334229},
        {'X': 0.6427811980247498, 'Y': 0.8848223686218262},
        {'X': 0.5303815603256226, 'Y': 0.8852878212928772}]},
      'Confidence': 90.90103912353516},
     'ValueDetection': {'Text': 'JOHN LEWIS',
      'Geometry': {'BoundingBox': {'Width': 0.1771693378686905,
        'Height': 0.026054145768284798,
        'Left': 0.6595302224159241,
        'Top': 0.858439028263092},
       'Polygon': [{'X': 0.6595302224159241, 'Y': 0.8591284155845642},
        {'X': 0.83658367395401, 'Y': 0.858439028263092},
        {'X': 0.8366995453834534, 'Y': 0.8837604522705078},
        {'X': 0.6596512198448181, 'Y': 0.8844931721687317}]},
      'Confidence': 91.7969970703125},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 91.0},
     'LabelDetection': {'Text': 'Cellular',
      'Geometry': {'BoundingBox': {'Width': 0.045506563037633896,
        'Height': 0.009642691351473331,
        'Left': 0.6373825669288635,
        'Top': 0.33319979906082153},
       'Polygon': [{'X': 0.6373825669288635, 'Y': 0.33319979906082153},
        {'X': 0.6828436851501465, 'Y': 0.3332534432411194},
        {'X': 0.6828891634941101, 'Y': 0.3428424894809723},
        {'X': 0.6374285221099854, 'Y': 0.3427930176258087}]},
      'Confidence': 90.93302154541016},
     'ValueDetection': {'Text': '683-426-2200',
      'Geometry': {'BoundingBox': {'Width': 0.21450038254261017,
        'Height': 0.018960552290081978,
        'Left': 0.6977348923683167,
        'Top': 0.3263414204120636},
       'Polygon': [{'X': 0.6977348923683167, 'Y': 0.3263414204120636},
        {'X': 0.9121513366699219, 'Y': 0.3266088664531708},
        {'X': 0.9122353196144104, 'Y': 0.3453019857406616},
        {'X': 0.6978234052658081, 'Y': 0.34507331252098083}]},
      'Confidence': 90.27494812011719},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 90.5},
     'LabelDetection': {'Text': 'Customer',
      'Geometry': {'BoundingBox': {'Width': 0.08403262495994568,
        'Height': 0.014190987683832645,
        'Left': 0.0689774751663208,
        'Top': 0.882927656173706},
       'Polygon': [{'X': 0.0689774751663208, 'Y': 0.883272111415863},
        {'X': 0.15293645858764648, 'Y': 0.882927656173706},
        {'X': 0.15301010012626648, 'Y': 0.8967629671096802},
        {'X': 0.06905244290828705, 'Y': 0.8971186280250549}]},
      'Confidence': 90.06220245361328},
     'ValueDetection': {'Text': 'ELIZABETH CAMPBELL',
      'Geometry': {'BoundingBox': {'Width': 0.29250043630599976,
        'Height': 0.022797495126724243,
        'Left': 0.16023072600364685,
        'Top': 0.870701789855957},
       'Polygon': [{'X': 0.16023072600364685, 'Y': 0.8718706369400024},
        {'X': 0.4526234269142151, 'Y': 0.870701789855957},
        {'X': 0.4527311623096466, 'Y': 0.8922697901725769},
        {'X': 0.1603456735610962, 'Y': 0.8934993147850037}]},
      'Confidence': 88.27864837646484},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 89.0},
     'LabelDetection': {'Text': 'Laminate Floor Concerns',
      'Geometry': {'BoundingBox': {'Width': 0.17273929715156555,
        'Height': 0.010896960273385048,
        'Left': 0.28804612159729004,
        'Top': 0.4380652606487274},
       'Polygon': [{'X': 0.28804612159729004, 'Y': 0.4380652606487274},
        {'X': 0.46073126792907715, 'Y': 0.4380943477153778},
        {'X': 0.4607854187488556, 'Y': 0.4489622414112091},
        {'X': 0.2881024479866028, 'Y': 0.44895124435424805}]},
      'Confidence': 88.91796112060547},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.013887431472539902,
        'Height': 0.00963879656046629,
        'Left': 0.274356871843338,
        'Top': 0.4379328787326813},
       'Polygon': [{'X': 0.274356871843338, 'Y': 0.4379328787326813},
        {'X': 0.288194477558136, 'Y': 0.4379352033138275},
        {'X': 0.2882443070411682, 'Y': 0.44757166504859924},
        {'X': 0.27440688014030457, 'Y': 0.4475705921649933}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 88.5},
     'LabelDetection': {'Text': 'Work',
      'Geometry': {'BoundingBox': {'Width': 0.03447243198752403,
        'Height': 0.010814260691404343,
        'Left': 0.36020827293395996,
        'Top': 0.3312617838382721},
       'Polygon': [{'X': 0.36020827293395996, 'Y': 0.3312617838382721},
        {'X': 0.3946262300014496, 'Y': 0.3313029408454895},
        {'X': 0.3946807086467743, 'Y': 0.34207603335380554},
        {'X': 0.3602631688117981, 'Y': 0.34203845262527466}]},
      'Confidence': 87.25090026855469},
     'ValueDetection': {'Text': '726-448-6720',
      'Geometry': {'BoundingBox': {'Width': 0.20375339686870575,
        'Height': 0.016855981200933456,
        'Left': 0.40063172578811646,
        'Top': 0.3286469280719757},
       'Polygon': [{'X': 0.40063172578811646, 'Y': 0.3286469280719757},
        {'X': 0.6043049693107605, 'Y': 0.3288957476615906},
        {'X': 0.6043851375579834, 'Y': 0.34550291299819946},
        {'X': 0.40071573853492737, 'Y': 0.3452867567539215}]},
      'Confidence': 88.27705383300781},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 86.0},
     'LabelDetection': {'Text': 'Soiled Furniture',
      'Geometry': {'BoundingBox': {'Width': 0.1096150204539299,
        'Height': 0.010698831640183926,
        'Left': 0.2868221700191498,
        'Top': 0.4100326895713806},
       'Polygon': [{'X': 0.2868221700191498, 'Y': 0.4100326895713806},
        {'X': 0.3963833749294281, 'Y': 0.4100806713104248},
        {'X': 0.3964371979236603, 'Y': 0.4207315444946289},
        {'X': 0.2868773341178894, 'Y': 0.4206947982311249}]},
      'Confidence': 85.47489166259766},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.014085855334997177,
        'Height': 0.009900099597871304,
        'Left': 0.2727871239185333,
        'Top': 0.409950852394104},
       'Polygon': [{'X': 0.2727871239185333, 'Y': 0.409950852394104},
        {'X': 0.28682178258895874, 'Y': 0.40995699167251587},
        {'X': 0.2868729829788208, 'Y': 0.4198509454727173},
        {'X': 0.2728384733200073, 'Y': 0.4198461174964905}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 85.5},
     'LabelDetection': {'Text': 'Day',
      'Geometry': {'BoundingBox': {'Width': 0.023388784378767014,
        'Height': 0.01174582913517952,
        'Left': 0.3718755841255188,
        'Top': 0.35564300417900085},
       'Polygon': [{'X': 0.3718755841255188, 'Y': 0.35564300417900085},
        {'X': 0.3952050805091858, 'Y': 0.3556654453277588},
        {'X': 0.3952643573284149, 'Y': 0.36738884449005127},
        {'X': 0.3719351589679718, 'Y': 0.36736905574798584}]},
      'Confidence': 83.72608947753906},
     'ValueDetection': {'Text': 'Wednesday',
      'Geometry': {'BoundingBox': {'Width': 0.1386369913816452,
        'Height': 0.024107282981276512,
        'Left': 0.3993149697780609,
        'Top': 0.34607401490211487},
       'Polygon': [{'X': 0.3993149697780609, 'Y': 0.34607401490211487},
        {'X': 0.5378345847129822, 'Y': 0.3462199866771698},
        {'X': 0.5379520058631897, 'Y': 0.37018129229545593},
        {'X': 0.39943617582321167, 'Y': 0.370067298412323}]},
      'Confidence': 85.09841918945312},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 82.5},
     'LabelDetection': {'Text': 'City',
      'Geometry': {'BoundingBox': {'Width': 0.025909116491675377,
        'Height': 0.012501001358032227,
        'Left': 0.6205770373344421,
        'Top': 0.30859360098838806},
       'Polygon': [{'X': 0.6205770373344421, 'Y': 0.30859360098838806},
        {'X': 0.6464265584945679, 'Y': 0.30863022804260254},
        {'X': 0.6464861631393433, 'Y': 0.3210946023464203},
        {'X': 0.6206369996070862, 'Y': 0.32106107473373413}]},
      'Confidence': 82.48185729980469},
     'ValueDetection': {'Text': 'NEX YORK',
      'Geometry': {'BoundingBox': {'Width': 0.14043879508972168,
        'Height': 0.022677812725305557,
        'Left': 0.6687309741973877,
        'Top': 0.3000532388687134},
       'Polygon': [{'X': 0.6687309741973877, 'Y': 0.3000532388687134},
        {'X': 0.8090663552284241, 'Y': 0.30026382207870483},
        {'X': 0.8091697692871094, 'Y': 0.32273104786872864},
        {'X': 0.6688379645347595, 'Y': 0.3225509226322174}]},
      'Confidence': 77.6738052368164},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 76.0},
     'LabelDetection': {'Text': 'Other',
      'Geometry': {'BoundingBox': {'Width': 0.038350123912096024,
        'Height': 0.01023342739790678,
        'Left': 0.5778354406356812,
        'Top': 0.9006713032722473},
       'Polygon': [{'X': 0.5778354406356812, 'Y': 0.9008357524871826},
        {'X': 0.6161370873451233, 'Y': 0.9006713032722473},
        {'X': 0.6161856055259705, 'Y': 0.910736620426178},
        {'X': 0.5778843760490417, 'Y': 0.9109047651290894}]},
      'Confidence': 75.64922332763672},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.10774315148591995,
        'Height': 0.014557065442204475,
        'Left': 0.618475079536438,
        'Top': 0.8954559564590454},
       'Polygon': [{'X': 0.618475079536438, 'Y': 0.8959132432937622},
        {'X': 0.7261521220207214, 'Y': 0.8954559564590454},
        {'X': 0.7262182831764221, 'Y': 0.9095410704612732},
        {'X': 0.6185429692268372, 'Y': 0.9100130200386047}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 72.5},
     'LabelDetection': {'Text': 'Late Fee',
      'Geometry': {'BoundingBox': {'Width': 0.05245355889201164,
        'Height': 0.010045165196061134,
        'Left': 0.7530027031898499,
        'Top': 0.8006049990653992},
       'Polygon': [{'X': 0.7530027031898499, 'Y': 0.8007797598838806},
        {'X': 0.8054107427597046, 'Y': 0.8006049990653992},
        {'X': 0.805456280708313, 'Y': 0.810470461845398},
        {'X': 0.7530487775802612, 'Y': 0.8106501698493958}]},
      'Confidence': 71.52510833740234},
     'ValueDetection': {'Text': '5.00 00',
      'Geometry': {'BoundingBox': {'Width': 0.102896548807621,
        'Height': 0.018782688304781914,
        'Left': 0.8197110891342163,
        'Top': 0.7978001236915588},
       'Polygon': [{'X': 0.8197110891342163, 'Y': 0.7981404662132263},
        {'X': 0.9225250482559204, 'Y': 0.7978001236915588},
        {'X': 0.9226076602935791, 'Y': 0.8162241578102112},
        {'X': 0.8197958469390869, 'Y': 0.8165827989578247}]},
      'Confidence': 72.34652709960938},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 65.5},
     'LabelDetection': {'Text': 'Pet Odors',
      'Geometry': {'BoundingBox': {'Width': 0.07304596155881882,
        'Height': 0.011095465160906315,
        'Left': 0.09350176900625229,
        'Top': 0.3958131670951843},
       'Polygon': [{'X': 0.09350176900625229, 'Y': 0.3958131670951843},
        {'X': 0.16648907959461212, 'Y': 0.39585503935813904},
        {'X': 0.1665477305650711, 'Y': 0.40690866112709045},
        {'X': 0.0935613289475441, 'Y': 0.40687453746795654}]},
      'Confidence': 64.05148315429688},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.015264553017914295,
        'Height': 0.01028513628989458,
        'Left': 0.08149563521146774,
        'Top': 0.39627742767333984},
       'Polygon': [{'X': 0.08149563521146774, 'Y': 0.39627742767333984},
        {'X': 0.0967048853635788, 'Y': 0.39628610014915466},
        {'X': 0.09676019102334976, 'Y': 0.40656256675720215},
        {'X': 0.08155111223459244, 'Y': 0.4065554141998291}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 62.5},
     'LabelDetection': {'Text': 'E-Mail"',
      'Geometry': {'BoundingBox': {'Width': 0.04665113240480423,
        'Height': 0.010710757225751877,
        'Left': 0.5200080275535583,
        'Top': 0.282549649477005},
       'Polygon': [{'X': 0.5200080275535583, 'Y': 0.282549649477005},
        {'X': 0.5666074156761169, 'Y': 0.28262731432914734},
        {'X': 0.566659152507782, 'Y': 0.293260395526886},
        {'X': 0.5200603604316711, 'Y': 0.2931874990463257}]},
      'Confidence': 53.310401916503906},
     'ValueDetection': {'Text': 'vilcomp@gmail.com',
      'Geometry': {'BoundingBox': {'Width': 0.251456081867218,
        'Height': 0.019417790696024895,
        'Left': 0.5722715258598328,
        'Top': 0.2792922258377075},
       'Polygon': [{'X': 0.5722715258598328, 'Y': 0.2792922258377075},
        {'X': 0.8236405253410339, 'Y': 0.27971941232681274},
        {'X': 0.8237276077270508, 'Y': 0.29871001839637756},
        {'X': 0.572364091873169, 'Y': 0.2983289957046509}]},
      'Confidence': 60.13902282714844},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 54.000003814697266},
     'LabelDetection': {'Text': 'Special Instructions or Directions:',
      'Geometry': {'BoundingBox': {'Width': 0.225040003657341,
        'Height': 0.012653539888560772,
        'Left': 0.5206770300865173,
        'Top': 0.38298773765563965},
       'Polygon': [{'X': 0.5206770300865173, 'Y': 0.38298773765563965},
        {'X': 0.7456586360931396, 'Y': 0.3831450641155243},
        {'X': 0.7457170486450195, 'Y': 0.3956412672996521},
        {'X': 0.5207386016845703, 'Y': 0.39551106095314026}]},
      'Confidence': 53.9756965637207},
     'ValueDetection': {'Text': '',
      'Geometry': {'BoundingBox': {'Width': 0.4266812801361084,
        'Height': 0.05497416481375694,
        'Left': 0.49419888854026794,
        'Top': 0.3973137438297272},
       'Polygon': [{'X': 0.49419888854026794, 'Y': 0.3973137438297272},
        {'X': 0.9206348061561584, 'Y': 0.39755305647850037},
        {'X': 0.920880138874054, 'Y': 0.4522879123687744},
        {'X': 0.49447083473205566, 'Y': 0.452274352312088}]},
      'Confidence': 0.0},
     'PageNumber': 1},
    {'Type': {'Text': 'TOTAL', 'Confidence': 99.76947784423828},
     'LabelDetection': {'Text': 'TOTAL',
      'Geometry': {'BoundingBox': {'Width': 0.05073551461100578,
        'Height': 0.011950855143368244,
        'Left': 0.753889262676239,
        'Top': 0.8247276544570923},
       'Polygon': [{'X': 0.753889262676239, 'Y': 0.824908435344696},
        {'X': 0.8045705556869507, 'Y': 0.8247276544570923},
        {'X': 0.8046247959136963, 'Y': 0.8364920020103455},
        {'X': 0.7539442181587219, 'Y': 0.8366785049438477}]},
      'Confidence': 98.64350128173828},
     'ValueDetection': {'Text': '450 00',
      'Geometry': {'BoundingBox': {'Width': 0.11582565307617188,
        'Height': 0.020770881325006485,
        'Left': 0.8102607727050781,
        'Top': 0.8224866986274719},
       'Polygon': [{'X': 0.8102607727050781, 'Y': 0.8228974938392639},
        {'X': 0.9259952902793884, 'Y': 0.8224866986274719},
        {'X': 0.92608642578125, 'Y': 0.8428241014480591},
        {'X': 0.8103545308113098, 'Y': 0.8432576060295105}]},
      'Confidence': 99.65402221679688},
     'PageNumber': 1},
    {'Type': {'Text': 'RECEIVER_ADDRESS', 'Confidence': 95.90914916992188},
     'LabelDetection': {'Text': 'Address',
      'Geometry': {'BoundingBox': {'Width': 0.053993821144104004,
        'Height': 0.009652351029217243,
        'Left': 0.07546723634004593,
        'Top': 0.30529722571372986},
       'Polygon': [{'X': 0.07546723634004593, 'Y': 0.30529722571372986},
        {'X': 0.12940987944602966, 'Y': 0.30537497997283936},
        {'X': 0.12946105003356934, 'Y': 0.31494957208633423},
        {'X': 0.07551900297403336, 'Y': 0.3148767352104187}]},
      'Confidence': 95.75353240966797},
     'ValueDetection': {'Text': '90 OLD HICKORY BLVD',
      'Geometry': {'BoundingBox': {'Width': 0.3442087769508362,
        'Height': 0.02733050473034382,
        'Left': 0.14412643015384674,
        'Top': 0.29719048738479614},
       'Polygon': [{'X': 0.14412643015384674, 'Y': 0.29719048738479614},
        {'X': 0.48820242285728455, 'Y': 0.29771366715431213},
        {'X': 0.4883352220058441, 'Y': 0.324521005153656},
        {'X': 0.14426976442337036, 'Y': 0.32408666610717773}]},
      'Confidence': 95.65865325927734},
     'PageNumber': 1},
    {'Type': {'Text': 'INVOICE_RECEIPT_DATE', 'Confidence': 99.79714965820312},
     'LabelDetection': {'Text': 'Date',
      'Geometry': {'BoundingBox': {'Width': 0.03216955438256264,
        'Height': 0.010518710128962994,
        'Left': 0.07637345790863037,
        'Top': 0.35410577058792114},
       'Polygon': [{'X': 0.07637345790863037, 'Y': 0.35410577058792114},
        {'X': 0.10848671942949295, 'Y': 0.35413703322410583},
        {'X': 0.1085430160164833, 'Y': 0.3646245002746582},
        {'X': 0.07643014192581177, 'Y': 0.3645964562892914}]},
      'Confidence': 99.3871841430664},
     'ValueDetection': {'Text': '04/23/2020',
      'Geometry': {'BoundingBox': {'Width': 0.19812610745429993,
        'Height': 0.022963088005781174,
        'Left': 0.11229494959115982,
        'Top': 0.34593334794044495},
       'Polygon': [{'X': 0.11229494959115982, 'Y': 0.34593334794044495},
        {'X': 0.3103039264678955, 'Y': 0.3461417257785797},
        {'X': 0.31042104959487915, 'Y': 0.3688964545726776},
        {'X': 0.11241724342107773, 'Y': 0.36873140931129456}]},
      'Confidence': 96.017333984375},
     'PageNumber': 1},
    {'Type': {'Text': 'TAX', 'Confidence': 99.81538391113281},
     'LabelDetection': {'Text': 'Sales Tax',
      'Geometry': {'BoundingBox': {'Width': 0.05706123635172844,
        'Height': 0.009684447199106216,
        'Left': 0.752395510673523,
        'Top': 0.7762940526008606},
       'Polygon': [{'X': 0.752395510673523, 'Y': 0.7764707207679749},
        {'X': 0.809412956237793, 'Y': 0.7762940526008606},
        {'X': 0.8094567060470581, 'Y': 0.7857965230941772},
        {'X': 0.7524398565292358, 'Y': 0.7859784960746765}]},
      'Confidence': 99.48528289794922},
     'ValueDetection': {'Text': '1445.0 00',
      'Geometry': {'BoundingBox': {'Width': 0.11331885308027267,
        'Height': 0.024326913058757782,
        'Left': 0.8112874627113342,
        'Top': 0.7705132365226746},
       'Polygon': [{'X': 0.8112874627113342, 'Y': 0.7708581686019897},
        {'X': 0.924498975276947, 'Y': 0.7705132365226746},
        {'X': 0.9246063232421875, 'Y': 0.7944690585136414},
        {'X': 0.8113978505134583, 'Y': 0.7948401570320129}]},
      'Confidence': 99.66134643554688},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 90.92475128173828},
     'LabelDetection': {'Text': 'Phone',
      'Geometry': {'BoundingBox': {'Width': 0.04250941425561905,
        'Height': 0.009687976911664009,
        'Left': 0.7301319241523743,
        'Top': 0.8958988785743713},
       'Polygon': [{'X': 0.7301319241523743, 'Y': 0.8960794806480408},
        {'X': 0.7725971341133118, 'Y': 0.8958988785743713},
        {'X': 0.7726413011550903, 'Y': 0.9054023623466492},
        {'X': 0.7301765084266663, 'Y': 0.905586838722229}]},
      'Confidence': 89.14117431640625},
     'ValueDetection': {'Text': '626-200-4890',
      'Geometry': {'BoundingBox': {'Width': 0.20498627424240112,
        'Height': 0.028003590181469917,
        'Left': 0.7725487947463989,
        'Top': 0.8846393823623657},
       'Polygon': [{'X': 0.7725487947463989, 'Y': 0.8854900598526001},
        {'X': 0.9774152040481567, 'Y': 0.8846393823623657},
        {'X': 0.9775350689888, 'Y': 0.9117385149002075},
        {'X': 0.7726749777793884, 'Y': 0.9126429557800293}]},
      'Confidence': 90.69705200195312},
     'PageNumber': 1},
    {'Type': {'Text': 'OTHER', 'Confidence': 96.4910659790039},
     'LabelDetection': {'Text': 'Name',
      'Geometry': {'BoundingBox': {'Width': 0.039872702211141586,
        'Height': 0.009643582627177238,
        'Left': 0.07532918453216553,
        'Top': 0.279750794172287},
       'Polygon': [{'X': 0.07532918453216553, 'Y': 0.279750794172287},
        {'X': 0.1151505559682846, 'Y': 0.27981796860694885},
        {'X': 0.11520189046859741, 'Y': 0.2893943786621094},
        {'X': 0.07538095861673355, 'Y': 0.2893308699131012}]},
      'Confidence': 96.34061431884766},
     'ValueDetection': {'Text': 'ELIZABETH CAMPBELL',
      'Geometry': {'BoundingBox': {'Width': 0.35332366824150085,
        'Height': 0.031524498015642166,
        'Left': 0.1202450692653656,
        'Top': 0.27207455039024353},
       'Polygon': [{'X': 0.1202450692653656, 'Y': 0.27207455039024353},
        {'X': 0.47341516613960266, 'Y': 0.2726965844631195},
        {'X': 0.47356873750686646, 'Y': 0.3035990595817566},
        {'X': 0.12041110545396805, 'Y': 0.303082138299942}]},
      'Confidence': 95.9389877319336},
     'PageNumber': 1}],
   'LineItemGroups': [{'LineItemGroupIndex': 1,
     'LineItems': [{'LineItemExpenseFields': [{'Type': {'Text': 'ITEM',
          'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Pet odors',
          'Geometry': {'BoundingBox': {'Width': 0.7368755340576172,
            'Height': 0.023374218493700027,
            'Left': 0.07752513885498047,
            'Top': 0.47615158557891846},
           'Polygon': [{'X': 0.07752513885498047, 'Y': 0.47629809379577637},
            {'X': 0.8142945766448975, 'Y': 0.47615158557891846},
            {'X': 0.8144006729125977, 'Y': 0.49921509623527527},
            {'X': 0.07765062898397446, 'Y': 0.4995258152484894}]},
          'Confidence': 99.95892333984375},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '50',
          'Geometry': {'BoundingBox': {'Width': 0.0722079947590828,
            'Height': 0.02307785488665104,
            'Left': 0.8142945766448975,
            'Top': 0.47613725066185},
           'Polygon': [{'X': 0.8142945766448975, 'Y': 0.47615158557891846},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8865025639533997, 'Y': 0.4991846978664398},
            {'X': 0.8144006729125977, 'Y': 0.49921509623527527}]},
          'Confidence': 99.98512268066406},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04211711138486862,
            'Height': 0.023055803030729294,
            'Left': 0.886398434638977,
            'Top': 0.4761289060115814},
           'Polygon': [{'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
            {'X': 0.8865026235580444, 'Y': 0.4991846978664398}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Pet odors 50',
          'Geometry': {'BoundingBox': {'Width': 0.850990355014801,
            'Height': 0.023396912962198257,
            'Left': 0.07752513885498047,
            'Top': 0.4761289060115814},
           'Polygon': [{'X': 0.07752513885498047, 'Y': 0.47629809379577637},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
            {'X': 0.07765062898397446, 'Y': 0.4995258152484894}]},
          'Confidence': 99.96765899658203},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Food Stains',
          'Geometry': {'BoundingBox': {'Width': 0.7368581891059875,
            'Height': 0.02399268001317978,
            'Left': 0.07765062898397446,
            'Top': 0.49921512603759766},
           'Polygon': [{'X': 0.07765062898397446, 'Y': 0.4995258152484894},
            {'X': 0.8144006729125977, 'Y': 0.49921512603759766},
            {'X': 0.8145087957382202, 'Y': 0.5227296948432922},
            {'X': 0.07777857780456543, 'Y': 0.5232077836990356}]},
          'Confidence': 99.95933532714844},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '45',
          'Geometry': {'BoundingBox': {'Width': 0.07220814377069473,
            'Height': 0.02354499325156212,
            'Left': 0.8144006729125977,
            'Top': 0.4991847276687622},
           'Polygon': [{'X': 0.8144006729125977, 'Y': 0.49921512603759766},
            {'X': 0.8865025639533997, 'Y': 0.4991847276687622},
            {'X': 0.8866088390350342, 'Y': 0.5226829051971436},
            {'X': 0.8145087957382202, 'Y': 0.5227296948432922}]},
          'Confidence': 99.9857177734375},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04211802780628204,
            'Height': 0.02351592294871807,
            'Left': 0.8865026235580444,
            'Top': 0.49916699528694153},
           'Polygon': [{'X': 0.8865026235580444, 'Y': 0.4991847276687622},
            {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
            {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
            {'X': 0.8866088390350342, 'Y': 0.5226829051971436}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Food Stains 45',
          'Geometry': {'BoundingBox': {'Width': 0.8509699702262878,
            'Height': 0.02404080517590046,
            'Left': 0.07765062898397446,
            'Top': 0.49916699528694153},
           'Polygon': [{'X': 0.07765062898397446, 'Y': 0.4995258152484894},
            {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
            {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
            {'X': 0.07777857780456543, 'Y': 0.5232077836990356}]},
          'Confidence': 99.96813201904297},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Steam cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368404865264893,
            'Height': 0.02461421862244606,
            'Left': 0.07777857780456543,
            'Top': 0.5227296948432922},
           'Polygon': [{'X': 0.07777857780456543, 'Y': 0.5232077836990356},
            {'X': 0.8145087957382202, 'Y': 0.5227296948432922},
            {'X': 0.8146190643310547, 'Y': 0.5466952323913574},
            {'X': 0.07790897786617279, 'Y': 0.547343909740448}]},
          'Confidence': 99.97703552246094},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '100',
          'Geometry': {'BoundingBox': {'Width': 0.07220825552940369,
            'Height': 0.02401232160627842,
            'Left': 0.8145087957382202,
            'Top': 0.5226829051971436},
           'Polygon': [{'X': 0.8145087957382202, 'Y': 0.5227296948432922},
            {'X': 0.8866088390350342, 'Y': 0.5226829051971436},
            {'X': 0.8867170810699463, 'Y': 0.5466317534446716},
            {'X': 0.8146190047264099, 'Y': 0.5466952323913574}]},
          'Confidence': 99.98554992675781},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04211892560124397,
            'Height': 0.023976100608706474,
            'Left': 0.8866088390350342,
            'Top': 0.5226556658744812},
           'Polygon': [{'X': 0.8866088390350342, 'Y': 0.5226829051971436},
            {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
            {'X': 0.9287277460098267, 'Y': 0.5465947985649109},
            {'X': 0.8867170810699463, 'Y': 0.5466317534446716}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Steam cleaning 100',
          'Geometry': {'BoundingBox': {'Width': 0.8509491682052612,
            'Height': 0.024688269942998886,
            'Left': 0.07777857780456543,
            'Top': 0.5226556658744812},
           'Polygon': [{'X': 0.07777857780456543, 'Y': 0.5232077836990356},
            {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
            {'X': 0.9287277460098267, 'Y': 0.5465947985649109},
            {'X': 0.07790897786617279, 'Y': 0.547343909740448}]},
          'Confidence': 99.97987365722656},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Water Damage',
          'Geometry': {'BoundingBox': {'Width': 0.7368161082267761,
            'Height': 0.02387278899550438,
            'Left': 0.07790897786617279,
            'Top': 0.5466952323913574},
           'Polygon': [{'X': 0.07790897786617279, 'Y': 0.547343909740448},
            {'X': 0.8146190643310547, 'Y': 0.5466952323913574},
            {'X': 0.8147251009941101, 'Y': 0.5697551965713501},
            {'X': 0.07803444564342499, 'Y': 0.5705680251121521}]},
          'Confidence': 99.97860717773438},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '400',
          'Geometry': {'BoundingBox': {'Width': 0.07220220565795898,
            'Height': 0.023123450577259064,
            'Left': 0.8146190047264099,
            'Top': 0.5466317534446716},
           'Polygon': [{'X': 0.8146190047264099, 'Y': 0.5466952323913574},
            {'X': 0.8867170810699463, 'Y': 0.5466317534446716},
            {'X': 0.8868212103843689, 'Y': 0.569675624370575},
            {'X': 0.8147251009941101, 'Y': 0.5697551965713501}]},
          'Confidence': 99.9887466430664},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.042113736271858215,
            'Height': 0.023080894723534584,
            'Left': 0.8867170810699463,
            'Top': 0.5465947389602661},
           'Polygon': [{'X': 0.8867170810699463, 'Y': 0.5466317534446716},
            {'X': 0.9287277460098267, 'Y': 0.5465947389602661},
            {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
            {'X': 0.8868212699890137, 'Y': 0.569675624370575}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Water Damage 400',
          'Geometry': {'BoundingBox': {'Width': 0.8509218096733093,
            'Height': 0.023973261937499046,
            'Left': 0.07790897786617279,
            'Top': 0.5465947389602661},
           'Polygon': [{'X': 0.07790897786617279, 'Y': 0.547343909740448},
            {'X': 0.9287277460098267, 'Y': 0.5465947389602661},
            {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
            {'X': 0.07803444564342499, 'Y': 0.5705680251121521}]},
          'Confidence': 99.98198699951172},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'loose Repair\nseams',
          'Geometry': {'BoundingBox': {'Width': 0.7367925047874451,
            'Height': 0.023125097155570984,
            'Left': 0.07803444564342499,
            'Top': 0.5697551965713501},
           'Polygon': [{'X': 0.07803444564342499, 'Y': 0.5705680251121521},
            {'X': 0.8147251009941101, 'Y': 0.5697551965713501},
            {'X': 0.8148269653320312, 'Y': 0.5919098258018494},
            {'X': 0.07815499603748322, 'Y': 0.5928803086280823}]},
          'Confidence': 99.87442016601562},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '200',
          'Geometry': {'BoundingBox': {'Width': 0.07219623029232025,
            'Height': 0.02223413810133934,
            'Left': 0.8147251009941101,
            'Top': 0.5696756839752197},
           'Polygon': [{'X': 0.8147251009941101, 'Y': 0.5697551965713501},
            {'X': 0.8868212103843689, 'Y': 0.5696756839752197},
            {'X': 0.8869212865829468, 'Y': 0.5918148159980774},
            {'X': 0.8148269653320312, 'Y': 0.5919098258018494}]},
          'Confidence': 99.98649597167969},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210859164595604,
            'Height': 0.022185510024428368,
            'Left': 0.8868212699890137,
            'Top': 0.5696293115615845},
           'Polygon': [{'X': 0.8868212699890137, 'Y': 0.5696756839752197},
            {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
            {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
            {'X': 0.8869213461875916, 'Y': 0.5918148159980774}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'loose Repair\nseams 200',
          'Geometry': {'BoundingBox': {'Width': 0.8508954048156738,
            'Height': 0.023250995203852654,
            'Left': 0.07803444564342499,
            'Top': 0.5696293115615845},
           'Polygon': [{'X': 0.07803444564342499, 'Y': 0.5705680251121521},
            {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
            {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
            {'X': 0.07815499603748322, 'Y': 0.5928803086280823}]},
          'Confidence': 99.90242767333984},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Tile cleaning repair',
          'Geometry': {'BoundingBox': {'Width': 0.7367738485336304,
            'Height': 0.02328164130449295,
            'Left': 0.07815499603748322,
            'Top': 0.5919098258018494},
           'Polygon': [{'X': 0.07815499603748322, 'Y': 0.5928803086280823},
            {'X': 0.8148269653320312, 'Y': 0.5919098258018494},
            {'X': 0.8149288892745972, 'Y': 0.6140632629394531},
            {'X': 0.07827553153038025, 'Y': 0.6151914596557617}]},
          'Confidence': 99.86579132080078},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '200',
          'Geometry': {'BoundingBox': {'Width': 0.0721944123506546,
            'Height': 0.022248445078730583,
            'Left': 0.8148269653320312,
            'Top': 0.5918148159980774},
           'Polygon': [{'X': 0.8148269653320312, 'Y': 0.5919098258018494},
            {'X': 0.8869212865829468, 'Y': 0.5918148159980774},
            {'X': 0.8870213627815247, 'Y': 0.6139528751373291},
            {'X': 0.8149288296699524, 'Y': 0.6140632629394531}]},
          'Confidence': 99.98596954345703},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210752993822098,
            'Height': 0.02219337783753872,
            'Left': 0.8869213461875916,
            'Top': 0.5917595028877258},
           'Polygon': [{'X': 0.8869213461875916, 'Y': 0.5918148159980774},
            {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
            {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
            {'X': 0.8870214223861694, 'Y': 0.6139528751373291}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Tile cleaning repair 200',
          'Geometry': {'BoundingBox': {'Width': 0.8508738279342651,
            'Height': 0.023431962355971336,
            'Left': 0.07815499603748322,
            'Top': 0.5917595028877258},
           'Polygon': [{'X': 0.07815499603748322, 'Y': 0.5928803086280823},
            {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
            {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
            {'X': 0.07827553153038025, 'Y': 0.6151914596557617}]},
          'Confidence': 99.89582061767578},
         'PageNumber': 1}]},
      {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
         'LabelDetection': {'Text': 'Carpet Cleaning',
          'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
            'Height': 0.020497675985097885,
            'Left': 0.07741440832614899,
            'Top': 0.45580044388771057},
           'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
            {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
            {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
          'Confidence': 74.46519470214844},
         'ValueDetection': {'Text': 'Delivery cost',
          'Geometry': {'BoundingBox': {'Width': 0.73675936460495,
            'Height': 0.024348895996809006,
            'Left': 0.07827553153038025,
            'Top': 0.6140632629394531},
           'Polygon': [{'X': 0.07827553153038025, 'Y': 0.6151914596557617},
            {'X': 0.8149288892745972, 'Y': 0.6140632629394531},
            {'X': 0.8150349259376526, 'Y': 0.6371198892593384},
            {'X': 0.07840099185705185, 'Y': 0.6384121775627136}]},
          'Confidence': 99.94113159179688},
         'PageNumber': 1},
        {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
         'LabelDetection': {'Text': '250',
          'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
            'Height': 0.020351318642497063,
            'Left': 0.8142009973526001,
            'Top': 0.45580029487609863},
           'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
            {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.886398434638977, 'Y': 0.47613725066185},
            {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
          'Confidence': 74.48655700683594},
         'ValueDetection': {'Text': '200',
          'Geometry': {'BoundingBox': {'Width': 0.07219667732715607,
            'Height': 0.023167040199041367,
            'Left': 0.8149288296699524,
            'Top': 0.6139528751373291},
           'Polygon': [{'X': 0.8149288296699524, 'Y': 0.6140632629394531},
            {'X': 0.8870213627815247, 'Y': 0.6139528751373291},
            {'X': 0.887125551700592, 'Y': 0.636993408203125},
            {'X': 0.8150349259376526, 'Y': 0.6371198892593384}]},
          'Confidence': 99.97767639160156},
         'PageNumber': 1},
        {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
         'LabelDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
            'Height': 0.020337073132395744,
            'Left': 0.8863064646720886,
            'Top': 0.4558001756668091},
           'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
            {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
            {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
            {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
          'Confidence': 0.0},
         'ValueDetection': {'Text': '',
          'Geometry': {'BoundingBox': {'Width': 0.042110513895750046,
            'Height': 0.02310490794479847,
            'Left': 0.8870214223861694,
            'Top': 0.6138885021209717},
           'Polygon': [{'X': 0.8870214223861694, 'Y': 0.6139528751373291},
            {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
            {'X': 0.9291319251060486, 'Y': 0.6369197368621826},
            {'X': 0.887125551700592, 'Y': 0.636993408203125}]},
          'Confidence': 0.0},
         'PageNumber': 1},
        {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
         'ValueDetection': {'Text': 'Delivery cost 200',
          'Geometry': {'BoundingBox': {'Width': 0.850856363773346,
            'Height': 0.02452363818883896,
            'Left': 0.07827553153038025,
            'Top': 0.6138885021209717},
           'Polygon': [{'X': 0.07827553153038025, 'Y': 0.6151914596557617},
            {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
            {'X': 0.9291319251060486, 'Y': 0.6369197368621826},
            {'X': 0.07840099185705185, 'Y': 0.6384121775627136}]},
          'Confidence': 99.95330810546875},
         'PageNumber': 1}]}]}]}],
 'ResponseMetadata': {'RequestId': '9f34f291-0003-4b28-bb07-7d23aff3c172',
  'HTTPStatusCode': 200,
  'HTTPHeaders': {'x-amzn-requestid': '9f34f291-0003-4b28-bb07-7d23aff3c172',
   'content-type': 'application/x-amz-json-1.1',
   'content-length': '47201',
   'date': 'Tue, 04 Oct 2022 14:06:16 GMT'},
  'RetryAttempts': 0}}

Finer-grain results

What if you only want a specific value in the invoice we processed?

[3]:
document.expense_documents[0]["Phone"]
[3]:
626-200-4890
[4]:
document.expense_documents[0]["Phone"].raw_object
[4]:
{'Text': '626-200-4890',
 'Geometry': {'BoundingBox': {'Width': 0.20498627424240112,
   'Height': 0.028003590181469917,
   'Left': 0.7725487947463989,
   'Top': 0.8846393823623657},
  'Polygon': [{'X': 0.7725487947463989, 'Y': 0.8854900598526001},
   {'X': 0.9774152040481567, 'Y': 0.8846393823623657},
   {'X': 0.9775350689888, 'Y': 0.9117385149002075},
   {'X': 0.7726749777793884, 'Y': 0.9126429557800293}]},
 'Confidence': 90.69705200195312}

The raw_object property is available on all Textractor objects

[5]:
document.expense_documents[0].raw_object
[5]:
{'ExpenseIndex': 1,
 'SummaryFields': [{'Type': {'Text': 'VENDOR_NAME',
    'Confidence': 84.23397827148438},
   'ValueDetection': {'Text': 'Royal',
    'Geometry': {'BoundingBox': {'Width': 0.33433136343955994,
      'Height': 0.1101887971162796,
      'Left': 0.16748881340026855,
      'Top': 0.10576257109642029},
     'Polygon': [{'X': 0.16748881340026855, 'Y': 0.10576257109642029},
      {'X': 0.5012815594673157, 'Y': 0.10688383132219315},
      {'X': 0.5018202066421509, 'Y': 0.2159513682126999},
      {'X': 0.168068990111351, 'Y': 0.2151809185743332}]},
    'Confidence': 83.68743133544922},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 97.5},
   'LabelDetection': {'Text': '6 Mo',
    'Geometry': {'BoundingBox': {'Width': 0.037598639726638794,
      'Height': 0.010990276001393795,
      'Left': 0.4355943500995636,
      'Top': 0.9032412171363831},
     'Polygon': [{'X': 0.4355943500995636, 'Y': 0.903403103351593},
      {'X': 0.4731391668319702, 'Y': 0.9032412171363831},
      {'X': 0.4731929898262024, 'Y': 0.9140657186508179},
      {'X': 0.435648649930954, 'Y': 0.9142314791679382}]},
    'Confidence': 87.35102081298828},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.015726225450634956,
      'Height': 0.011696578934788704,
      'Left': 0.4170108139514923,
      'Top': 0.9020209908485413},
     'Polygon': [{'X': 0.4170108139514923, 'Y': 0.9020882844924927},
      {'X': 0.4326786994934082, 'Y': 0.9020209908485413},
      {'X': 0.4327370524406433, 'Y': 0.9136484265327454},
      {'X': 0.41706937551498413, 'Y': 0.9137175679206848}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 96.5},
   'LabelDetection': {'Text': 'Permanent Wear',
    'Geometry': {'BoundingBox': {'Width': 0.12020225077867508,
      'Height': 0.010676798410713673,
      'Left': 0.09873555600643158,
      'Top': 0.4244430959224701},
     'Polygon': [{'X': 0.09873555600643158, 'Y': 0.4244430959224701},
      {'X': 0.21888196468353271, 'Y': 0.4244789779186249},
      {'X': 0.21893781423568726, 'Y': 0.4351198971271515},
      {'X': 0.09879285842180252, 'Y': 0.43509629368782043}]},
    'Confidence': 96.31539916992188},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.01464390754699707,
      'Height': 0.010014243423938751,
      'Left': 0.08258085697889328,
      'Top': 0.4239303171634674},
     'Polygon': [{'X': 0.08258085697889328, 'Y': 0.4239303171634674},
      {'X': 0.09717090427875519, 'Y': 0.4239347577095032},
      {'X': 0.09722476452589035, 'Y': 0.43394458293914795},
      {'X': 0.08263488858938217, 'Y': 0.4339415431022644}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 96.0},
   'LabelDetection': {'Text': '12 Mo',
    'Geometry': {'BoundingBox': {'Width': 0.04926685988903046,
      'Height': 0.01091374084353447,
      'Left': 0.5017852783203125,
      'Top': 0.9013385772705078},
     'Polygon': [{'X': 0.5017852783203125, 'Y': 0.9015499949455261},
      {'X': 0.5509998798370361, 'Y': 0.9013385772705078},
      {'X': 0.5510521531105042, 'Y': 0.9120357632637024},
      {'X': 0.501838207244873, 'Y': 0.9122523069381714}]},
    'Confidence': 64.79031372070312},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.016481652855873108,
      'Height': 0.012412488460540771,
      'Left': 0.4822356104850769,
      'Top': 0.9004089832305908},
     'Polygon': [{'X': 0.4822356104850769, 'Y': 0.9004793167114258},
      {'X': 0.4986562132835388, 'Y': 0.9004089832305908},
      {'X': 0.4987172484397888, 'Y': 0.9127491116523743},
      {'X': 0.4822968542575836, 'Y': 0.9128214716911316}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 95.5},
   'LabelDetection': {'Text': 'Phone',
    'Geometry': {'BoundingBox': {'Width': 0.0415608249604702,
      'Height': 0.010550999082624912,
      'Left': 0.07793831080198288,
      'Top': 0.3300623297691345},
     'Polygon': [{'X': 0.07793831080198288, 'Y': 0.3300623297691345},
      {'X': 0.1194428950548172, 'Y': 0.3301123082637787},
      {'X': 0.11949913948774338, 'Y': 0.34061333537101746},
      {'X': 0.07799505442380905, 'Y': 0.34056755900382996}]},
    'Confidence': 95.25244903564453},
   'ValueDetection': {'Text': '615-373-6883',
    'Geometry': {'BoundingBox': {'Width': 0.21608000993728638,
      'Height': 0.0200358759611845,
      'Left': 0.12751396000385284,
      'Top': 0.3235915005207062},
     'Polygon': [{'X': 0.12751396000385284, 'Y': 0.3235915005207062},
      {'X': 0.34349295496940613, 'Y': 0.3238651156425476},
      {'X': 0.3435939848423004, 'Y': 0.34362736344337463},
      {'X': 0.12761986255645752, 'Y': 0.34339481592178345}]},
    'Confidence': 94.58015441894531},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 95.5},
   'LabelDetection': {'Text': 'Loose Seams',
    'Geometry': {'BoundingBox': {'Width': 0.09154075384140015,
      'Height': 0.011243871413171291,
      'Left': 0.2909635007381439,
      'Top': 0.42348718643188477},
     'Polygon': [{'X': 0.2909635007381439, 'Y': 0.42348718643188477},
      {'X': 0.38244742155075073, 'Y': 0.4235154092311859},
      {'X': 0.38250425457954407, 'Y': 0.43473106622695923},
      {'X': 0.29102155566215515, 'Y': 0.4347127377986908}]},
    'Confidence': 95.17913055419922},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.014086964540183544,
      'Height': 0.009878362528979778,
      'Left': 0.27309396862983704,
      'Top': 0.42410069704055786},
     'Polygon': [{'X': 0.27309396862983704, 'Y': 0.42410069704055786},
      {'X': 0.28712984919548035, 'Y': 0.4241049289703369},
      {'X': 0.28718096017837524, 'Y': 0.4339790642261505},
      {'X': 0.27314522862434387, 'Y': 0.4339761435985565}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 95.0},
   'LabelDetection': {'Text': 'Permanent Shading',
    'Geometry': {'BoundingBox': {'Width': 0.13924720883369446,
      'Height': 0.012071557343006134,
      'Left': 0.0985599234700203,
      'Top': 0.43874838948249817},
     'Polygon': [{'X': 0.0985599234700203, 'Y': 0.43874838948249817},
      {'X': 0.23774413764476776, 'Y': 0.4387708604335785},
      {'X': 0.23780712485313416, 'Y': 0.4508199393749237},
      {'X': 0.0986248254776001, 'Y': 0.4508135914802551}]},
    'Confidence': 94.83258819580078},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.014641131274402142,
      'Height': 0.009928502142429352,
      'Left': 0.08259167522192001,
      'Top': 0.43825197219848633},
     'Polygon': [{'X': 0.08259167522192001, 'Y': 0.43825197219848633},
      {'X': 0.09717939794063568, 'Y': 0.43825438618659973},
      {'X': 0.09723281115293503, 'Y': 0.4481804668903351},
      {'X': 0.08264525979757309, 'Y': 0.4481794238090515}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 95.0},
   'LabelDetection': {'Text': 'Allergy Concerns',
    'Geometry': {'BoundingBox': {'Width': 0.11545991897583008,
      'Height': 0.012368067167699337,
      'Left': 0.28926894068717957,
      'Top': 0.39615729451179504},
     'Polygon': [{'X': 0.28926894068717957, 'Y': 0.39615729451179504},
      {'X': 0.4046667814254761, 'Y': 0.3962232172489166},
      {'X': 0.40472885966300964, 'Y': 0.40852534770965576},
      {'X': 0.28933262825012207, 'Y': 0.40847310423851013}]},
    'Confidence': 91.31575775146484},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.013979844748973846,
      'Height': 0.010146879591047764,
      'Left': 0.27254408597946167,
      'Top': 0.39582815766334534},
     'Polygon': [{'X': 0.27254408597946167, 'Y': 0.39582815766334534},
      {'X': 0.2864714562892914, 'Y': 0.3958361744880676},
      {'X': 0.2865239381790161, 'Y': 0.4059750437736511},
      {'X': 0.27259671688079834, 'Y': 0.40596839785575867}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 93.0},
   'LabelDetection': {'Text': 'Excessive Wear',
    'Geometry': {'BoundingBox': {'Width': 0.10464227199554443,
      'Height': 0.01053692027926445,
      'Left': 0.0990402102470398,
      'Top': 0.4101735055446625},
     'Polygon': [{'X': 0.0990402102470398, 'Y': 0.4101735055446625},
      {'X': 0.20362724363803864, 'Y': 0.41021907329559326},
      {'X': 0.20368248224258423, 'Y': 0.42071041464805603},
      {'X': 0.09909669309854507, 'Y': 0.4206753969192505}]},
    'Confidence': 92.89436340332031},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.01583889126777649,
      'Height': 0.01004171371459961,
      'Left': 0.08204009383916855,
      'Top': 0.4095456898212433},
     'Polygon': [{'X': 0.08204009383916855, 'Y': 0.4095456898212433},
      {'X': 0.09782499074935913, 'Y': 0.409552663564682},
      {'X': 0.09787898510694504, 'Y': 0.4195874035358429},
      {'X': 0.08209425956010818, 'Y': 0.41958194971084595}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 92.5},
   'LabelDetection': {'Text': 'Time',
    'Geometry': {'BoundingBox': {'Width': 0.02681553363800049,
      'Height': 0.010385806672275066,
      'Left': 0.659330427646637,
      'Top': 0.3567666709423065},
     'Polygon': [{'X': 0.659330427646637, 'Y': 0.3567666709423065},
      {'X': 0.6860969066619873, 'Y': 0.3567921817302704},
      {'X': 0.6861459612846375, 'Y': 0.36715248227119446},
      {'X': 0.6593798398971558, 'Y': 0.3671296536922455}]},
    'Confidence': 92.33248901367188},
   'ValueDetection': {'Text': '12.30 P.M.',
    'Geometry': {'BoundingBox': {'Width': 0.1608247458934784,
      'Height': 0.019669130444526672,
      'Left': 0.6893413662910461,
      'Top': 0.350131094455719},
     'Polygon': [{'X': 0.6893413662910461, 'Y': 0.350131094455719},
      {'X': 0.8500771522521973, 'Y': 0.35029467940330505},
      {'X': 0.8501660823822021, 'Y': 0.36980023980140686},
      {'X': 0.6894338726997375, 'Y': 0.3696669638156891}]},
    'Confidence': 91.03388214111328},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 92.0},
   'LabelDetection': {'Text': 'Cleaning Tech',
    'Geometry': {'BoundingBox': {'Width': 0.11247267574071884,
      'Height': 0.015330612659454346,
      'Left': 0.5303084850311279,
      'Top': 0.8699572086334229},
     'Polygon': [{'X': 0.5303084850311279, 'Y': 0.8704065084457397},
      {'X': 0.6427100300788879, 'Y': 0.8699572086334229},
      {'X': 0.6427811980247498, 'Y': 0.8848223686218262},
      {'X': 0.5303815603256226, 'Y': 0.8852878212928772}]},
    'Confidence': 90.90103912353516},
   'ValueDetection': {'Text': 'JOHN LEWIS',
    'Geometry': {'BoundingBox': {'Width': 0.1771693378686905,
      'Height': 0.026054145768284798,
      'Left': 0.6595302224159241,
      'Top': 0.858439028263092},
     'Polygon': [{'X': 0.6595302224159241, 'Y': 0.8591284155845642},
      {'X': 0.83658367395401, 'Y': 0.858439028263092},
      {'X': 0.8366995453834534, 'Y': 0.8837604522705078},
      {'X': 0.6596512198448181, 'Y': 0.8844931721687317}]},
    'Confidence': 91.7969970703125},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 91.0},
   'LabelDetection': {'Text': 'Cellular',
    'Geometry': {'BoundingBox': {'Width': 0.045506563037633896,
      'Height': 0.009642691351473331,
      'Left': 0.6373825669288635,
      'Top': 0.33319979906082153},
     'Polygon': [{'X': 0.6373825669288635, 'Y': 0.33319979906082153},
      {'X': 0.6828436851501465, 'Y': 0.3332534432411194},
      {'X': 0.6828891634941101, 'Y': 0.3428424894809723},
      {'X': 0.6374285221099854, 'Y': 0.3427930176258087}]},
    'Confidence': 90.93302154541016},
   'ValueDetection': {'Text': '683-426-2200',
    'Geometry': {'BoundingBox': {'Width': 0.21450038254261017,
      'Height': 0.018960552290081978,
      'Left': 0.6977348923683167,
      'Top': 0.3263414204120636},
     'Polygon': [{'X': 0.6977348923683167, 'Y': 0.3263414204120636},
      {'X': 0.9121513366699219, 'Y': 0.3266088664531708},
      {'X': 0.9122353196144104, 'Y': 0.3453019857406616},
      {'X': 0.6978234052658081, 'Y': 0.34507331252098083}]},
    'Confidence': 90.27494812011719},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 90.5},
   'LabelDetection': {'Text': 'Customer',
    'Geometry': {'BoundingBox': {'Width': 0.08403262495994568,
      'Height': 0.014190987683832645,
      'Left': 0.0689774751663208,
      'Top': 0.882927656173706},
     'Polygon': [{'X': 0.0689774751663208, 'Y': 0.883272111415863},
      {'X': 0.15293645858764648, 'Y': 0.882927656173706},
      {'X': 0.15301010012626648, 'Y': 0.8967629671096802},
      {'X': 0.06905244290828705, 'Y': 0.8971186280250549}]},
    'Confidence': 90.06220245361328},
   'ValueDetection': {'Text': 'ELIZABETH CAMPBELL',
    'Geometry': {'BoundingBox': {'Width': 0.29250043630599976,
      'Height': 0.022797495126724243,
      'Left': 0.16023072600364685,
      'Top': 0.870701789855957},
     'Polygon': [{'X': 0.16023072600364685, 'Y': 0.8718706369400024},
      {'X': 0.4526234269142151, 'Y': 0.870701789855957},
      {'X': 0.4527311623096466, 'Y': 0.8922697901725769},
      {'X': 0.1603456735610962, 'Y': 0.8934993147850037}]},
    'Confidence': 88.27864837646484},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 89.0},
   'LabelDetection': {'Text': 'Laminate Floor Concerns',
    'Geometry': {'BoundingBox': {'Width': 0.17273929715156555,
      'Height': 0.010896960273385048,
      'Left': 0.28804612159729004,
      'Top': 0.4380652606487274},
     'Polygon': [{'X': 0.28804612159729004, 'Y': 0.4380652606487274},
      {'X': 0.46073126792907715, 'Y': 0.4380943477153778},
      {'X': 0.4607854187488556, 'Y': 0.4489622414112091},
      {'X': 0.2881024479866028, 'Y': 0.44895124435424805}]},
    'Confidence': 88.91796112060547},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.013887431472539902,
      'Height': 0.00963879656046629,
      'Left': 0.274356871843338,
      'Top': 0.4379328787326813},
     'Polygon': [{'X': 0.274356871843338, 'Y': 0.4379328787326813},
      {'X': 0.288194477558136, 'Y': 0.4379352033138275},
      {'X': 0.2882443070411682, 'Y': 0.44757166504859924},
      {'X': 0.27440688014030457, 'Y': 0.4475705921649933}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 88.5},
   'LabelDetection': {'Text': 'Work',
    'Geometry': {'BoundingBox': {'Width': 0.03447243198752403,
      'Height': 0.010814260691404343,
      'Left': 0.36020827293395996,
      'Top': 0.3312617838382721},
     'Polygon': [{'X': 0.36020827293395996, 'Y': 0.3312617838382721},
      {'X': 0.3946262300014496, 'Y': 0.3313029408454895},
      {'X': 0.3946807086467743, 'Y': 0.34207603335380554},
      {'X': 0.3602631688117981, 'Y': 0.34203845262527466}]},
    'Confidence': 87.25090026855469},
   'ValueDetection': {'Text': '726-448-6720',
    'Geometry': {'BoundingBox': {'Width': 0.20375339686870575,
      'Height': 0.016855981200933456,
      'Left': 0.40063172578811646,
      'Top': 0.3286469280719757},
     'Polygon': [{'X': 0.40063172578811646, 'Y': 0.3286469280719757},
      {'X': 0.6043049693107605, 'Y': 0.3288957476615906},
      {'X': 0.6043851375579834, 'Y': 0.34550291299819946},
      {'X': 0.40071573853492737, 'Y': 0.3452867567539215}]},
    'Confidence': 88.27705383300781},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 86.0},
   'LabelDetection': {'Text': 'Soiled Furniture',
    'Geometry': {'BoundingBox': {'Width': 0.1096150204539299,
      'Height': 0.010698831640183926,
      'Left': 0.2868221700191498,
      'Top': 0.4100326895713806},
     'Polygon': [{'X': 0.2868221700191498, 'Y': 0.4100326895713806},
      {'X': 0.3963833749294281, 'Y': 0.4100806713104248},
      {'X': 0.3964371979236603, 'Y': 0.4207315444946289},
      {'X': 0.2868773341178894, 'Y': 0.4206947982311249}]},
    'Confidence': 85.47489166259766},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.014085855334997177,
      'Height': 0.009900099597871304,
      'Left': 0.2727871239185333,
      'Top': 0.409950852394104},
     'Polygon': [{'X': 0.2727871239185333, 'Y': 0.409950852394104},
      {'X': 0.28682178258895874, 'Y': 0.40995699167251587},
      {'X': 0.2868729829788208, 'Y': 0.4198509454727173},
      {'X': 0.2728384733200073, 'Y': 0.4198461174964905}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 85.5},
   'LabelDetection': {'Text': 'Day',
    'Geometry': {'BoundingBox': {'Width': 0.023388784378767014,
      'Height': 0.01174582913517952,
      'Left': 0.3718755841255188,
      'Top': 0.35564300417900085},
     'Polygon': [{'X': 0.3718755841255188, 'Y': 0.35564300417900085},
      {'X': 0.3952050805091858, 'Y': 0.3556654453277588},
      {'X': 0.3952643573284149, 'Y': 0.36738884449005127},
      {'X': 0.3719351589679718, 'Y': 0.36736905574798584}]},
    'Confidence': 83.72608947753906},
   'ValueDetection': {'Text': 'Wednesday',
    'Geometry': {'BoundingBox': {'Width': 0.1386369913816452,
      'Height': 0.024107282981276512,
      'Left': 0.3993149697780609,
      'Top': 0.34607401490211487},
     'Polygon': [{'X': 0.3993149697780609, 'Y': 0.34607401490211487},
      {'X': 0.5378345847129822, 'Y': 0.3462199866771698},
      {'X': 0.5379520058631897, 'Y': 0.37018129229545593},
      {'X': 0.39943617582321167, 'Y': 0.370067298412323}]},
    'Confidence': 85.09841918945312},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 82.5},
   'LabelDetection': {'Text': 'City',
    'Geometry': {'BoundingBox': {'Width': 0.025909116491675377,
      'Height': 0.012501001358032227,
      'Left': 0.6205770373344421,
      'Top': 0.30859360098838806},
     'Polygon': [{'X': 0.6205770373344421, 'Y': 0.30859360098838806},
      {'X': 0.6464265584945679, 'Y': 0.30863022804260254},
      {'X': 0.6464861631393433, 'Y': 0.3210946023464203},
      {'X': 0.6206369996070862, 'Y': 0.32106107473373413}]},
    'Confidence': 82.48185729980469},
   'ValueDetection': {'Text': 'NEX YORK',
    'Geometry': {'BoundingBox': {'Width': 0.14043879508972168,
      'Height': 0.022677812725305557,
      'Left': 0.6687309741973877,
      'Top': 0.3000532388687134},
     'Polygon': [{'X': 0.6687309741973877, 'Y': 0.3000532388687134},
      {'X': 0.8090663552284241, 'Y': 0.30026382207870483},
      {'X': 0.8091697692871094, 'Y': 0.32273104786872864},
      {'X': 0.6688379645347595, 'Y': 0.3225509226322174}]},
    'Confidence': 77.6738052368164},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 76.0},
   'LabelDetection': {'Text': 'Other',
    'Geometry': {'BoundingBox': {'Width': 0.038350123912096024,
      'Height': 0.01023342739790678,
      'Left': 0.5778354406356812,
      'Top': 0.9006713032722473},
     'Polygon': [{'X': 0.5778354406356812, 'Y': 0.9008357524871826},
      {'X': 0.6161370873451233, 'Y': 0.9006713032722473},
      {'X': 0.6161856055259705, 'Y': 0.910736620426178},
      {'X': 0.5778843760490417, 'Y': 0.9109047651290894}]},
    'Confidence': 75.64922332763672},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.10774315148591995,
      'Height': 0.014557065442204475,
      'Left': 0.618475079536438,
      'Top': 0.8954559564590454},
     'Polygon': [{'X': 0.618475079536438, 'Y': 0.8959132432937622},
      {'X': 0.7261521220207214, 'Y': 0.8954559564590454},
      {'X': 0.7262182831764221, 'Y': 0.9095410704612732},
      {'X': 0.6185429692268372, 'Y': 0.9100130200386047}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 72.5},
   'LabelDetection': {'Text': 'Late Fee',
    'Geometry': {'BoundingBox': {'Width': 0.05245355889201164,
      'Height': 0.010045165196061134,
      'Left': 0.7530027031898499,
      'Top': 0.8006049990653992},
     'Polygon': [{'X': 0.7530027031898499, 'Y': 0.8007797598838806},
      {'X': 0.8054107427597046, 'Y': 0.8006049990653992},
      {'X': 0.805456280708313, 'Y': 0.810470461845398},
      {'X': 0.7530487775802612, 'Y': 0.8106501698493958}]},
    'Confidence': 71.52510833740234},
   'ValueDetection': {'Text': '5.00 00',
    'Geometry': {'BoundingBox': {'Width': 0.102896548807621,
      'Height': 0.018782688304781914,
      'Left': 0.8197110891342163,
      'Top': 0.7978001236915588},
     'Polygon': [{'X': 0.8197110891342163, 'Y': 0.7981404662132263},
      {'X': 0.9225250482559204, 'Y': 0.7978001236915588},
      {'X': 0.9226076602935791, 'Y': 0.8162241578102112},
      {'X': 0.8197958469390869, 'Y': 0.8165827989578247}]},
    'Confidence': 72.34652709960938},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 65.5},
   'LabelDetection': {'Text': 'Pet Odors',
    'Geometry': {'BoundingBox': {'Width': 0.07304596155881882,
      'Height': 0.011095465160906315,
      'Left': 0.09350176900625229,
      'Top': 0.3958131670951843},
     'Polygon': [{'X': 0.09350176900625229, 'Y': 0.3958131670951843},
      {'X': 0.16648907959461212, 'Y': 0.39585503935813904},
      {'X': 0.1665477305650711, 'Y': 0.40690866112709045},
      {'X': 0.0935613289475441, 'Y': 0.40687453746795654}]},
    'Confidence': 64.05148315429688},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.015264553017914295,
      'Height': 0.01028513628989458,
      'Left': 0.08149563521146774,
      'Top': 0.39627742767333984},
     'Polygon': [{'X': 0.08149563521146774, 'Y': 0.39627742767333984},
      {'X': 0.0967048853635788, 'Y': 0.39628610014915466},
      {'X': 0.09676019102334976, 'Y': 0.40656256675720215},
      {'X': 0.08155111223459244, 'Y': 0.4065554141998291}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 62.5},
   'LabelDetection': {'Text': 'E-Mail"',
    'Geometry': {'BoundingBox': {'Width': 0.04665113240480423,
      'Height': 0.010710757225751877,
      'Left': 0.5200080275535583,
      'Top': 0.282549649477005},
     'Polygon': [{'X': 0.5200080275535583, 'Y': 0.282549649477005},
      {'X': 0.5666074156761169, 'Y': 0.28262731432914734},
      {'X': 0.566659152507782, 'Y': 0.293260395526886},
      {'X': 0.5200603604316711, 'Y': 0.2931874990463257}]},
    'Confidence': 53.310401916503906},
   'ValueDetection': {'Text': 'vilcomp@gmail.com',
    'Geometry': {'BoundingBox': {'Width': 0.251456081867218,
      'Height': 0.019417790696024895,
      'Left': 0.5722715258598328,
      'Top': 0.2792922258377075},
     'Polygon': [{'X': 0.5722715258598328, 'Y': 0.2792922258377075},
      {'X': 0.8236405253410339, 'Y': 0.27971941232681274},
      {'X': 0.8237276077270508, 'Y': 0.29871001839637756},
      {'X': 0.572364091873169, 'Y': 0.2983289957046509}]},
    'Confidence': 60.13902282714844},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 54.000003814697266},
   'LabelDetection': {'Text': 'Special Instructions or Directions:',
    'Geometry': {'BoundingBox': {'Width': 0.225040003657341,
      'Height': 0.012653539888560772,
      'Left': 0.5206770300865173,
      'Top': 0.38298773765563965},
     'Polygon': [{'X': 0.5206770300865173, 'Y': 0.38298773765563965},
      {'X': 0.7456586360931396, 'Y': 0.3831450641155243},
      {'X': 0.7457170486450195, 'Y': 0.3956412672996521},
      {'X': 0.5207386016845703, 'Y': 0.39551106095314026}]},
    'Confidence': 53.9756965637207},
   'ValueDetection': {'Text': '',
    'Geometry': {'BoundingBox': {'Width': 0.4266812801361084,
      'Height': 0.05497416481375694,
      'Left': 0.49419888854026794,
      'Top': 0.3973137438297272},
     'Polygon': [{'X': 0.49419888854026794, 'Y': 0.3973137438297272},
      {'X': 0.9206348061561584, 'Y': 0.39755305647850037},
      {'X': 0.920880138874054, 'Y': 0.4522879123687744},
      {'X': 0.49447083473205566, 'Y': 0.452274352312088}]},
    'Confidence': 0.0},
   'PageNumber': 1},
  {'Type': {'Text': 'TOTAL', 'Confidence': 99.76947784423828},
   'LabelDetection': {'Text': 'TOTAL',
    'Geometry': {'BoundingBox': {'Width': 0.05073551461100578,
      'Height': 0.011950855143368244,
      'Left': 0.753889262676239,
      'Top': 0.8247276544570923},
     'Polygon': [{'X': 0.753889262676239, 'Y': 0.824908435344696},
      {'X': 0.8045705556869507, 'Y': 0.8247276544570923},
      {'X': 0.8046247959136963, 'Y': 0.8364920020103455},
      {'X': 0.7539442181587219, 'Y': 0.8366785049438477}]},
    'Confidence': 98.64350128173828},
   'ValueDetection': {'Text': '450 00',
    'Geometry': {'BoundingBox': {'Width': 0.11582565307617188,
      'Height': 0.020770881325006485,
      'Left': 0.8102607727050781,
      'Top': 0.8224866986274719},
     'Polygon': [{'X': 0.8102607727050781, 'Y': 0.8228974938392639},
      {'X': 0.9259952902793884, 'Y': 0.8224866986274719},
      {'X': 0.92608642578125, 'Y': 0.8428241014480591},
      {'X': 0.8103545308113098, 'Y': 0.8432576060295105}]},
    'Confidence': 99.65402221679688},
   'PageNumber': 1},
  {'Type': {'Text': 'RECEIVER_ADDRESS', 'Confidence': 95.90914916992188},
   'LabelDetection': {'Text': 'Address',
    'Geometry': {'BoundingBox': {'Width': 0.053993821144104004,
      'Height': 0.009652351029217243,
      'Left': 0.07546723634004593,
      'Top': 0.30529722571372986},
     'Polygon': [{'X': 0.07546723634004593, 'Y': 0.30529722571372986},
      {'X': 0.12940987944602966, 'Y': 0.30537497997283936},
      {'X': 0.12946105003356934, 'Y': 0.31494957208633423},
      {'X': 0.07551900297403336, 'Y': 0.3148767352104187}]},
    'Confidence': 95.75353240966797},
   'ValueDetection': {'Text': '90 OLD HICKORY BLVD',
    'Geometry': {'BoundingBox': {'Width': 0.3442087769508362,
      'Height': 0.02733050473034382,
      'Left': 0.14412643015384674,
      'Top': 0.29719048738479614},
     'Polygon': [{'X': 0.14412643015384674, 'Y': 0.29719048738479614},
      {'X': 0.48820242285728455, 'Y': 0.29771366715431213},
      {'X': 0.4883352220058441, 'Y': 0.324521005153656},
      {'X': 0.14426976442337036, 'Y': 0.32408666610717773}]},
    'Confidence': 95.65865325927734},
   'PageNumber': 1},
  {'Type': {'Text': 'INVOICE_RECEIPT_DATE', 'Confidence': 99.79714965820312},
   'LabelDetection': {'Text': 'Date',
    'Geometry': {'BoundingBox': {'Width': 0.03216955438256264,
      'Height': 0.010518710128962994,
      'Left': 0.07637345790863037,
      'Top': 0.35410577058792114},
     'Polygon': [{'X': 0.07637345790863037, 'Y': 0.35410577058792114},
      {'X': 0.10848671942949295, 'Y': 0.35413703322410583},
      {'X': 0.1085430160164833, 'Y': 0.3646245002746582},
      {'X': 0.07643014192581177, 'Y': 0.3645964562892914}]},
    'Confidence': 99.3871841430664},
   'ValueDetection': {'Text': '04/23/2020',
    'Geometry': {'BoundingBox': {'Width': 0.19812610745429993,
      'Height': 0.022963088005781174,
      'Left': 0.11229494959115982,
      'Top': 0.34593334794044495},
     'Polygon': [{'X': 0.11229494959115982, 'Y': 0.34593334794044495},
      {'X': 0.3103039264678955, 'Y': 0.3461417257785797},
      {'X': 0.31042104959487915, 'Y': 0.3688964545726776},
      {'X': 0.11241724342107773, 'Y': 0.36873140931129456}]},
    'Confidence': 96.017333984375},
   'PageNumber': 1},
  {'Type': {'Text': 'TAX', 'Confidence': 99.81538391113281},
   'LabelDetection': {'Text': 'Sales Tax',
    'Geometry': {'BoundingBox': {'Width': 0.05706123635172844,
      'Height': 0.009684447199106216,
      'Left': 0.752395510673523,
      'Top': 0.7762940526008606},
     'Polygon': [{'X': 0.752395510673523, 'Y': 0.7764707207679749},
      {'X': 0.809412956237793, 'Y': 0.7762940526008606},
      {'X': 0.8094567060470581, 'Y': 0.7857965230941772},
      {'X': 0.7524398565292358, 'Y': 0.7859784960746765}]},
    'Confidence': 99.48528289794922},
   'ValueDetection': {'Text': '1445.0 00',
    'Geometry': {'BoundingBox': {'Width': 0.11331885308027267,
      'Height': 0.024326913058757782,
      'Left': 0.8112874627113342,
      'Top': 0.7705132365226746},
     'Polygon': [{'X': 0.8112874627113342, 'Y': 0.7708581686019897},
      {'X': 0.924498975276947, 'Y': 0.7705132365226746},
      {'X': 0.9246063232421875, 'Y': 0.7944690585136414},
      {'X': 0.8113978505134583, 'Y': 0.7948401570320129}]},
    'Confidence': 99.66134643554688},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 90.92475128173828},
   'LabelDetection': {'Text': 'Phone',
    'Geometry': {'BoundingBox': {'Width': 0.04250941425561905,
      'Height': 0.009687976911664009,
      'Left': 0.7301319241523743,
      'Top': 0.8958988785743713},
     'Polygon': [{'X': 0.7301319241523743, 'Y': 0.8960794806480408},
      {'X': 0.7725971341133118, 'Y': 0.8958988785743713},
      {'X': 0.7726413011550903, 'Y': 0.9054023623466492},
      {'X': 0.7301765084266663, 'Y': 0.905586838722229}]},
    'Confidence': 89.14117431640625},
   'ValueDetection': {'Text': '626-200-4890',
    'Geometry': {'BoundingBox': {'Width': 0.20498627424240112,
      'Height': 0.028003590181469917,
      'Left': 0.7725487947463989,
      'Top': 0.8846393823623657},
     'Polygon': [{'X': 0.7725487947463989, 'Y': 0.8854900598526001},
      {'X': 0.9774152040481567, 'Y': 0.8846393823623657},
      {'X': 0.9775350689888, 'Y': 0.9117385149002075},
      {'X': 0.7726749777793884, 'Y': 0.9126429557800293}]},
    'Confidence': 90.69705200195312},
   'PageNumber': 1},
  {'Type': {'Text': 'OTHER', 'Confidence': 96.4910659790039},
   'LabelDetection': {'Text': 'Name',
    'Geometry': {'BoundingBox': {'Width': 0.039872702211141586,
      'Height': 0.009643582627177238,
      'Left': 0.07532918453216553,
      'Top': 0.279750794172287},
     'Polygon': [{'X': 0.07532918453216553, 'Y': 0.279750794172287},
      {'X': 0.1151505559682846, 'Y': 0.27981796860694885},
      {'X': 0.11520189046859741, 'Y': 0.2893943786621094},
      {'X': 0.07538095861673355, 'Y': 0.2893308699131012}]},
    'Confidence': 96.34061431884766},
   'ValueDetection': {'Text': 'ELIZABETH CAMPBELL',
    'Geometry': {'BoundingBox': {'Width': 0.35332366824150085,
      'Height': 0.031524498015642166,
      'Left': 0.1202450692653656,
      'Top': 0.27207455039024353},
     'Polygon': [{'X': 0.1202450692653656, 'Y': 0.27207455039024353},
      {'X': 0.47341516613960266, 'Y': 0.2726965844631195},
      {'X': 0.47356873750686646, 'Y': 0.3035990595817566},
      {'X': 0.12041110545396805, 'Y': 0.303082138299942}]},
    'Confidence': 95.9389877319336},
   'PageNumber': 1}],
 'LineItemGroups': [{'LineItemGroupIndex': 1,
   'LineItems': [{'LineItemExpenseFields': [{'Type': {'Text': 'ITEM',
        'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Pet odors',
        'Geometry': {'BoundingBox': {'Width': 0.7368755340576172,
          'Height': 0.023374218493700027,
          'Left': 0.07752513885498047,
          'Top': 0.47615158557891846},
         'Polygon': [{'X': 0.07752513885498047, 'Y': 0.47629809379577637},
          {'X': 0.8142945766448975, 'Y': 0.47615158557891846},
          {'X': 0.8144006729125977, 'Y': 0.49921509623527527},
          {'X': 0.07765062898397446, 'Y': 0.4995258152484894}]},
        'Confidence': 99.95892333984375},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '50',
        'Geometry': {'BoundingBox': {'Width': 0.0722079947590828,
          'Height': 0.02307785488665104,
          'Left': 0.8142945766448975,
          'Top': 0.47613725066185},
         'Polygon': [{'X': 0.8142945766448975, 'Y': 0.47615158557891846},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8865025639533997, 'Y': 0.4991846978664398},
          {'X': 0.8144006729125977, 'Y': 0.49921509623527527}]},
        'Confidence': 99.98512268066406},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04211711138486862,
          'Height': 0.023055803030729294,
          'Left': 0.886398434638977,
          'Top': 0.4761289060115814},
         'Polygon': [{'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
          {'X': 0.8865026235580444, 'Y': 0.4991846978664398}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Pet odors 50',
        'Geometry': {'BoundingBox': {'Width': 0.850990355014801,
          'Height': 0.023396912962198257,
          'Left': 0.07752513885498047,
          'Top': 0.4761289060115814},
         'Polygon': [{'X': 0.07752513885498047, 'Y': 0.47629809379577637},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
          {'X': 0.07765062898397446, 'Y': 0.4995258152484894}]},
        'Confidence': 99.96765899658203},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Food Stains',
        'Geometry': {'BoundingBox': {'Width': 0.7368581891059875,
          'Height': 0.02399268001317978,
          'Left': 0.07765062898397446,
          'Top': 0.49921512603759766},
         'Polygon': [{'X': 0.07765062898397446, 'Y': 0.4995258152484894},
          {'X': 0.8144006729125977, 'Y': 0.49921512603759766},
          {'X': 0.8145087957382202, 'Y': 0.5227296948432922},
          {'X': 0.07777857780456543, 'Y': 0.5232077836990356}]},
        'Confidence': 99.95933532714844},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '45',
        'Geometry': {'BoundingBox': {'Width': 0.07220814377069473,
          'Height': 0.02354499325156212,
          'Left': 0.8144006729125977,
          'Top': 0.4991847276687622},
         'Polygon': [{'X': 0.8144006729125977, 'Y': 0.49921512603759766},
          {'X': 0.8865025639533997, 'Y': 0.4991847276687622},
          {'X': 0.8866088390350342, 'Y': 0.5226829051971436},
          {'X': 0.8145087957382202, 'Y': 0.5227296948432922}]},
        'Confidence': 99.9857177734375},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04211802780628204,
          'Height': 0.02351592294871807,
          'Left': 0.8865026235580444,
          'Top': 0.49916699528694153},
         'Polygon': [{'X': 0.8865026235580444, 'Y': 0.4991847276687622},
          {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
          {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
          {'X': 0.8866088390350342, 'Y': 0.5226829051971436}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Food Stains 45',
        'Geometry': {'BoundingBox': {'Width': 0.8509699702262878,
          'Height': 0.02404080517590046,
          'Left': 0.07765062898397446,
          'Top': 0.49916699528694153},
         'Polygon': [{'X': 0.07765062898397446, 'Y': 0.4995258152484894},
          {'X': 0.9285155534744263, 'Y': 0.49916699528694153},
          {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
          {'X': 0.07777857780456543, 'Y': 0.5232077836990356}]},
        'Confidence': 99.96813201904297},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Steam cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368404865264893,
          'Height': 0.02461421862244606,
          'Left': 0.07777857780456543,
          'Top': 0.5227296948432922},
         'Polygon': [{'X': 0.07777857780456543, 'Y': 0.5232077836990356},
          {'X': 0.8145087957382202, 'Y': 0.5227296948432922},
          {'X': 0.8146190643310547, 'Y': 0.5466952323913574},
          {'X': 0.07790897786617279, 'Y': 0.547343909740448}]},
        'Confidence': 99.97703552246094},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '100',
        'Geometry': {'BoundingBox': {'Width': 0.07220825552940369,
          'Height': 0.02401232160627842,
          'Left': 0.8145087957382202,
          'Top': 0.5226829051971436},
         'Polygon': [{'X': 0.8145087957382202, 'Y': 0.5227296948432922},
          {'X': 0.8866088390350342, 'Y': 0.5226829051971436},
          {'X': 0.8867170810699463, 'Y': 0.5466317534446716},
          {'X': 0.8146190047264099, 'Y': 0.5466952323913574}]},
        'Confidence': 99.98554992675781},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04211892560124397,
          'Height': 0.023976100608706474,
          'Left': 0.8866088390350342,
          'Top': 0.5226556658744812},
         'Polygon': [{'X': 0.8866088390350342, 'Y': 0.5226829051971436},
          {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
          {'X': 0.9287277460098267, 'Y': 0.5465947985649109},
          {'X': 0.8867170810699463, 'Y': 0.5466317534446716}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Steam cleaning 100',
        'Geometry': {'BoundingBox': {'Width': 0.8509491682052612,
          'Height': 0.024688269942998886,
          'Left': 0.07777857780456543,
          'Top': 0.5226556658744812},
         'Polygon': [{'X': 0.07777857780456543, 'Y': 0.5232077836990356},
          {'X': 0.9286206364631653, 'Y': 0.5226556658744812},
          {'X': 0.9287277460098267, 'Y': 0.5465947985649109},
          {'X': 0.07790897786617279, 'Y': 0.547343909740448}]},
        'Confidence': 99.97987365722656},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Water Damage',
        'Geometry': {'BoundingBox': {'Width': 0.7368161082267761,
          'Height': 0.02387278899550438,
          'Left': 0.07790897786617279,
          'Top': 0.5466952323913574},
         'Polygon': [{'X': 0.07790897786617279, 'Y': 0.547343909740448},
          {'X': 0.8146190643310547, 'Y': 0.5466952323913574},
          {'X': 0.8147251009941101, 'Y': 0.5697551965713501},
          {'X': 0.07803444564342499, 'Y': 0.5705680251121521}]},
        'Confidence': 99.97860717773438},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '400',
        'Geometry': {'BoundingBox': {'Width': 0.07220220565795898,
          'Height': 0.023123450577259064,
          'Left': 0.8146190047264099,
          'Top': 0.5466317534446716},
         'Polygon': [{'X': 0.8146190047264099, 'Y': 0.5466952323913574},
          {'X': 0.8867170810699463, 'Y': 0.5466317534446716},
          {'X': 0.8868212103843689, 'Y': 0.569675624370575},
          {'X': 0.8147251009941101, 'Y': 0.5697551965713501}]},
        'Confidence': 99.9887466430664},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.042113736271858215,
          'Height': 0.023080894723534584,
          'Left': 0.8867170810699463,
          'Top': 0.5465947389602661},
         'Polygon': [{'X': 0.8867170810699463, 'Y': 0.5466317534446716},
          {'X': 0.9287277460098267, 'Y': 0.5465947389602661},
          {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
          {'X': 0.8868212699890137, 'Y': 0.569675624370575}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Water Damage 400',
        'Geometry': {'BoundingBox': {'Width': 0.8509218096733093,
          'Height': 0.023973261937499046,
          'Left': 0.07790897786617279,
          'Top': 0.5465947389602661},
         'Polygon': [{'X': 0.07790897786617279, 'Y': 0.547343909740448},
          {'X': 0.9287277460098267, 'Y': 0.5465947389602661},
          {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
          {'X': 0.07803444564342499, 'Y': 0.5705680251121521}]},
        'Confidence': 99.98198699951172},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'loose Repair\nseams',
        'Geometry': {'BoundingBox': {'Width': 0.7367925047874451,
          'Height': 0.023125097155570984,
          'Left': 0.07803444564342499,
          'Top': 0.5697551965713501},
         'Polygon': [{'X': 0.07803444564342499, 'Y': 0.5705680251121521},
          {'X': 0.8147251009941101, 'Y': 0.5697551965713501},
          {'X': 0.8148269653320312, 'Y': 0.5919098258018494},
          {'X': 0.07815499603748322, 'Y': 0.5928803086280823}]},
        'Confidence': 99.87442016601562},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '200',
        'Geometry': {'BoundingBox': {'Width': 0.07219623029232025,
          'Height': 0.02223413810133934,
          'Left': 0.8147251009941101,
          'Top': 0.5696756839752197},
         'Polygon': [{'X': 0.8147251009941101, 'Y': 0.5697551965713501},
          {'X': 0.8868212103843689, 'Y': 0.5696756839752197},
          {'X': 0.8869212865829468, 'Y': 0.5918148159980774},
          {'X': 0.8148269653320312, 'Y': 0.5919098258018494}]},
        'Confidence': 99.98649597167969},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210859164595604,
          'Height': 0.022185510024428368,
          'Left': 0.8868212699890137,
          'Top': 0.5696293115615845},
         'Polygon': [{'X': 0.8868212699890137, 'Y': 0.5696756839752197},
          {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
          {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
          {'X': 0.8869213461875916, 'Y': 0.5918148159980774}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'loose Repair\nseams 200',
        'Geometry': {'BoundingBox': {'Width': 0.8508954048156738,
          'Height': 0.023250995203852654,
          'Left': 0.07803444564342499,
          'Top': 0.5696293115615845},
         'Polygon': [{'X': 0.07803444564342499, 'Y': 0.5705680251121521},
          {'X': 0.9288308024406433, 'Y': 0.5696293115615845},
          {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
          {'X': 0.07815499603748322, 'Y': 0.5928803086280823}]},
        'Confidence': 99.90242767333984},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Tile cleaning repair',
        'Geometry': {'BoundingBox': {'Width': 0.7367738485336304,
          'Height': 0.02328164130449295,
          'Left': 0.07815499603748322,
          'Top': 0.5919098258018494},
         'Polygon': [{'X': 0.07815499603748322, 'Y': 0.5928803086280823},
          {'X': 0.8148269653320312, 'Y': 0.5919098258018494},
          {'X': 0.8149288892745972, 'Y': 0.6140632629394531},
          {'X': 0.07827553153038025, 'Y': 0.6151914596557617}]},
        'Confidence': 99.86579132080078},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '200',
        'Geometry': {'BoundingBox': {'Width': 0.0721944123506546,
          'Height': 0.022248445078730583,
          'Left': 0.8148269653320312,
          'Top': 0.5918148159980774},
         'Polygon': [{'X': 0.8148269653320312, 'Y': 0.5919098258018494},
          {'X': 0.8869212865829468, 'Y': 0.5918148159980774},
          {'X': 0.8870213627815247, 'Y': 0.6139528751373291},
          {'X': 0.8149288296699524, 'Y': 0.6140632629394531}]},
        'Confidence': 99.98596954345703},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210752993822098,
          'Height': 0.02219337783753872,
          'Left': 0.8869213461875916,
          'Top': 0.5917595028877258},
         'Polygon': [{'X': 0.8869213461875916, 'Y': 0.5918148159980774},
          {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
          {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
          {'X': 0.8870214223861694, 'Y': 0.6139528751373291}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Tile cleaning repair 200',
        'Geometry': {'BoundingBox': {'Width': 0.8508738279342651,
          'Height': 0.023431962355971336,
          'Left': 0.07815499603748322,
          'Top': 0.5917595028877258},
         'Polygon': [{'X': 0.07815499603748322, 'Y': 0.5928803086280823},
          {'X': 0.9289298057556152, 'Y': 0.5917595028877258},
          {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
          {'X': 0.07827553153038025, 'Y': 0.6151914596557617}]},
        'Confidence': 99.89582061767578},
       'PageNumber': 1}]},
    {'LineItemExpenseFields': [{'Type': {'Text': 'ITEM', 'Confidence': 70.0},
       'LabelDetection': {'Text': 'Carpet Cleaning',
        'Geometry': {'BoundingBox': {'Width': 0.7368801832199097,
          'Height': 0.020497675985097885,
          'Left': 0.07741440832614899,
          'Top': 0.45580044388771057},
         'Polygon': [{'X': 0.07741440832614899, 'Y': 0.4558020830154419},
          {'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084},
          {'X': 0.07752513885498047, 'Y': 0.47629812359809875}]},
        'Confidence': 74.46519470214844},
       'ValueDetection': {'Text': 'Delivery cost',
        'Geometry': {'BoundingBox': {'Width': 0.73675936460495,
          'Height': 0.024348895996809006,
          'Left': 0.07827553153038025,
          'Top': 0.6140632629394531},
         'Polygon': [{'X': 0.07827553153038025, 'Y': 0.6151914596557617},
          {'X': 0.8149288892745972, 'Y': 0.6140632629394531},
          {'X': 0.8150349259376526, 'Y': 0.6371198892593384},
          {'X': 0.07840099185705185, 'Y': 0.6384121775627136}]},
        'Confidence': 99.94113159179688},
       'PageNumber': 1},
      {'Type': {'Text': 'PRICE', 'Confidence': 70.0},
       'LabelDetection': {'Text': '250',
        'Geometry': {'BoundingBox': {'Width': 0.07219740748405457,
          'Height': 0.020351318642497063,
          'Left': 0.8142009973526001,
          'Top': 0.45580029487609863},
         'Polygon': [{'X': 0.8142009973526001, 'Y': 0.45580044388771057},
          {'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.886398434638977, 'Y': 0.47613725066185},
          {'X': 0.8142945766448975, 'Y': 0.47615161538124084}]},
        'Confidence': 74.48655700683594},
       'ValueDetection': {'Text': '200',
        'Geometry': {'BoundingBox': {'Width': 0.07219667732715607,
          'Height': 0.023167040199041367,
          'Left': 0.8149288296699524,
          'Top': 0.6139528751373291},
         'Polygon': [{'X': 0.8149288296699524, 'Y': 0.6140632629394531},
          {'X': 0.8870213627815247, 'Y': 0.6139528751373291},
          {'X': 0.887125551700592, 'Y': 0.636993408203125},
          {'X': 0.8150349259376526, 'Y': 0.6371198892593384}]},
        'Confidence': 99.97767639160156},
       'PageNumber': 1},
      {'Type': {'Text': 'OTHER', 'Confidence': 70.0},
       'LabelDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.04210595414042473,
          'Height': 0.020337073132395744,
          'Left': 0.8863064646720886,
          'Top': 0.4558001756668091},
         'Polygon': [{'X': 0.8863064646720886, 'Y': 0.45580029487609863},
          {'X': 0.9283214807510376, 'Y': 0.4558001756668091},
          {'X': 0.9284124374389648, 'Y': 0.4761289060115814},
          {'X': 0.886398434638977, 'Y': 0.47613725066185}]},
        'Confidence': 0.0},
       'ValueDetection': {'Text': '',
        'Geometry': {'BoundingBox': {'Width': 0.042110513895750046,
          'Height': 0.02310490794479847,
          'Left': 0.8870214223861694,
          'Top': 0.6138885021209717},
         'Polygon': [{'X': 0.8870214223861694, 'Y': 0.6139528751373291},
          {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
          {'X': 0.9291319251060486, 'Y': 0.6369197368621826},
          {'X': 0.887125551700592, 'Y': 0.636993408203125}]},
        'Confidence': 0.0},
       'PageNumber': 1},
      {'Type': {'Text': 'EXPENSE_ROW', 'Confidence': 99.99797058105469},
       'ValueDetection': {'Text': 'Delivery cost 200',
        'Geometry': {'BoundingBox': {'Width': 0.850856363773346,
          'Height': 0.02452363818883896,
          'Left': 0.07827553153038025,
          'Top': 0.6138885021209717},
         'Polygon': [{'X': 0.07827553153038025, 'Y': 0.6151914596557617},
          {'X': 0.9290288686752319, 'Y': 0.6138885021209717},
          {'X': 0.9291319251060486, 'Y': 0.6369197368621826},
          {'X': 0.07840099185705185, 'Y': 0.6384121775627136}]},
        'Confidence': 99.95330810546875},
       'PageNumber': 1}]}]}]}

Conclusion

With Textractor, we strived to offer a tool that does most of the work, but also one that gets out of the way when you know better. If you find a Textractor object that does not have a raw_object property, open an issue on our official GitHub repository.