Smart Image Cropper
Smart Image Cropper - Intelligent content detection and cropping Automatically detects and crops rectangular images from: • Scanned documents and book pages • Magazine layouts with embedded photos • Museum photos with framed artwork • Composite images with borders Features: • Adaptive parameter selection based on image analysis • Automatic text caption exclusion • Multiple detection strategies with intelligent scoring • Handles various background types and lighting conditions • Multi-image detection with intelligent selection Modes: • Auto: Analyzes image characteristics and applies optimal strategy • Conservative: Manual override when auto crops too aggressively • Aggressive: Manual override when auto is too cautious Multi-Image Handling: • Largest Only: Returns the biggest detected image (good for main content) • Best Quality: Analyzes content quality and returns the richest image • First Found: Returns the first valid image (fastest processing)
- image
- cropped_image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| crop_mode | COMBO | auto | Auto uses intelligent detection, others are manual overrides when needed |
| multi_image_handling | COMBO | largest_only | How to handle multiple images: largest_only picks biggest area, best_quality analyzes content |
| min_crop_ratio | FLOAT | 0.050.01–0.5 | Minimum crop size as ratio of original (prevents over-cropping) |
| debug_modeopt | BOOLEAN | false | Print detailed analysis and decision information |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| cropped_image | IMAGE | — |