This is the setup chapter. There are no particular software prerequisites at the outset; we will set up everything as we go along.
Basic instructions for running Python code are covered in Appendix C, Running with Snakes (or, First Steps with Python). After we set up a Python environment with OpenCV, you may want to refer to this appendix so that you know how to minimally test the environment.