/install image-quality-filter
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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install image-quality-filter - After installation, invoke the skill by name or use
/image-quality-filter - Provide required inputs per the skill's parameter spec and get structured output
What is Image Quality Filter?
Detect and filter out low-quality images by analyzing blur, brightness, and resolution to clean up image datasets efficiently. It is an AI Agent Skill for Claude Code / OpenClaw, with 287 downloads so far.
How do I install Image Quality Filter?
Run "/install image-quality-filter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Image Quality Filter free?
Yes, Image Quality Filter is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Image Quality Filter support?
Image Quality Filter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Image Quality Filter?
It is built and maintained by Mingo_318 (@mingo-318); the current version is v1.0.0.