First time here? Check out the FAQ!
answered 2016-09-30 19:42:57 -0600
there's simply a waitKey(10); missing at the end of your loop.
waitKey(10);
(imshow() won't do anything without, common n00b pitfall)