Tighten autopilot crop and burst framing (BIT-32879) #298

Merged
spark merged 3 commits from task/BIT-32879-crop-clean-framing into main 2026-11-22 15:10:24 +00:00
Owner

Summary

  • Tightens autopilot crop: soft/OOF never frame, hard clean of edge scraps, lead room, original aspect, edge clutter, peak contact.
  • Wide-end zoom = level only; R1/EXIF roll feeds straighten with subject-chop guard.
  • Burst picks prefer a clear, sharp, unobstructed face.

Paperclip: http://10.10.50.17:3100/BIT/issues/BIT-32879

Test plan

  • pnpm exec vitest run --config vitest.unit.config.ts in apps/api (compose, planFrame, sequence)
  • Spot-check a sport burst with soft-edge scrap + clear face candidate
  • Spot-check R1 JPEG with LevelInfo / roll EXIF vs line-only level
## Summary - Tightens autopilot crop: soft/OOF never frame, hard clean of edge scraps, lead room, original aspect, edge clutter, peak contact. - Wide-end zoom = level only; R1/EXIF roll feeds straighten with subject-chop guard. - Burst picks prefer a clear, sharp, unobstructed face. Paperclip: http://10.10.50.17:3100/BIT/issues/BIT-32879 ## Test plan - [x] `pnpm exec vitest run --config vitest.unit.config.ts` in `apps/api` (compose, planFrame, sequence) - [ ] Spot-check a sport burst with soft-edge scrap + clear face candidate - [ ] Spot-check R1 JPEG with LevelInfo / roll EXIF vs line-only level
spark added 1 commit 2026-11-22 14:56:34 +00:00
Tighten autopilot crop and burst picks for clean framing (BIT-32879).
ci / typescript (pull_request) Failing after 1m32s
ci / rust (pull_request) Successful in 3m45s
c94696ee53
Soft/OOF stay out of the contest frame, lead room and edge clutter
steer the crop, wide-end zoom only levels, R1 roll feeds straighten
without chopping the subject, and bursts prefer a clear sharp face.
spark added 1 commit 2026-11-22 15:00:53 +00:00
Refuse delivery-floor crops and prefer frames that need less reframe (BIT-32879).
ci / typescript (pull_request) Failing after 1m19s
ci / rust (pull_request) Successful in 5m49s
1fb6ca171d
A crop that only clears minLongEdge / the 3000 px floor is treated as a bad
read: leave the photograph as shot and down-rank that frame in the burst.
Learning from corrections already runs; the rules spell that out.
spark added 1 commit 2026-11-22 15:02:09 +00:00
Fix planFrame ComposeOptions for exactOptionalPropertyTypes (BIT-32879).
ci / typescript (pull_request) Failing after 2m10s
ci / rust (pull_request) Successful in 5m34s
f04b61e279
spark merged commit 72bc65cf6e into main 2026-11-22 15:10:24 +00:00
Sign in to join this conversation.