用途:当你拥有一篇或多篇研究论文 PDF,需要制作包含 Intro/Methods/Results/Conclusions 等标准板块的会议海报草稿时使用。流程为 PDF → 元数据提取 → 内容结构化 → 图表生成 → LaTeX 海报组装 → HTML 转换 → 渲染 → 最终 HTML。
主要能力:脚本化 PDF 处理(转图片、提取标题/作者/摘要/章节结构、转为海报要点并限制字数);强制配图工作流(至少 2–3 张示意图/流程图/机制图/对比图);提供 beamerposter、tikzposter、baposter 三种模板(assets/templates/);HTML 优先交付,最终产物为 poster.rendered.html + figures/;自动化质量检查与设计原则参考文档。
使用方式:推荐运行 python scripts/run_poster_pipeline.py paper.pdf --html-only,在 output/ 下生成带时间戳目录。也可分阶段执行:extract_metadata.py、structure_content.py(--max-words 800)、convert_pdf_to_images.py(--dpi 600)、generate_figures.py、insert_figures.py、convert_poster.py --html-only,最后运行 check_poster_quality.py。
依赖:Python >=3.8,pip install pypdf pdfplumber pdf2image pytesseract pandas pillow matplotlib;系统需 tesseract-ocr(扫描版 PDF 的 OCR)与 Poppler;编译 PDF 需 LaTeX 及 beamerposter、tikzposter、baposter、qrcode、xcolor、tcolorbox、subcaption、graphics 等包;HTML 转换需 pandoc,pdf2htmlEX 可选。
限制:最终只返回 poster.rendered.html 与 figures/,其余均为临时文件;海报宜控制在 600–800 词、图占面积 40–50%、分辨率 ≥300 DPI、对比度 ≥4.5:1;PDF 编译为可选。收费、价格与平台要求暂未提供。