摘要:
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 阅读全文
摘要:
阅读全文