------------------------------------------------------------------------------------------------------------
#include <cv.h>
#include <highgui.h>
#include <cxcore.h>
using namespace std;
using namespace cv;
int main() {
CvCapture *capturee = 0;
IplImage *frame = 0;
int key = 0;
capturee = cvCaptureFromCAM(0);
if (!capturee) {
cout << "Capture Error !!\n";
return 1;
}
cvNamedWindow("Tes Camera OpenCV", CV_WINDOW_AUTOSIZE);
while(key != 27) {
frame = cvQueryFrame(capturee);
if (!frame) break;
cvShowImage("Tes Camera OpenCV", frame);
key = cvWaitKey(1);
}
cvDestroyWindow("Tes Camera OpenCV");
cvReleaseCapture(&capturee);
return 0;
}
------------------------------------------------------------------------------------------------------------
hasil
izin kopas syaikh tegar
ReplyDeletethanks for this usefull article, waiting for this article like this again. adult live webcams
ReplyDeleteNice to read your article! I am looking forward to sharing your adventures and experiences. couplecam.co.uk
ReplyDeleteThis is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. vr cam shows
ReplyDeleteI think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. vr cams
ReplyDeletei read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. cam shows
ReplyDeletePretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. adult cam
ReplyDelete