Skip to content

Instantly share code, notes, and snippets.

@QiMata
Created July 9, 2018 17:55
Embed
What would you like to do?
Main file for open cv write up
#include <opencv2/opencv.hpp>
int main( int argc, char** argv )
{
VideoCapture cap;
if(!cap.open(0))
return 0;
Mat frame;
cap >> frame;
//Do something with the frame
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment