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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user