Mochify
Image and PDF processing for agents, on a native C++ engine
目录 / 文档处理 / anxin-exam-scan-harvest
安昕「单文件离线题库」的原卷配图量产线。当用户拿到一整份真题 PDF(含答案页),需要“把每道题的图都抠出来 / 批量切图 / 新年份配图 / 图里有水印要去 / 答案是结构简式没法打字 / 把图内联成 data URI”时使用;也用于处理“图带一片黄斑或蓝纹”“图太糊 / 体积太大”“某题明明有图却抠不出来”“图里混进了题干文字”等问题。与偏重“单张精修”的姊妹技能 anxin-paper-figure-crop 不同,本技能面向“一次跑完一整份卷”。提供 scripts/paper_harvest.py(配置驱动主引擎:plan/sheet/emit 三命令)、scan_starts.py(自动定位题干首行 y,不用手量坐标)、colorcheck.py(水印/真彩占比体检,用数字说话)、dumptext.py(抽文本做转录底稿)。核心 know-how:DPI 按目标显示宽度反推并夹在 150–240;去水印必须“饱和度 + 亮度”双条件(水印常是浅蓝 + 米黄的组合 logo,只滤一类必漏,只按颜色不按亮度会啃掉文字边缘);灰色线稿判灰度让 PNG 体积减半;答案是结构简式时直接裁答案页。参数标定方法见 references/tuning-parameters.md。
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-11-14 15:06 | 3a00112b | 可取 |
版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
Image and PDF processing for agents, on a native C++ engine
Generate and manipulate PDFs from Claude Desktop, Cursor, and Windsurf
Convert PDF, Word, PowerPoint, Excel, HTML and EPUB files into clean Markdown for LLMs, including OCR for scanned PDFs a…
PDF Toolkit converts PDFs/images to Word, Excel, and Markdown, splits and merges PDFs, creates PDFs from images, adds te…
Parse and query bank statements — turn PDF statements into structured transactions, accounts, and balances, with balance…
Fill any interactive PDF form from your AI agent — tax forms, HR paperwork, legal documents — in a single tool call
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。