Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "/home/cuongle/build_3/install/include/opencv/cv.h"
- #include "/home/cuongle/build_3/install/include/opencv/highgui.h"
- #include <stdio.h>
- // A Simple Camera Capture Framework
- int main() {
- CvCapture* capture = cvCaptureFromCAM(-1);
- if(!capture)
- {
- printf("no camera\n");
- return -1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement