name: image-ai-kit description: AI影像工具包 - 智慧影像處理與增強 | AI Image Kit - Intelligent image processing and enhancement homepage: https://github.com/openclaw/image-ai-kit category: image-processing tags: ["image", "ai", "opencv", "pillow", "ocr", "enhancement", "computer-vision"]
智慧影像處理解決方案,支援影像增強、風格遷移、智慧裁剪和 OCR 文字識別。
| 功能模組 | 說明 |
|---|---|
| 影像增強 | 超解析度、去噪、銳化、色彩增強 |
| 智慧裁剪 | 自動識別主體,智慧裁剪構圖 |
| OCR識別 | 文字提取,支援多語言 |
| 格式轉換 | 支援 JPG/PNG/WebP/HEIC 等格式 |
| 批次處理 | 多影像並行處理 |
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')
pip install -r requirements.txt
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發現更多技能外掛,請訪問7w4.net。
這個影像處理工具包整體質量中等偏上,功能覆蓋面廣,包含影像增強、OCR識別、智慧裁剪等實用功能,程式碼結構清晰易讀。優點是文件較完善、有示例參考;不足是部分文件與實際程式碼不一致,缺少許可證說明,OCR功能較為簡單。對於日常影像處理需求基本夠用,但專業使用者可能需要更高階的功能支援。