摘要: cv::VideoCapture vc; vc.open(0); cv::Mat temp; vc.read(temp); //cv::resize(temp,temp,cv::Size(320,240)); vector buff; cv::imencode(".bmp" ,temp ,buff); vc.release(); uchar* dest=new uchar[buff.size()*2]; uchar* bb=(uchar*)&buff[0]; int len=buff.size(); Base64Encode(dest,bb,len); CStrin 阅读全文
posted @ 2013-10-11 15:15 ahuo 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-10-11 09:55 ahuo 阅读(575) 评论(0) 推荐(0) 编辑