The most common trick is to use the increasingly common dual - camera setup on the back of phones to generate a depth map of an image, which lets the software blur the background and keep the subject in focus, creating
a virtual shallow depth of field that simulates the effect of a $ 500 DSLR lens.