Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 ?

image description

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 ?

image description