glmocr

Extract text from images and PDFs via the GLM-OCR layout parsing API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

GLM-OCR provides reliable text extraction from images and PDFs, turning scanned documents into searchable, editable content with support for tables, formulas, and handwriting.

Core Features & Use Cases

  • Table recognition: Detects tables and converts them to Markdown format
  • Formula extraction: Outputs LaTeX-formatted formulas
  • Handwriting support: Strong recognition for handwritten text
  • Local file & URL: Works with both local files and remote URLs
  • Versatile input: Accepts images and PDFs for extraction in automation pipelines

Quick Start

Provide an image or PDF (URL or local file) to extract text with GLM-OCR.

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 and convert tables to Markdown?

Extract text from scanned PDFs by sending local files or remote URLs to the GLM-OCR layout parsing API. It recognizes tables and outputs structured Markdown text along with layout details for immediate use.

Can I use an image URL to extract formulas and output LaTeX format?

Yes, extracting formulas from image URLs outputs LaTeX-formatted text. The process accepts web-hosted files and screenshots, parsing mathematical formulas and returning structured text data.

What is the best way to parse handwriting from images in an automation pipeline?

Parsing handwriting from images in automation pipelines requires sending files to the GLM-OCR API. It provides strong handwritten text recognition and returns structured Markdown text for automation workflows.

Do I need a specific API key to extract text from PDFs and images?

Yes, extracting text from PDFs and images requires a valid GLM-OCR API key. You must configure this key to use the official fixed endpoint for document layout parsing and text extraction.

Does this text extraction method work with both local files and remote URLs?

Yes, text extraction works with both local files and remote URLs. You can provide scanned documents, screenshots, or web-hosted files to extract text, tables, and formulas using the API.

When should I not use GLM-OCR for extracting text from documents?

You should not use GLM-OCR for text extraction if you lack a valid GLM-OCR API key or if your documents do not require layout parsing, table recognition, or formula extraction.