Portrait Mode Photography and Machine Learning

When the 7th generation of Apple's iphone came out in 2016, it caused a lot of buzz in the smartphone market; the primary reason being the dual camera setup it sported and more interestingly the " Portrait Mode ". This mode tried to mimic a DSLR camera or the large sensor of it to provide a shallow depth-of-field. Although,it was a hit or miss at times but people still liked it. Fast forward to 2017 and Google took the market by storm with the second generation of its Pixel series of smartphones , this time featuring a portrait mode but with "just" a single camera , still managing to outperform a lot of dual camera smartphones including the iphone7+ . Google is known for working extensively in the field of AI and has employed the same in its new Pixel phones. Google uses Machine learning , the subset of AI to produce the shallow depth-of-field effect and it does them quite well , separating the subject from the background and getting the edge det...