Unlike most premium phones released over the past year, Google’s Pixel 2 and Pixel 2 XL don’t come with a dual rear camera – but they still manage to pull off impressive depth-of-field effects that separate the background from the foreground with natural-looking blur. It actually uses AI to pull that off – and now, the company has open-sourced a similar technology that developers can use in their third-party camera apps for high-quality Portrait Mode-style shots like the one above.