Last night I upgraded to OpenCV 2.3 through a source build in hopes of getting the VideoCapture::set function to work. Many forum threads stated that this function does not change the camera resolution like it is supposed to. Supposedly it was fixed by the last version(2.3) but my camera may just not support the resolution I am requesting (320×240), so I am not entirely sure what the problem is. Nonetheless, it is not critical that this function works but it would be convenient.
Currently, I am modifying the “OnlineFaceRec” source code from this page to work with the c++ OpenCV API and for use in The Cogito Project.