Open mikebilly opened 7 months ago
You can extract the disparity of that point on the disparity map and serve that disparity as disp_focus.
thanks @JuewenPeng . Also, I'm planning to blur the background and add the person on top of the blurred image. My background has transparency, where the person part is transparent. How to modify your code to handle input images with alpha channel / transparency ?
given that I want to exactly focus on the point x, y of the image, how to calculate disp_focus to focus on that point?