I am running windows 7 64 bit (32 bit python) on an hp touchsmart 600. A while ago I uninstalled then reinstalled opencv 2.4.3. In between the uninstalling and reinstalling I uninstalled some programs I thought weren't being used. Now opencv only displays a black screen when before opencv was able to access my webcam correctly.
However, if I use camera 2 (i.e. cam = create_capture(2,...)) opencv is able to use my webcam correctly. Why did camera 0 suddenly stop working? Did it somehow become camera 2 or could I have uninstalled a dependency that opencv needed to access my webcam? Also, using camera 1 and 3 works as well, even though I only have one webcam.