Skip to content

Instantly share code, notes, and snippets.

@QiMata

QiMata/main.cpp

Created Jul 9, 2018
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
You can’t perform that action at this time.