Right. The main thing here is to get a webcam driver for your webcam and unfortunately right now the official image doesn't include any, thus that build with kernel reconfig in the thread referenced.
That one specifically outlines options for uvcvideo, make sure your webcam is supported by that driver, or adjust accordingly (feel free to ask if you get stuck).
After that you can install the latest OpenCV from my repo and go ahead with the development.