Keep a complete foot when the head is already at the top #53

Merged
spark merged 1 commits from task/keep-foot-at-the-edge into main 2026-10-19 13:27:40 +01:00
Owner

When the head is already against the top of the photo, a few millimetres of headroom were making the crop give up on the whole body and cut the legs. A foot that is in the photo stays in; the headroom gives way.

When the head is already against the top of the photo, a few millimetres of headroom were making the crop give up on the whole body and cut the legs. A foot that is in the photo stays in; the headroom gives way.
spark added 1 commit 2026-10-19 13:27:39 +01:00
Keep a complete foot when the head is already at the top.
ci / rust (pull_request) Successful in 7m29s
ci / typescript (pull_request) Failing after 9m11s
1cafbfd4f4
A few millimetres of headroom were enough to give up on the whole body and cut the legs. When the foot is in the photo, the headroom gives way and the leg stays.
spark merged commit 89d39c54b5 into main 2026-10-19 13:27:40 +01:00
Author
Owner

Merged. On the estágio recrop, one photo still lost the legs: the head was 2% from the top, the feet were in the frame, and the headroom requirement (4% of the body) did not fit, so the crop fell back to mid-thigh. A complete foot now wins over that headroom. The crop tests cover it (17 passed).

That one photo is re-queued after this API is live. The other photos of the event already kept the feet.

Merged. On the estágio recrop, one photo still lost the legs: the head was 2% from the top, the feet were in the frame, and the headroom requirement (4% of the body) did not fit, so the crop fell back to mid-thigh. A complete foot now wins over that headroom. The crop tests cover it (17 passed). That one photo is re-queued after this API is live. The other photos of the event already kept the feet.
Sign in to join this conversation.