Link Search Menu Expand Document

Table Auto Detection - TEMPLATES-SAMPLES

Document Parser sample in TEMPLATES-SAMPLES demonstrating ‘Table Auto Detection’

auto_detect_table.json
{
  "templateVersion": 4,
  "templatePriority": 0,
  "culture": "en-US",
  "objects": [
    {
      "id": 1657631500842,
      "objectType": "table",
      "tableType": "searchBased",
      "name": "AutoDetectTable1",
      "tableProperties": {
        "autoDetection": {
          "tableIndex": 0,
          "pageIndex": 0
        },
        "columns": [
          {
            "name": "Column1",
            "dataType": "string"
          },
          {
            "name": "Column2",
            "dataType": "string"
          },
          {
            "name": "Column3",
            "dataType": "string"
          }
        ],
        "filters": [
          {
            "action": "exclude",
            "expression": "TEST EXPRESSION ABCDEF TO EXCLUDE",
            "regex": true
          }
        ]
      }
    }
  ],
  "oldObjects": [],
  "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