name: pdf-intelligence-suite description: PDF智慧處理套件 - 文本提取、表格識別、OCR、PDF轉Word/Excel等 | PDF Intelligence Suite - Text extraction, table recognition, OCR, PDF to Word/Excel conversion homepage: https://github.com/kaiyuelv/pdf-intelligence-suite category: productivity tags: - pdf - ocr - document - extraction - converter - automation version: 1.0.0
PDF智慧處理套件是一個功能強大的PDF文件處理工具集,提供文本提取、表格識別、OCR文字識別、格式轉換等一站式服務。
想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。
pdf-intelligence-suite/
├── SKILL.md # 本檔案
├── README.md # 使用文件
├── requirements.txt # 依賴宣告
├── setup.py # 安裝配置
├── src/
│ └── pdf_intelligence_suite/
│ ├── __init__.py
│ ├── extractor.py # 文本提取模組
│ ├── tables.py # 表格識別模組
│ ├── ocr.py # OCR識別模組
│ ├── converter.py # 格式轉換模組
│ ├── manipulator.py # 頁面操作模組
│ ├── security.py # 安全處理模組
│ └── utils.py # 工具函式
├── examples/
│ └── basic_usage.py # 使用示例
└── tests/
└── test_pdf_suite.py # 單元測試
from pdf_intelligence_suite import PDFExtractor, TableExtractor, OCRProcessor
# 文本提取
extractor = PDFExtractor()
text = extractor.extract_text("document.pdf")
# 表格提取
tables = TableExtractor.extract_tables("report.pdf", output_format="excel")
# OCR識別
ocr = OCRProcessor(lang='chi_sim+eng')
text = ocr.process("scanned.pdf")
pip install -r requirements.txt
# 安裝Tesseract OCR引擎(Ubuntu/Debian)
sudo apt-get install tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra
# macOS
brew install tesseract tesseract-lang
# Windows: 下載安裝包 https://github.com/UB-Mannheim/tesseract/wiki
PDF Intelligence Suite is a powerful PDF document processing toolkit providing one-stop services for text extraction, table recognition, OCR, format conversion, and more.
from pdf_intelligence_suite import PDFExtractor, TableExtractor, OCRProcessor
# Text extraction
extractor = PDFExtractor()
text = extractor.extract_text("document.pdf")
# Table extraction
tables = TableExtractor.extract_tables("report.pdf", output_format="excel")
# OCR recognition
ocr = OCRProcessor(lang='eng')
text = ocr.process("scanned.pdf")
pip install -r requirements.txt
# Install Tesseract OCR engine (Ubuntu/Debian)
sudo apt-get install tesseract-ocr
# macOS
brew install tesseract
# Windows: Download from https://github.com/UB-Mannheim/tesseract/wiki
MIT License
ClawHub Skills Collection
這個PDF處理工具功能比較全面,能滿足文本提取、表格識別、格式轉換等常見需求。文件清晰易懂,中英文都有,新手容易上手。整體質量中規中矩,部分高階功能在實際使用中可能會遇到配置或相容性問題,比如需要額外安裝OCR引擎等。建議對新手更友好一些,減少環境配置的複雜度。