working feature extraction + knearest neighbour

This commit is contained in:
Jeena 2013-10-15 01:29:31 +02:00
parent 4b2bb43c62
commit 266ce7c5b0
139 changed files with 158 additions and 30 deletions

12
video.py Normal file
View file

@ -0,0 +1,12 @@
import cv
capture = cv.CaptureFromCAM(3)
while (cv.WaitKey(15)==-1):
img = cv.QueryFrame(capture)
if img:
#image = DetectFace(img, faceCascade)
cv.ShowImage("face detection test", img)
print type(img)
cv.ReleaseCapture(capture)