Main file for open cv write up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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