how blury the background apart from ROI
I have a road scene picture, and I can detect the vehicles on the road. What I want to do is to blur the whole picture except the vehicle detection areas, my solution is firstly I create a empty Mat and crop the vehicle detection area into the empty Mat, and secondly blur the whole picture, now the problem is how to combine the blury picture with the vehicle parts ?