# OCRmyPDF GUI OCRmyPDF的图形用户界面,让OCR处理PDF文件变得简单。 ## 功能特点 - 简洁直观的图形界面 - 批量处理PDF文件 - 拖放支持 - 多语言OCR支持 - 可自定义OCR选项 - 保存处理配置 ## 安装要求 - Python 3.7+ - OCRmyPDF - Tesseract OCR - PySide6 (Qt for Python) ## 安装步骤 1. 安装OCRmyPDF和其依赖: ```bash # macOS brew install ocrmypdf # Ubuntu/Debian apt install ocrmypdf # 或使用pip pip install ocrmypdf ``` 2. 安装GUI依赖: ```bash pip install PySide6 ``` 3. 克隆本仓库: ```bash git clone https://github.com/yourusername/OCRmyPDF-GUI.git cd OCRmyPDF-GUI ``` ## 使用方法 运行启动脚本: ```bash python run.py ``` 或在Windows上双击`run.py`文件。 ## 开发计划 - [ ] 高级OCR选项 - [ ] 多语言界面 - [ ] 暗黑模式 - [ ] 自定义输出文件名模板 - [ ] 处理历史记录 ## 贡献 欢迎提交Pull Request或Issue。 ## 许可证 本项目采用与OCRmyPDF相同的许可证。 ## 致谢 - [OCRmyPDF](https://github.com/ocrmypdf/OCRmyPDF) - 强大的OCR工具 - [Tesseract OCR](https://github.com/tesseract-ocr/tesseract) - OCR引擎 - [Qt for Python (PySide6)](https://wiki.qt.io/Qt_for_Python) - GUI框架