glmocr-sdk

Parse images, PDFs, and scans into labeled regions with bounding boxes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract structured content from documents (images, PDFs, scans) by identifying text blocks, tables, and other regions, turning visual content into machine-readable data for downstream automation.

Core Features & Use Cases

  • Returns structured JSON with labeled regions and bounding boxes, plus Markdown summaries for human readability.
  • CLI and Python usage that lets you parse single files or directories with minimal setup.
  • Use cases include digitizing invoices, receipts, reports, and whiteboard notes, enabling automated data ingestion and archival.

Quick Start

Install glmocr and run glmocr parse on a document to obtain structured JSON and Markdown outputs.

Frequently Asked Questions about glmocr-sdk

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

FAQPage Schema
How do I extract structured data from PDFs and images?

You can extract structured data from PDFs and images by parsing documents to identify text blocks and tables, which returns labeled regions with bounding boxes as structured JSON and Markdown outputs for automation.

How do I digitize invoices and receipts into JSON?

Digitize invoices and receipts into JSON by running a document parsing command on single files or directories, which extracts text blocks and tables into machine-readable structured data for automated ingestion.

Does this OCR tool return Markdown and JSON outputs?

Yes, this OCR tool returns both formats. It provides structured JSON with labeled regions and bounding boxes for automation, alongside Markdown summaries to ensure human readability of the extracted document content.

Do I need an API key to parse documents with this library?

Yes, you need an API key configured in your environment to parse documents with this library. You must also install the glmocr library, which supports CLI or Python usage with optional layout and model configurations.

Can I process a directory of scanned reports at once?

Yes, you can process a directory of scanned reports at once. The tool supports parsing single files or entire directories with minimal setup, applying optional layout configurations to extract structured regions efficiently.

What is the best way to extract text blocks and tables from scans?

The best way to extract text blocks and tables from scans is using a parsing tool that identifies document regions with labels and bounding boxes, converting visual content into structured JSON and Markdown data.