Work through some of the OpenCV tutorials.