2013-08-17 22:10:30 -0600 | commented answer | WebCam won't open since 2.4.6 "Assertion failed (size.width>0 && size.height>0) in imshow" is caused by "frame" the vc read return "None",so "imshow" can't show a window whose size is (0,0). Add "print frame"in your loops ,you will get it |
2013-08-17 22:05:26 -0600 | answered a question | WebCam won't open since 2.4.6 i meet it too.and i find the reason.the camera can't open in its first time.And you can use loops to open it .you may find it return false first time and return True after that. Hope that can help you |