← 返回 Skills 市场
287
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install image-quality-filter
功能描述
Detect and filter out low-quality images by analyzing blur, brightness, and resolution to clean up image datasets efficiently.
使用说明 (SKILL.md)
Image Quality Filter
Detect and filter out low-quality images including blurry, dark, too bright, or low resolution images. Use when user wants to clean up image datasets by removing poor quality images.
Features
- Blur Detection: Detect blurry images using Laplacian variance
- Brightness Analysis: Find too dark or too bright images
- Resolution Filter: Remove low-resolution images
- Quality Score: Compute overall quality score
- Batch Processing: Process large image folders
- Multiple Actions: List, delete, or move low-quality images
Usage
# Scan for low quality images
python scripts/quality_filter.py scan /path/to/images/
# Filter with custom thresholds
python scripts/quality_filter.py scan /path/to/images/ \
--blur-threshold 100 \
--min-resolution 640x480 \
--min-brightness 30 \
--max-brightness 220
# Delete low quality images
python scripts/quality_filter.py scan /path/to/images/ --action delete
Examples
$ python scripts/quality_filter.py scan ./images/
Scanning 150 images...
Analyzing quality...
Found 12 low-quality images:
[BLUR] photo_blurry.jpg (score: 45)
[BLUR] image_low.jpg (score: 62)
[DARK] dark_photo.jpg (score: 38)
[BRIGHT] overexposed.jpg (score: 41)
[RES] tiny_image.png (320x240)
Total: 12 low-quality images removed
Quality Criteria
| Criterion | Threshold | Description |
|---|---|---|
| Blur | \x3C 100 | Laplacian variance (lower = blurrier) |
| Brightness | 30-220 | Out of range is poor |
| Resolution | > 640x480 | Below minimum is low quality |
Installation
pip install pillow numpy opencv-python
Options
--blur-threshold: Blur threshold (default: 100)--min-resolution: Minimum resolution (default: 640x480)--min-brightness: Minimum brightness 0-255 (default: 30)--max-brightness: Maximum brightness 0-255 (default: 220)--action: What to do (list, delete, move)--output: Output folder for --action move
安全使用建议
This skill appears coherent and works locally on image files. Before using it: (1) run it in 'list' mode first to review results; (2) back up your dataset or test on a small subset before using 'move' or 'delete'; (3) note that blur detection requires OpenCV—if cv2 is not installed the script will skip blur checks; and (4) because move operations do not prompt, be cautious when specifying the output directory. There are no network calls or credential requests in the code.
功能分析
Type: OpenClaw Skill
Name: image-quality-filter
Version: 1.0.0
The skill bundle provides a legitimate tool for filtering low-quality images based on blur, brightness, and resolution. The Python script (scripts/quality_filter.py) uses standard libraries like PIL and OpenCV to analyze images and includes documented functionality to list, move, or delete files, with no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name/description, SKILL.md, and the included Python script are consistent: all required functionality (blur via Laplacian, brightness, resolution, batch actions) is implemented and no unrelated capabilities (cloud access, unrelated binaries) are requested.
Instruction Scope
Runtime instructions only invoke the included script on a user-specified directory. The script reads local image files and can list/move/delete them; it does not reference other system paths, environment variables, or external endpoints. Note: the delete action prompts for confirmation, while move does not.
Install Mechanism
No install spec is present (instruction-only), and the README's pip dependency list (Pillow, numpy, opencv-python) is proportional and expected for image analysis. Nothing is downloaded from arbitrary URLs.
Credentials
The skill declares no environment variables or credentials. The code does not access secrets or external service tokens.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system-wide agent settings. It runs only when invoked and has no mechanisms for persistent background presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install image-quality-filter - 安装完成后,直接呼叫该 Skill 的名称或使用
/image-quality-filter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with image quality filtering features:
- Detects blurry, dark, over-bright, and low-resolution images.
- Computes a quality score for each image.
- Supports batch processing of large image folders.
- Allows customizable thresholds for blur, brightness, and resolution.
- Multiple actions: list, delete, or move low-quality images.
元数据
常见问题
Image Quality Filter 是什么?
Detect and filter out low-quality images by analyzing blur, brightness, and resolution to clean up image datasets efficiently. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 287 次。
如何安装 Image Quality Filter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-quality-filter」即可一键安装,无需额外配置。
Image Quality Filter 是免费的吗?
是的,Image Quality Filter 完全免费(开源免费),可自由下载、安装和使用。
Image Quality Filter 支持哪些平台?
Image Quality Filter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image Quality Filter?
由 Mingo_318(@mingo-318)开发并维护,当前版本 v1.0.0。
推荐 Skills