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 識別準確,修復原圖和疊加文本框的效果良好,操作簡單易上手。主要缺點是字型大小偶爾會有偏差,漸變背景處理效果一般。對普通使用場景來說,這是一個可靠實用的工具。