Install
openclaw skills install online-deepseek-ocrPerform cloud-based OCR on PNG, JPG, JPEG, and WEBP images using SiliconFlow's DeepSeek-OCR with automatic image preprocessing for enhanced recognition.
openclaw skills install online-deepseek-ocr使用 SiliconFlow 免费的 DeepSeek-OCR 模型进行云端 OCR 识别。
online-deepseek-ocr <image_path_or_url> [--json]
示例:
online-deepseek-ocr test/image.png
online-deepseek-ocr https://example.com/screenshot.png --json
{
"success": true,
"text": "识别的完整文本",
"engine": "deepseek-ocr",
"model": "deepseek-ai/DeepSeek-OCR",
"usage": {
"prompt_tokens": 701,
"completion_tokens": 304,
"total_tokens": 1005
}
}
cd skills/online-deepseek-ocr
pip install -r requirements.txt
config.json,填入 API key:
cd skills/online-deepseek-ocr
echo '{"apiKey": "your-api-key-here"}' > config.json
online-deepseek-ocr your-image.png
skills/online-deepseek-ocr/config.jsonpip install -r requirements.txt