Image: Google AI Blog
This is an intesting post on the Google AI Blog describing how they achieve portrait mode on the Google Pixel 3 with one camera. Using a CNN, sharpness depth cues within the image can be combined with the shape estimation of everyday objects as components of the AI that runs on the phone using Tensorflow light to accurately produce blurred background for portrait mode.
Source: