QT+Opencv2+VS2012 使用多线程显示网络摄像头实时画面

上传者: 20836733 | 上传时间: 2019-12-21 20:33:36 | 文件大小: 11.05MB | 文件类型: zip
目前网上使用Qt5与opencv 显示视频的,都是使用死循环来做,不是很好。本代码使用Qt5的多线程在Qlabel控件下实时显示摄像头画面

文件下载

资源详情

[{"title":"( 92 个子文件 11.05MB ) QT+Opencv2+VS2012 使用多线程显示网络摄像头实时画面","children":[{"title":"Qt_2","children":[{"title":"Win32","children":[{"title":"Debug","children":[{"title":"Qt_2.exe <span style='color:#111;'> 112.50KB </span>","children":null,"spread":false},{"title":"Qt_2.ilk <span style='color:#111;'> 1.66MB </span>","children":null,"spread":false},{"title":"Qt_2.pdb <span style='color:#111;'> 2.72MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Qt_2.sdf <span style='color:#111;'> 29.19MB </span>","children":null,"spread":false},{"title":"Qt_2","children":[{"title":"Debug","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"link.7352-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"custombuild.read.1.tlog <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"link.11532-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10828-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 115.64KB </span>","children":null,"spread":false},{"title":"link.7352-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"moc_CameraThread.obj <span style='color:#111;'> 190.46KB </span>","children":null,"spread":false},{"title":"link.10984-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10984.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11556-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11532.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"custombuild.command.1.tlog <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"link.7352.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"link.11564-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.9972-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11564.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"link.9972.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"link.11564-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10984.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"qrc_qt_2.obj <span style='color:#111;'> 30.50KB </span>","children":null,"spread":false},{"title":"link.9972-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11532-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11556.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CameraThread.obj <span style='color:#111;'> 201.01KB </span>","children":null,"spread":false},{"title":"link.9972-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.9972-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 262.01KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"link.11556-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10828.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11556-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11556-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11564-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7352-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10828-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10984-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'> 1.98MB </span>","children":null,"spread":false},{"title":"link.10984-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10984-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"qt_2.obj <span style='color:#111;'> 333.29KB </span>","children":null,"spread":false},{"title":"moc_qt_2.obj <span style='color:#111;'> 266.05KB </span>","children":null,"spread":false},{"title":"link.11556.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11532-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"Qt_2.lastbuildstate <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"link.10828.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10828-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11564.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11532-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10828-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11088.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7352-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.11532.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"custombuild.write.1.tlog <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"link.11564-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"Qt_2.log <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"link.7352.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.9972.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false}],"spread":false},{"title":"Resources","children":null,"spread":false},{"title":"CameraThread.cpp <span style='color:#111;'> 1019B </span>","children":null,"spread":false},{"title":"qt_2.cpp <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"CameraThread.h <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"qt_2.h <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"img.jpg <span style='color:#111;'> 122.60KB </span>","children":null,"spread":false},{"title":"Qt_2.vcxproj.filters <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"GeneratedFiles","children":[{"title":"qrc_qt_2.cpp <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"moc_qt_2.cpp <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"moc_CameraThread.cpp <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false},{"title":"ui_qt_2.h <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"Qt_2.vcxproj <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false},{"title":"Qt_2.vcxproj.user <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"qt_2.ui <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"qt_2.qrc <span style='color:#111;'> 64B </span>","children":null,"spread":false}],"spread":false},{"title":"img.jpg <span style='color:#111;'> 122.60KB </span>","children":null,"spread":false},{"title":"Qt_2.v11.suo <span style='color:#111;'> 28.50KB </span>","children":null,"spread":false},{"title":"Qt_2.sln <span style='color:#111;'> 879B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_41844654 :
    挺好的。。。。
    2019-09-07
  • 大铮爷 :
    骚年,5分,解决了我的大问题
    2018-02-08
  • aostas :
    楼上的看不懂不要瞎bb好吧 差点错过了
    2017-12-27
  • zn0726 :
    根本不是IP摄像头,也不是多线程,还要2分?!1分都不值,垃圾
    2017-07-17
  • lzh9619 :
    写的没看出怎么用到多线程了。
    2017-06-20

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明