[PD] Blur FX on a specific area on video.
Mathieu Bouchard
matju at artengine.ca
Wed Jun 30 16:47:12 CEST 2010
On Tue, 29 Jun 2010, Olivier Baudu wrote:
> We want to process a blur effect on a specific area on video.
> To be clearer, we want to blur faces...
> To find faces, we use [pix_opencv_haarcascade ]...
1. blur the whole picture
2. use the output of your detector to make a mask
3. use the mask to "cut holes" through the normal picture, using the
blurred picture. if you were to only do [pix_texture] on the
final result, you can do [pix_texture] on both the normal and
the fully blurred image and combine them using two separate
[rectangle], an [alpha], and a [pix_alpha].
even though it may waste a lot of blurred pixels, at least you can do it
on all sorts of nonrectangle shapes.
je suis passé très proche d'utiliser ça hier, mais avec une autre sorte de
détection complètement différente, en particulier parce qu'on voulait que
la zone floue soit nonrectangulaire et graduelle (un "gradient" d'alpha,
dans l'jargon).
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list
mailing list