Let's create a new folder, where we will store this chapter's project, including the following subfolders and files that are relevant to Interactive Recognizer:
- cascades/haarcascade_frontalface_alt.xml: A detection model for a frontal human face. It should be included with OpenCV at a path such as <opencv_unzip_destination>/data/haarcascades/haarcascade_frontalface_alt.xml or for a MacPorts installation at /opt/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml. Copy or link to that version. (Alternatively, get it from this book's GitHub repository).
- cascades/lbpcascade_frontalface.xml: An alternative (faster but less reliable) detection model for a frontal human face. It should be included with OpenCV at a path such as <opencv_unzip_destination>/data/lbpcascades/lbpcascade_frontalface.xml or...