View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#4
install gst-opencv
download a profile file, for example
from http://code.google.com/p/jviolajones...ce_default.xml
execute gst-launch with the facedetect module:
gst-launch-0.10 v4l2camsrc device=/dev/video1 ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2.0 ! gamma gamma=1.5 ! ffmpegcolorspace ! facedetect profile="/home/user/haarcascade_frontalface_default.xml" ! ffmpegcolorspace ! ximagesink

Last edited by nicolai; 2010-12-26 at 21:56.
 

The Following 2 Users Say Thank You to nicolai For This Useful Post: