Get a photo which has effects like the system camera’s Portrait mode (on compatible devices)

Blurring background

like Portrait mode in the iPhone camera

If we want to have the blurring effect like the Portrait mode in the iOS Camera app. What do we do? This source can do the same thing as Portrait mode, like:

Feature

  • Blurring the background behind the object

How to archive it

Result of source code

The original image:

The blurring image:

References

GitHub

View Github