name: ppt-edit description: PPT图片转可编辑文字 — OCR识别PPT中图片内的文字,修复原图并叠加可编辑文本框,保留原始视觉样式。Use when the user wants to make text in PPT images editable, extract text from PPT images, or convert image-locked PPT text into editable textboxes. Triggers: "ppt-edit", "PPT可编辑", "图片文字转文本框", "OCR PPT", "make PPT editable", "extract text from PPT images".
Convert image-embedded text in PowerPoint files into editable text boxes, preserving the original visual design (arrows, shapes, borders, colors, fonts).
Output: <input>_editable.pptx
python ppt_ocr_edit.py <input.pptx>
Also supports .ppt files (auto-converts via LibreOffice if available).
python-pptx
Pillow
numpy
rapidocr_onnxruntime
Install all at once:
pip install python-pptx Pillow numpy rapidocr_onnxruntime
想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
ppt-edit/
├── SKILL.md ← this file
├── ppt_ocr_edit.py ← core script
└── requirements.txt ← Python dependencies
这个 Skill 质量不错,能有效解决图片文字无法编辑的问题。OCR 识别准确,修复原图和叠加文本框的效果良好,操作简单易上手。主要缺点是字体大小偶尔会有偏差,渐变背景处理效果一般。对普通使用场景来说,这是一个可靠实用的工具。