title: Video capture in openCV 3.1 not working with python3
body: <p>I have installed openCV 3.1.0 with python3.5 every thing seemed to work fine during installation however when I am trying to execute even the following simple program, it doesn't work. OpenCV doesn't detect the camera.</p>
  
  <p><a href="https://i.stack.imgur.com/7vAvh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7vAvh.png" alt="isOpened() function always returning false"></a></p>
  
  <p>I checked, and the webcam has the id 0, I also tried other values (1,2,-1) but none of them seems to work, it always shows false. I have gone through similar questions on stack overflow, but none of the solutions seems to work. I have also tried re-installing openCV multiple times, it doesn't help either.</p>
  
  <p>Please help.  </p>