~/talk

Making Portrait mode yourself

TalkinJapaneseat try! Swift Tokyo 2019 · 2019-03-21..03-22· [swift, web-platform]

An iOS implementation that recreates portrait-mode background blur without using depth data by running on-device Core ML segmentation to produce an alpha mask, refining hair regions with alpha matting and inpainting, and applying selective Gaussian blur to background layers. The Swift code runs at interactive frame rates on recent iPhones, handles edge artifacts and semi-transparent hair, and includes quantitative examples and photo comparisons to the iPhone dual‑camera output.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.