🧪 Skills
universal-pdf-vision-parser
Extract multilingual document content and language learning notes (French, German, Japanese, Spanish, etc.) from PDFs using multimodal vision (Qwen-VL-Max)....
v1.0.0
Description
name: universal-pdf-vision-parser description: Extract multilingual document content and language learning notes (French, German, Japanese, Spanish, etc.) from PDFs using multimodal vision (Qwen-VL-Max). This skill converts PDF pages to high-res images and 'sees' the content to produce perfectly structured, high-readability Markdown.
Universal PDF Vision Parser Skill
Version: 0.1
This skill is a high-end multilingual document digitizer. It uses multimodal vision to 'look' at each PDF page, making it perfect for language learning notes, bilingual documents, and complex layouts that standard OCR fails to capture.
Prerequisites
- DashScope API Key: A valid key from Alibaba Cloud Bailian with
qwen-vl-maxaccess. - Environment:
pip install pymupdf dashscope
Usage
Basic Command
python scripts/vision_parse.py --pdf <path_to_pdf> --out <path_to_output.md> --api-key <YOUR_API_KEY> --max-pages 2
--max-pages: (Optional) Max pages to process. Defaults to2. Set to-1for all pages.
Agentic Workflow
- Visual Scanning: Converts PDF pages to 300 DPI PNGs.
- Expert Transcription: Qwen-VL-Max identifies the language and transcribes terms, translations, and explanations.
- Markdown Structuring: Automatically formats content with bold keywords, italicized meanings, and clean tables.
Examples
User: "Convert this German-Chinese note to markdown: notes.pdf"
Agent Action:
python scripts/vision_parse.py --pdf notes.pdf --out notes.md
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!