文件名称:opencv实现显示摄像头视频
文件大小:27.57MB
文件格式:7Z
更新时间:2016-12-15 05:37:52
opencv 视频
c++ 编写了一个类,调用opencv函数实现显示摄像头视频: class avishow { public: double fps; CvSize size; avishow(); avishow(char * aviOutName); ~avishow(); IplImage * currentFrameGet(); int currentFrameNum(); bool aviSave(IplImage* p); bool frameSave(IplImage * pFrame,char * frameOutName); private: int pFrameNum; CvCapture* pCapture; CvVideoWriter* writer; };