智能图像处理解决方案,支持图像增强、风格迁移、智能裁剪和 OCR 文字识别。
功能模块说明图像增强超分辨率、去噪、锐化、色彩增强智能裁剪自动识别主体,智能裁剪构图OCR识别文字提取,支持多语言格式转换支持 JPG/PNG/WebP/HEIC 等格式批量处理多图像并行处理
python
from scripts.image_enhancer import ImageEnhancer
# 图像增强
enhancer = ImageEnhancer()
enhancer.upscale('input.jpg', 'output.jpg', scale=2)
# OCR识别
from scripts.ocr_engine import OCREngine
ocr = OCREngine()
text = ocr.extract_text('image_with_text.png')
bash
pip install -r requirements.txt
text
image-ai-kit/
├── SKILL.md # Skill说明文档
├── README.md # 完整文档
├── requirements.txt # 依赖列表
├── scripts/ # 核心模块
│ ├── image_enhancer.py # 图像增强器
│ ├── ocr_engine.py # OCR引擎
│ └── image_utils.py # 图像工具
├── examples/ # 使用示例
│ └── basic_usage.py
└── tests/ # 单元测试
└── test_image.py