peopledetect.py sample added (TODO: use builtin svm data instead of people_hog.txt)

some old cv api use cleaning
This commit is contained in:
Alexander Mordvintsev
2011-08-12 03:05:31 +00:00
parent 9fba5e8d8c
commit d7a2081230
5 changed files with 865 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ if __name__ == '__main__':
while True:
ret, img = cam.read()
gray = cv2.cvtColor(img, cv.CV_BGR2GRAY)
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
gray = cv2.equalizeHist(gray)
t = clock()