If you've been lusting after the portrait mode on your friend's Pixel 2 (or iPhone) now there's a way you can get it, too - provided you have an Android device running Oreo.
Developer Charles Chow recently released a Google Camera mod that brings the feature to older devices. Called Camera NX, Droidlife has confirmed that it works on older Google devices such as the original Pixel, Pixel XL, and Nexus 5X. Another version, labelled Camera NX Enhanced, works on non-Google devices running Oreo, including the OnePlus 3/3T and Galaxy Note 8 (as long as its running a leaked Oreo ROM). That Oreo part is key, so if you're working with a phone using something older you're SOL for the time being.
Camera NX is built on the base of Google's camera so you'll get all the traditional stuff with this as well as portrait mode. With that mode, the camera will blur the background, making the person's face stand out in the image. Worth noting: portrait mode is trained to work only when your camera detects a human face, so you'll need one of those to give the feature a test drive (don't be alarmed if it doesn't work when you point your camera at the floor).
You can read more about how Chow made it happen (and download the APK for yourself) from his post on Chromeloop now.