1. 程式人生 > >Real-time Portrait Segmentation on Smartphones

Real-time Portrait Segmentation on Smartphones

Various image effects have been receiving increasing attention in recent years. A popular example is bokeh, a blur on an out-of-focus region in a photograph. This effect is achieved by using a fast camera lens with a wide aperture. Unfortunately, it is almost impossible to reproduce this kind of effect with mobile phone cameras because they do not meet the necessary technical specifications. However, if each image pixel is classified into person and background categories, the bokeh effect can be simulated by blurring just the background.