image-reader-xytest
v1.0.0识别本地图片内容(支持中文),通过 OCR.space 免费 API 实现。
⭐ 0· 129·0 current·0 all-time
by@xytest
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (local OCR using OCR.space) align with the included Python script and SKILL.md. The script performs image resizing, base64-encodes the image, and posts to api.ocr.space — functionality expected for this purpose.
Instruction Scope
Instructions only run the provided script against a local image path and require Pillow; they do not read unrelated files or environment variables. Note: the script transmits the image content to OCR.space (a third-party endpoint) and writes the recognized text to a file in the skill's scripts directory, which are privacy-relevant behaviors users should be aware of.
Install Mechanism
No install spec; this is an instruction-only skill that requires Python and the Pillow package (pip). Nothing is downloaded or written by an installer.
Credentials
No environment variables or credentials are requested. The script hardcodes OCR.space's public demo API key ('helloworld'), which is consistent with a demo usage but has limited quota and is not a secret; no unrelated credentials are present.
Persistence & Privilege
The skill does not request persistent/always-on presence and does not modify other skills or system-wide settings. It writes an output file to its own scripts directory, which is expected for a local OCR helper.
Assessment
This skill appears internally consistent with its purpose. Before installing, consider: (1) Privacy — your image is uploaded to a third-party service (api.ocr.space); do not send sensitive images unless you accept that. (2) Output file — recognized text is saved under the skill's scripts folder as <image_name>_ocr.txt; check/write permissions. (3) API key — the script uses the public demo key 'helloworld' (limited quota); if you need production use, replace it with your own OCR.space API key (modify the script to accept an env var for the key to avoid hardcoding). (4) Dependencies — ensure Python 3 and Pillow are installed. If you want stronger guarantees, review/modify the script to avoid sending sensitive images or to use an on-prem OCR solution.Like a lobster shell, security has layers — review code before you run it.
latestvk976czv0cjdmt2rn0ghb6v482983j0bg
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
