3 ms·
> Software bokeh isn't really that good though. I think one of the problems is they don't simulate it correctly. They segment the person with a neural net and
by dheera 5y ago
> Software bokeh isn't really that good though.
I think one of the problems is they don't simulate it correctly. They segment the person with a neural net and then blur the rest by a constant arbitrary amount.
Ideally it should estimate the depth map of the scene and simulate different amounts of blur outside the DOF.
Here's a RealSense-based software bokeh I wrote that interpolates between 2 levels of computed bokeh. If I didn't have to render at 30fps I would actually just compute it on a per-pixel basis.
https://github.com/dheera/bokeh-camera https://github.com/dheera/bokeh-camera