smart_crop
Automatically crop images to target dimensions by detecting high-detail or salient regions using entropy or attention strategies.
Instructions
Intelligently crop image to specified dimensions using entropy or attention detection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input image path or URL | |
| width | Yes | Target width in pixels | |
| height | Yes | Target height in pixels | |
| output | Yes | Output file path | |
| strategy | No | Cropping strategy: entropy (high detail areas) or attention (salient regions) |