1. Download opencv (2.4.9) from here, install by following the instructions from the 'Install Dependencies' section of the tutorial here