glmocr-handwriting

Recognize handwritten text from images and PDFs via GLM-OCR layout parsing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Convert handwritten content in images and PDFs into accurate, editable text so users can search, archive, and repurpose notes, letters, annotations, and forms without manual transcription.

Core Features & Use Cases

  • Handwritten OCR: Extracts multi-style handwritten text including cursive and printed handwriting.
  • Multi-language & Mixed Content: Supports Chinese, English, and mixed handwritten/printed documents.
  • Flexible Inputs: Accepts local files or remote URLs and returns markdown-formatted extracted text and layout details.
  • Use Case: Capture lecture notes or meeting whiteboard photos and convert them into editable text for summaries, indexing, or sharing.

Quick Start

Run the CLI against a local file or a URL while ensuring ZHIPU_API_KEY is set in the environment to produce extracted handwritten text and optional JSON output.

Frequently Asked Questions about glmocr-handwriting

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

FAQPage Schema
How do I convert handwritten notes from an image to editable text?

Handwritten notes from images are converted to editable text using automated layout parsing that recognizes multi-style cursive and printed handwriting, returning markdown-formatted text. It supports local files and remote URLs.

Can I extract handwriting from a PDF file?

Handwriting can be extracted from PDF files using automated layout parsing that processes mixed handwritten and printed content. The Skill accepts local PDF files or remote URLs and returns markdown-formatted extracted text.

Does the handwriting OCR tool support mixed Chinese and English documents?

The handwriting OCR tool supports multi-language extraction including Chinese, English, and mixed handwritten and printed documents. It uses automated layout parsing to process these formats and return editable markdown text.

Do I need a ZHIPU_API_KEY to extract text from handwriting images?

A configured ZHIPU_API_KEY environment variable is required to extract text from handwriting images. The Skill calls the fixed GLM-OCR layout_parsing endpoint to process local files or remote URLs.

What is the best way to process lecture notes and whiteboard photos for text indexing?

The best way to process lecture notes and whiteboard photos for text indexing is using GLM-OCR layout parsing. It converts handwritten content from images and PDFs into searchable markdown text without manual transcription.

Can I set a timeout for handwritten OCR requests?

A request timeout for handwritten OCR can be set using the optional GLM_OCR_TIMEOUT environment variable. This controls the duration allowed for the GLM-OCR layout_parsing endpoint to process and return extracted text.