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

alt text

Result of source code

The original image:

The blurring image:

References

GitHub

View Github