Skip to content

fix: shrink content-aware output in the right direction - #6

Merged
kaffeindecaf merged 1 commit into
mainfrom
fix/content-aware-shrink-direction
Oct 25, 2026
Merged

kaffeindecaf merged 1 commit into
mainfrom
fix/content-aware-shrink-direction

Conversation

@kaffeindecaf

Copy link
Copy Markdown
Owner

Summary

  • Invert the seam-removal displacement so salient content shrinks instead of expanding.
  • Raise default seam scaling controls to their full range so the progressive effect is obvious; it still ramps from unchanged to a maximum 50% shrink per axis while preserving the output canvas.
  • Add a synthetic salient-object regression and refresh the 120-frame benchmark/README values.

Verification

  • Full test suite passes with optional dependencies installed.
  • Rendered the supplied clip: face/content visibly shrinks by the end, output remains 2560x1440 with 377 frames and AAC audio.
  • Start/mid/end source-to-output RGB differences: 0.94 / 13.24 / 20.78.

@kaffeindecaf
kaffeindecaf merged commit cdae605 into main Oct 25, 2026
1 check passed
@kaffeindecaf
kaffeindecaf deleted the fix/content-aware-shrink-direction branch October 25, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant