Permalink
Browse files

Webcam Module

  • Loading branch information...
1 parent af4e0e2 commit 3f7bf03270a21ac57232e24ec93ce4a45d054cda octavian-sima committed Sep 2, 2010
View
Oops, something went wrong.
View
@@ -0,0 +1,21 @@
+CV_STUFF = `pkg-config opencv --cflags --libs`
+SQL_STUFF = `mysql_config --cflags --libs`
+RECOGNITION_FILE = ../recognition/Recognition.cpp
+DETECTION_FILE = ../detection/Detection.cpp
+DATABASE_FILE = ../sql_database/Database.cpp
+
+
+build: clean
+ g++ $(CV_STUFF) $(SQL_STUFF) -o camera $(RECOGNITION_FILE) $(DETECTION_FILE) $(DATABASE_FILE) Camera.cpp
+
+clean:
+ rm -f camera *.xml *.pgm
+
+train:
+ ./camera train
+
+test:
+ ./camera test
+
+
+
View
@@ -0,0 +1,11 @@
+CAMERA MODULE
+Author: Elena Holobiuc
+
+This module opens a webcam and recognizes the persons in front of the PC.
+If the persons are not into the database, it will return unknown.
+
+
+Usage:
+make
+./camera train firstname lastname - it adds a new person into the database and pictures of that person
+./camera test - recognizes the persons in front of the camera
Oops, something went wrong.

0 comments on commit 3f7bf03

Please sign in to comment.