glmocr-table

Extract complex tables from images and PDFs into Markdown tables.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/ViewWay/openclaw-skills --skill glmocr-table-viewway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glmocr-table
Source: https://github.com/ViewWay/openclaw-skills/tree/main/glmocr-table
Command: npx skills add https://github.com/ViewWay/openclaw-skills --skill glmocr-table-viewway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Recognize and extract complex tables from images and PDFs and convert them into editable Markdown tables for easy documentation, data analysis, and reporting.

Core Features & Use Cases

  • Complex table support: handles merged cells, nested tables, and multi-row headers.
  • Markdown output: produces clean Markdown tables suitable for documentation and data pipelines.
  • Multi-page PDF support: extracts tables from multi-page documents in a single run.
  • Input flexibility: accepts both local files and remote URLs for images and PDFs.
  • Use Case: convert financial statements, invoices, and reports with tabular data into Markdown for analytics workflows.

Quick Start

Run the CLI on a local file or URL to extract tables and save the Markdown output.

Frequently Asked Questions about glmocr-table

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract complex tables from a PDF into Markdown?

To extract complex tables from a PDF into Markdown, this tool processes scanned documents and reports by handling merged cells and multi-page layouts, outputting clean Markdown text for data pipelines.

Can I convert images with nested tables into Markdown tables?

Yes, you can convert images containing nested tables and multi-row headers into Markdown tables. The extraction supports local image files and remote URLs to produce editable structured text.

What do I need to parse PDF tables using this GLM-OCR approach?

To parse PDF tables, you need the GLM-OCR API, the requests dependency, and environment variables ZHIPU_API_KEY and GLM_OCR_TIMEOUT configured to authorize requests and manage response times.

Does the table extraction work with multi-page PDF documents?

Yes, table extraction works with multi-page PDF documents by processing the entire file in a single run. It extracts tabular data from multi-page layouts and outputs continuous Markdown text.

What is the best way to convert scanned invoices into Markdown for analytics?

The best way to convert scanned invoices into Markdown for analytics is using an OCR layout-parsing tool that recognizes complex tabular structures and outputs editable Markdown text for reporting workflows.

Are there limitations when extracting tables with merged cells from images?

While extracting tables with merged cells from images is supported, limitations may arise from severely degraded scan quality or highly irregular nested structures that obscure layout parsing boundaries.