General Text Recognition OCR for Openclaw

A powerful OCR tool for AI agents to extract multi-language text from images using the JisuAPI service.

jisuapi
v1.0.3
Apr 3, 2026
10
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install generalrecognition

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install generalrecognition using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is General Text Recognition OCR?

The General Text Recognition OCR skill enables AI agents to perform high-accuracy Optical Character Recognition (OCR) on images. By integrating with the professional JisuAPI data platform, this skill allows developers to convert visual information from screenshots or photographs into actionable text. It is a core component of the Openclaw Skills library, designed to facilitate multimodal interactions where an agent needs to read and interpret visual data in various languages including Chinese, English, Japanese, and more.

General Text Recognition OCR Use Cases

  • Extracting text from user-uploaded screenshots for immediate data processing.
  • Automating the transcription of physical documents and business cards into digital formats.
  • Enabling AI agents to read and translate text found within image files.
  • Assisting in research by converting non-selectable text from images into searchable data.

How General Text Recognition OCR Works

  1. The AI agent identifies a request to recognize text from an image or local file path.
  2. The agent executes the Python script, passing the image data as a JSON parameter.
  3. The skill reads the local image file and automatically converts it to a base64-encoded string if needed.
  4. A request is sent to the JisuAPI endpoint using the configured JISU_API_KEY.
  5. The OCR engine processes the image and returns a list of recognized text strings.
  6. The skill outputs a cleaned JSON result containing the text array for the agent to summarize or analyze.

General Text Recognition OCR Setup

To begin using this skill, you must register at JisuAPI and obtain an AppKey. Configure your environment as follows:

# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"

Ensure you have python3 installed and the skill files located in skills/generalrecognition/.

General Text Recognition OCR Data Schema & Taxonomy

The skill accepts a JSON input and returns structured text data.

Parameter Type Required Description
path string Optional Local image path (supports JPG/PNG)
pic string Optional Pure base64 image string (no prefix)
type string No Language type: cnen (default), en, fr, jp, ru, etc.

Example Output:

{
  "result": [
    "Extracted line 1",
    "Extracted line 2"
  ]
}

General Text Recognition OCR Advanced Features

  • Multi-language support covering 9+ major languages for global application.
  • Intelligent file handling that automatically manages base64 conversion for local paths.
  • Alias support for input parameters (path, image, or file) to increase agent flexibility.
  • Robust error handling with specific codes for image size limits and format errors within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*