News for hackers. Stuff that matters.
Re:Show HN: Remove unwanted objects in photos simply by drag... by phh on Wednesday July 13, 2022 @11:18AM (#32083884)
I'm rather ignorant in that domain, so I wonder if some people could enlighten me. What are the AI tasks behind this?

I can identify two steps:

- Identifying an approximate shape of background vs foreground to get something more precise than just a rectangle. What is it called? Just background detection?

- Actually filling-in the holes. I think this is called a diffusion task? Is that correct? ddg-ing around looks like diffusion is the name of the method rather than the actual task, but I can't find the name of the task.

I'm curious at whether some existing open models would be usable on smartphones to make an opensource app (or maybe there are already such apps I'm unaware of)

Re:Show HN: Remove unwanted objects in photos simply by drag... by Someone on Wednesday July 13, 2022 @07:56PM (#32090249)
The technical term is “inpainting” (https://en.wikipedia.org/wiki/Inpainting), so “inpainting algorithms” will give you papers on various ways to do it.

In general, diffusion isn’t a good way to do it, as diffusion fills in the missing hole with data with fewer small details than the surrounding area.

Modern smartphones are fast enough for implementations.

Re:Show HN: Remove unwanted objects in photos simply by drag... by drewhayward on Wednesday July 13, 2022 @11:51AM (#32084389)
For the two steps you listed it could be image segmentation followed by image in-painting.
Re:Show HN: Remove unwanted objects in photos simply by drag... by sbdaman on Wednesday July 13, 2022 @08:23PM (#32090434)
Pixel has this built into the OS.