photo-screen-ppt-replica
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "photo-screen-ppt-replica":https://skillpi.com/zh/skills/deepskill-ee09380dcc9e1b65fd9eeec066a4b8cacf21638b132379ecefbd0d806899f131。安装前核对上游来源和版本:https://skillhub.cn/skills/user_45c7959b/xiaoyouxiu-test。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
照片到可编辑 PPT 的重建工具:根据活动照片、课堂/会议照片或大屏演示截图,识别并裁剪屏幕区域(含透视校正),运行 OCR/文本识别,并将幻灯片以对象级别重建为可编辑的 PPTX 文件。支持按照片编号或明确图像路径输入;在外部上传前需询问用户可用的 OCR/API 选项。
介绍来源: third_party · user_45c7959b · 1.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- Accept any of these inputs: A numbered photo name such as `photo 12`, `12.jpg`, `照片12`, or `复刻照片12`. An explicit source image path. A folder plus a photo number. Optional output folder and output filename. Resolve paths in this order: 1. Use the exact path provided by the user. 2. If the user provides a workspace folder, look for `photos/`, `photo/`, `images/`, `照片/`, or the workspace root. 3. If only a number is provided, search common image extensions: `.jpg`, `.jpeg`, `.png`, `.webp`, `.bmp`. 4. If multiple files match, ask the user to choose the source photo before rebuilding. Never assume a private local path. Never hard-code a user name, drive path, API key, endpoint, or credential int
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: "photo-screen-ppt-replica"
description: "Reconstruct editable PowerPoint slides from event photos, classroom photos, conference photos, or screenshots of large-screen presentations. Use when the user asks to replicate a photographed PPT slide, identify a screen region, crop/perspective-correct it, run OCR or local text recognition, and rebuild the slide as object-level editable PPTX. The workflow supports numbered photos such as photo 12, 12.JPG, IMG_0012, or explicit image paths, and requires asking the user which OCR/API option is available before external upload."--- name: photo-screen-ppt-replica description: > Reconstruct editable PowerPoint slides from photos or screenshots of large-screen presentations. Use when the user asks to replicate a numbered photo, crop and perspective-correct a screen, OCR slide text, convert photographed PPT content into an editable PPTX, or says things like "replicate photo 12", "photo to editable PPT", "复刻照片", "识别大屏PPT", or "把照片里的PPT转成可编辑PPT". The workflow verifies the exact source photo, asks before using external OCR or image APIs, rebuilds readable text and non-complex structures as movable PowerPoint objects, forbids full-slide screenshot backgrounds, allows bounded image assets only for genuinely complex or unreadable regions, and reports object-count validation.
Photo Screen PPT Replica
Use this skill to rebuild the presentation shown inside a photo as an editable .pptx slide. The goal is object-level editability: text is real PowerPoint text, simple diagrams are native shapes, and only genuinely complex or unreadable visual regions remain as bounded image assets.
Inputs
Accept any of these inputs:
- A numbered photo name such as
photo 12,12.jpg,照片12, or复刻照片12. - An explicit source image path.
- A folder plus a photo number.
- Optional output folder and output filename.
Resolve paths in this order:
- Use the exact path provided by the user.
- If the user provides a workspace folder, look for
photos/,photo/,images/,照片/, or the workspace root. - If only a number is provided, search common image extensions:
.jpg,.jpeg,.png,.webp,.bmp. - If multiple files match, ask the user to choose the source photo before rebuilding.
Never assume a private local path. Never hard-code a user name, drive path, API key, endpoint, or credential into outputs or skill files.
Required Companion Workflow
If the image-to-editable-ppt skill or an equivalent editable-PPT workflow is available, use it for its OCR, object-source decisions, reconstruction, and validation rules. This skill is stricter when it forbids full-slide backgrounds, large non-complex image crops, invented objects, and OCR mojibake.
OCR And API Policy
Before calling any external OCR or image backend, ask or confirm that the user allows uploading the task-local corrected screen image for OCR/asset processing. The upload scope must be limited to the current page image, prompts, masks, and required reference images.
Support these modes:
ask: ask the user what OCR/API method to use.paddleocr: use the user's configured PaddleOCR token after consent.local: use local OCR or manual visual reading only.none: do not use OCR; rely on manual reading.custom: use a user-provided command or API description.
If no OCR/API is configured, continue locally when practical, but clearly report that OCR was not used and text fidelity may be lower.
Workflow
- Locate and verify the exact source photo.
- Identify the large-screen presentation area and state the visible slide title or section.
- Crop and perspective-correct the screen into a current-run output path such as
output/screen_rectified_XX_correct/XX_screen_rectified.png. - Run OCR if permitted and available. Treat OCR as advisory, not authoritative.
- Build a full visual inventory from the original photo and corrected screen: title, body text, numbers, tables, cards, flows, arrows, labels, footers, logos, diagrams, chart areas, and visual assets.
- Decide object sources before rebuilding:
- Native editable text for readable text.
- Native shapes for simple/non-complex structures.
- Bounded image assets only for genuinely complex or unreadable regions.
- Rebuild the slide as an editable
.pptxand save it to the requested output folder. - Export a preview and validate the result.
- Report the output path, source path, corrected image path, OCR mode, upload status, object counts, and known limitations.
Hard Requirements
- Do not use the full source photo or full corrected screen as a PPT background.
- Do not use large-area source-image crops to bypass editable reconstruction for non-complex visuals.
- Rebuild readable text, lines, rectangles, brackets, arrows, connectors, diamonds, triangles, circles, homePlate/direction blocks, legends, labels, level marks, ratios, process nodes, architecture nodes, footer information, section numbers, meeting marks, tables, KPI cards, ranking lists, simple charts, matrices, and workflow diagrams as movable/editable PPT objects.
- Treat tables, KPI cards, ranking lists, bar charts, line charts, pie/donut charts, triangle or stair-step diagrams, matrices, process bands, swimlanes, architecture boxes, and simple dashboards as non-complex when their structure is visually legible.
- Treat illustrations, anime/cartoon artwork, photos, dense screenshots, detailed logos/icons, dense external report captures, maps/heatmaps, and unreadable chart internals as complex assets only when they cannot be reliably decomposed without guessing.
- Do not invent extra frames, arrows, process nodes, labels, UI screens, explanatory chart cards, decorative lines, or guessed data.
- Do not recreate projector/camera scanlines or moire bands. Full-slide horizontal stripes caused by photographing the screen are artifacts, not slide objects.
- Keep source-like font hierarchy. Prefer stable levels: title 24/20, section 16/15/14, body 12/10/9, footer/source 6.5-8.
- Preserve source-like colors and emphasis. Avoid converting every page into a generic blue-white style.
- Prevent overlap and clipping. Long text must wrap within the same visual area as the source.
- Extract PPT text before delivery. If the output contains repeated
?, mojibake, replacement boxes, or obviously wrong Chinese/English caused by OCR or encoding failure, the build fails and must be regenerated or manually corrected.
Reconstruction Standard
Read references/replication-standard.md before rebuilding. It records the practical quality rules learned from repeated corrections: when to use native objects, when to allow a bounded image asset, how to handle data-heavy pages, flowcharts, training-card pages, exploration-list pages, and comparison pages.
Helper Script
Use scripts/rectify_screen.py for local first-pass cropping and 16:9 correction. It does not call OCR, does not use network access, and does not upload images.
Example:
python scripts/rectify_screen.py photos/12.jpg --out output/12_screen_rectified.png --json
Manual crop example:
python scripts/rectify_screen.py photos/12.jpg --out output/12_screen_rectified.png --box 0,120,4032,2800 --json
Final Report
Include:
- Final PPTX path.
- Source photo path.
- Corrected screen image path.
- Visible slide title or section.
- OCR mode used and whether external upload was used.
- Whether a full-slide background exists.
- Local image count.
- Text box count.
- Native shape count.
- Connector/line count.
- Whether repeated
?, mojibake, overlap, color drift, or invented objects were found. - Any remaining uncertainty caused by blur, occlusion, or unreadable source text.
当前收录版本
1.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决从照片或截图重建可编辑 PPT 的实际高频需求
- 支持多种输入格式和 OCR 模式,适用场景广泛
- 严格区分原生对象与图像资产,确保输出质量
亮点
- 触发词覆盖中英文多种表达方式,边界清晰
- 明确支持编号照片、路径、文件夹等多种输入形式
待提升项
-
description 重复定义 原报告严重程度:轻微
frontmatter 和 skill_body 内部均包含 description 字段,内容略有差异
改进建议:建议统一 description 内容,避免重复定义导致维护混乱
亮点
- 文档结构清晰,包含完整的工作流、输入说明、硬要求和输出报告
- 提供具体脚本使用示例和参数说明
亮点
- 工具脚本路径明确,参数示例完整
- 覆盖 OCR 模式选择、用户确认上传、mojibake 检测等关键异常处理
- 输出验证机制完善,包含对象计数和错误报告
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 32 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。