CvCapture *cap = cvCaptureFromCAM(0);
1. cvCaptureFromCAM()
2. cvCapture
VideoCapture
VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
Unable to stop the stream: Device or resource busy
OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
빌드시 옵션
g++ -ggdb video.cpp -o video `pkg-config --cflags --libs opencv`
참고 사이트
동영상녹화 : http://blog.naver.com/PostView.nhn?blogId=sangtakeg&logNo=120092132260
'OpenCV' 카테고리의 다른 글
GStreamer사용법 (0) | 2016.05.15 |
---|---|
OpenCV 설치 (0) | 2015.04.21 |