Link Search Menu Expand Document

Shipping Label from USPS - TEMPLATES-SAMPLES

Document Parser sample in TEMPLATES-SAMPLES demonstrating ‘Shipping Label from USPS’

US_postal_shipping_label.json
{
  "templateVersion": 4,
  "templatePriority": 0,
  "culture": "en-US",
  "objects": [
    {
      "id": 1657806532476,
      "objectType": "field",
      "name": "BarcodeFromRectangle1",
      "fieldProperties": {
        "fieldType": "rectangle",
        "rectangle": [
          20.072899788501026,
          328.86594134875344,
          248.5497297340862,
          63.06210703282548
        ],
        "pageIndex": 0,
        "expression": "$$Barcode:QRcode,Code128"
      }
    }
  ],
  "oldObjects": [
    {
      "id": 1657806532476,
      "objectType": "field",
      "name": "BarcodeFromRectangle1",
      "fieldProperties": {
        "fieldType": "rectangle",
        "rectangle": [
          20.072899788501026,
          328.86594134875344,
          247.9593503285421,
          63.06210703282548
        ],
        "pageIndex": 0,
        "expression": "$$Barcode:QRcode,Code128"
      }
    }
  ],
  "templateName": "",
  "description": "",
  "options": {
    "ocrMode": "auto",
    "ocrLanguage": "eng",
    "ocrResolution": 300,
    "ocrImageFilters": "",
    "ocrWhiteList": "",
    "ocrBlackList": ""
  }
}

PDF.co Web API: the Web API with a set of tools for documents manipulation, data conversion, data extraction, splitting and merging of documents. Includes image recognition, built-in OCR, barcode generation and barcode decoders to decode bar codes from scans, pictures and pdf.

Get your PDF.co API key here!

Download Source Code (.zip)

return to the previous page explore Document Parser endpoint