[Cologne] Foto-Anonymisierer

Manuel Schoelling manuel.schoelling at gmx.de
Fri May 2 13:53:47 CEST 2014


On Fr, 2014-05-02 at 13:42 +0200, Fabian Keil wrote:
> Fabian Keil <fk at fabiankeil.de> wrote:
> 
> > Manuel Schoelling <manuel.schoelling at gmx.de> wrote:
> > 
> > > wir haben beim letzten Fellowship-Treffen ja kurz über Software
> > > gesprochen, die Gesichter auf Fotos verpixelt.
> > > Ich bin gerade über einen Blogartikel gestolpert, der erklärt wie man
> > > das mit OpenCV macht: http://fideloper.com/facial-detection
> > > Da kann man sicherlich mit ein paar Modifikationen auch noch die
> > > Verpixelung einbauen.
> > 
> > Besten Dank für den Hinweis. Die Compile-Orgie wurde angestoßen ...
> 
> Hat das Skript schon mal jemand unter einen GNU/Linux ausprobiert?
> 
> Die cv2-Python-Bindings scheinen unter FreeBSD noch ausbaufähig zu sein:
> 
> fk at r500 ~/test/opencv $python -c 'import cv2'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: /usr/local/lib/python2.7/site-packages/cv2.so: Undefined symbol "_ZTIN2cv15FeatureDetectorE"
Ich hab gerade das ganze mal auf Debian ausprobiert: 
Funktioniert ganz gut. Ich musste allerdings für das Beispielbild aus
den Blog Eintrag folgende Zeile ändern:

alt:
cascade.detectMultiScale(img, 1.3, 4, cv2.cv.CV_HAAR_SCALE_IMAGE,
(20,20))
neu:
cascade.detectMultiScale(img, 1.3, 1, cv2.cv.CV_HAAR_SCALE_IMAGE,
(20,20))




More information about the Cologne mailing list