因为比较常用,记下:
#include "stdafx.h"
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
void main( int argc, char** argv )
{
//声明IplImage指针
IplImage* pFrame = NULL;
//获取摄像头
CvCapture* pCapture = cvCreateCameraCapture(
因为比较常用,记下:
#include "stdafx.h"
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
void main( int argc, char** argv )
{
//声明IplImage指针
IplImage* pFrame = NULL;
//获取摄像头
CvCapture* pCapture = cvCreateCameraCapture(