idle_x11.o: idle_x11.h
oble.o: oble.h
-oble: $(OBJS) haarcascade_frontalface_alt.xml
+oble: $(OBJS)
gcc $(OBJS) $(LDFLAGS) -o $@
#haarcascade_frontalface_alt.xml:
test: all
./oble -c haarcascade_frontalface_alt.xml
-dependencies:
- sudo aptitude install -y libxss-dev
+ubuntu-dependencies:
+ ./initial_oble_setup_ubuntu.bash
clean:
rm -rf oble *.o
this is accomplished using a camera and opencv to detect a face.
this readme is woefully short.
+
+you'll need to get a file called
+haarcascade_frontalface_alt.xml
+i was able to get it with this:
+ wget http://eclecti.cc/files/2008/03/haarcascade_frontalface_alt.xml
+
+i'm not sure what the rules are on distributing this file, so you'll
+have to get it yourself
+
+if you're on ubuntu:
+make ubuntu-dependencies
+make
+make test # assumes you have haarcascade_frontalface_alt.xml in current dir