answered 2016-12-05 02:08:52 -0600
Why you use cv::imread to read from the camera? There is cv::VideoCapture class for the camera control.