I confess to knowing nothing whatever about opencv but I needed to install it (2.3) in Ubuntu 12.04 in order to run a headtracking prog. using webcam. The problem is that the image is very laggy & as far as I can ascertain this is because the Waitkey value needs to be adjusted. But how?