This is the code for the first edition of the book. All contained in this folder was written by Joseph Howse and can be found in its original form at [http://nummist.com/opencv/#book.3923]
I (Joe Minichino - techfort) only updated the code so it is compatible with OpenCV 3, which mostly consisted of the following changes:
- replace all
cv2.cv.
occurrences withcv2.
- replace all call to
VideoWriter.retrieve
to take no arguments (channel keyword not supported) - replace all calls to
cv2.Color
withcv2.cvtColor
- replace all calls to
cv2.CV_FOURCC
withcv2.VideoWriter_fourcc
- replace the flag
cv2.CV_HAAR_SCALE_IMAGE
withcv2.CASCADE_SCALE_IMAGE