ubports / camera-app

Moved to GitLab
https://gitlab.com/ubports/apps/camera-app
GNU General Public License v3.0
10 stars 9 forks source link

Implement DOF #87

Open PhoenixLandPirate opened 6 years ago

PhoenixLandPirate commented 6 years ago

This automatically blurs the background, this is a great feature, this is something which works amazing with 2 cameras, but can also be achieved using a single camera, having both implementations will make it so those with 2 cameras can still expect to achieve their depth photos, and to those with 1 camera, can now have the ability to use DOF.

Here's a article about how DOF works with 1 camera https://www.dpreview.com/news/4850302495/google-reveals-how-to-simulate-shallow-dof-from-a-single-mobile-camera

This is the full PDF of how it works! https://arxiv.org/pdf/1806.04171.pdf