I need to blur out a car plate on a scene. I already tracked the plate with Mocha and used a mask with Camera Blur but the result is anything but subtle. Everything else on screen is on focus and blurring out just the plate just calls attention to it. Any thoughts?
1 Answer
Replace it with a fictional plate?
Alternatively, track the four corners of the plate where there's just solid background colour.
Apply each of the four tracks to a null (call them Null 1, Null 2, etc).
Make a solid colour layer.
Apply a 4-Color Gradient to the solid.
Set each of the positions of the colours in the "4-Color Gradient" effect to match Nulls 1-4 respectively.
Add the following to each Fill colour in the "4-Color Gradient" effect, so that the colour at the position of each null on the car layer (car.jpg) is sampled and applied to the 4-Colour Gradient:
target = thisComp.layer("car.jpg"); // tells which layer to sample from
colorpicker = thisComp.layer("Null 1"); // Change this to the name of each Null respectively
target.sampleImage(target.fromWorld(colorpicker.position), [0.5,0.5], true, time) // Changes the fill colour to match the colour beneath the null
Mask out the solid layer to obscure the number plate.
Feather the mask.
Add a bit of noise / Match Grain to the solid layer.