Add saliency-based smart crop before resize
Replace the center-crop cover resize with a Sobel edge-density search that picks the target-aspect window with the most edge energy, so a subject off-center isn't sliced when the input aspect differs from the frame's. Failures fall back to the centered crop. Golden fixtures are regenerated and an asymmetric-edges input exercises the bias. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
No files matched your search
|
After Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 293 KiB After Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 246 KiB |