working feature extraction + knearest neighbour
This commit is contained in:
parent
4b2bb43c62
commit
266ce7c5b0
139 changed files with 158 additions and 30 deletions
12
video.py
Normal file
12
video.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue