glmocr

Extract Markdown-formatted text and layout details from images and PDFs via API key authentication.

458|40|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/zai-org/GLM-skills --skill glmocr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glmocr
Source: https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr
Command: npx skills add https://github.com/zai-org/GLM-skills --skill glmocr

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Quickly convert images and PDF documents into editable, structured text so users no longer need to transcribe scans, screenshots, or handwritten notes manually.

Core Features & Use Cases

  • High-accuracy OCR: Extracts plain text from images and multi-page PDFs with layout awareness.
  • Table and formula recognition: Detects tables and formulas and outputs Markdown tables and LaTeX formulas.
  • Handwriting support and flexible inputs: Handles printed and handwritten text from local files or remote URLs; ideal for digitizing receipts, research papers, and scanned forms.

Quick Start

Use the glmocr skill to extract Markdown-formatted text and layout details from the file or URL you provide.

Frequently Asked Questions about glmocr

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

FAQPage Schema
How do I extract text from a scanned PDF or image?

To extract text from scanned PDFs or images, you use OCR to recognize printed and handwritten text, returning Markdown-formatted content and layout details for easy editing.

Can OCR recognize tables and mathematical formulas in documents?

Yes, OCR can recognize tables and mathematical formulas in documents, converting them directly into structured Markdown tables and LaTeX formulas for immediate use.

Does this OCR tool process remote image URLs as well as local files?

Yes, this OCR tool processes both local files and remote URLs, applying configurable timeouts and API key authentication to extract text and layout information from images and PDFs.

What is the best way to digitize handwritten notes from screenshots?

The best way to digitize handwritten notes from screenshots is using handwriting recognition OCR, which extracts text and layout details while returning meaningful error codes if extraction fails.

How does layout-aware text extraction handle multi-page PDFs?

Layout-aware text extraction handles multi-page PDFs by identifying structural elements across pages, outputting raw API responses alongside Markdown-formatted text to preserve document structure.