The iPhone 7 plus and 8 plus (and X) affect the camera’s own application, called “Portrait Mode,” which mimics the bokeh effect, using depth data to blur the background.
I want to add the ability to take pictures with this effect in my own application.
I see that depth data is available in iOS 11. But I do not know how to use this to achieve the effect.
I’m missing something - is it possible to turn on this effect and just get an image with it, instead of trying this complex algorithm myself?
amuses
source
share