Menu

1 / 3

Four ways to extend a product photo, scored against the pixels that were deleted

DEV Community: computervision·�Jay·11 days ago
#umLHREoT
Long article (3115 words) — no AI summary yet.
Reading 0:00
15s threshold

Seven posts in this series have measured the edge of a cutout: the original geometry check , colour contamination , the edge-hue test , its blind spot , a coverage matrix , seven rembg models , and what resampling does to it . All of those are about pixels that exist. This one is about pixels that don't.

Extending a frame is the one operation in this trade with no reference. A cutout can be scored against the original photo. A resize can be scored against the master. An outpainted band has nothing behind it — the content that ought to be there was never captured — so it gets judged by eye, and by eye it usually passes, because a fill only has to be plausible for the half second someone looks at a listing.

That's not a measurement problem you can solve. It is a measurement problem you can bound , and the bound is simple: take a photo that does have the content, hide it, and ask the method to put it back. Every number below comes from that.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.