I am attempting to use OpenCV to grab frames from a webcam and display them in a window using SFML.
VideoCapture returns frames in OpenCV\'s Mat format. To display t
I like the accepted answer better but this snippet helps you understand what's going on.
for (int i=0; i