<pstyle='text-align: justify;'>After following the set up procedure, you will have a boot partition and root filesystem partition on the SD card.</p>
<pstyle='text-align: justify;'>After setting up the SD card, transfer an image in which you want faces to be detected. This image you can transfer to the /home/root directory in the root filesystem on the SD card.</p>
<pstyle='text-align: justify;'>Plug the SD card and boot up. The board will boot up and you will get the login prompt. Log in using root as the password, after which, you will be placed in the /home/root directory. This is the reason I told you to copy the image in this particular directory.</p>
<pstyle='text-align: justify;'>I have mentioned /usr/lib/libopencv_*.so on the command line, as the compiler would then dynamically link all the OpenCV library files against this code.</p>
<pstyle='text-align: justify;'>This will create a executable called faces. Run it from the command line by typing "./faces". The code would run and print the number of faces detected in the image on the command line.</p>
<pstyle='text-align: justify;'>I didn't have a HDMI to DVI-D cable to connect my monitor to the board, so I printed the output on the command line. If you can connect a monitor, use the functions from the highgui library, and you can display your output on the monitor. You can draw rectangles around the faces detected.</p>
<pstyle='text-align: justify;'>I am currently working on face detection in video and facing a few glitches, but, I will post it when I am successful.</p>