C# 调用摄像头扫描二维码、生成二维码

上传者: qiyun996 | 上传时间: 2019-12-21 20:29:59 | 文件大小: 793KB | 文件类型: rar
二维码的生成和调用摄像头扫描, 网上的资源,修改后,绝对好用。 是google的zxing, zxing做的很全面,支持各种语言和平台,具体不多讲,自己查去。ThroughWork做的比较早,貌似现在没人维护了。 所以选择了zxing。 解码和生成的代码都比较简单,网上的资料也很多。而C#调用摄像头的也很容易找到。 所以就干脆照抄别人的,简单实现了一个生成二维码,调用摄像头实时扫描二维码。 扫描的基本思路是每个10秒截一次屏,并保存为一个bmp格式的图片,然后调用zxing的类库解码,如果解码成功就终止截屏任务。

文件下载

资源详情

[{"title":"( 58 个子文件 793KB ) C# 调用摄像头扫描二维码、生成二维码","children":[{"title":"TwoBarcodeSolution","children":[{"title":"TwoBarcodeSolution.sln.DotSettings.user <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"_ReSharper.TwoBarcodeSolution","children":[{"title":"ProjectModel","children":[{"title":"projectModel.dat <span style='color:#111;'> 10B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"WindowsFormsApplication1","children":[{"title":"frmScanTwoBarCode.Designer.cs <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"WindowsFormsApplication1.vshost.exe <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"deepleo.jpg <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false},{"title":"33 <span style='color:#111;'> 900.05KB </span>","children":null,"spread":false},{"title":"55 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"temp","children":[{"title":"e841464b-ddba-418b-b3f2-36d3b1d05036.bmp <span style='color:#111;'> 900.05KB </span>","children":null,"spread":false},{"title":"6344283f-8037-4c98-a56c-86405322dad2.bmp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"98a11a94-eb21-46df-adf8-0c53aec20c4b.bmp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"63ee9c0d-1503-4c22-826e-1baefcb6b6ce.bmp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b657f6b7-182b-4371-83c5-41a5793aac45.bmp <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsFormsApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"我的二维码,快拿摄像头扫描吧.jpg <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 69.50KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"zxing.dll <span style='color:#111;'> 212.00KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.vshost.exe.config <span style='color:#111;'> 144B </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WindowsFormsApplication1.frmScanTwoBarCode.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.exe <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 476B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.82KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Form2.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WindowsFormsApplication1.pdb <span style='color:#111;'> 69.50KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.GenerateResource.Cache <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csprojResolveAssemblyReference.cache <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Form2.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form2.Designer.cs <span style='color:#111;'> 7.91KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"frmScanTwoBarCode.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"WindowsFormsApplication1.csproj.DotSettings.user <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form2.cs <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"CamWorker.cs <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"CamWorker2.cs <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false},{"title":"frmScanTwoBarCode.cs <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"TwoBarcodeSolution.suo <span style='color:#111;'> 26.50KB </span>","children":null,"spread":false},{"title":"Lib","children":[{"title":"zxing.dll <span style='color:#111;'> 212.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"TwoBarcodeSolution.sln <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"TwoBarcodeSolution.v11.suo <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"TwoBarcodeSolution.gpState <span style='color:#111;'> 260B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • yaoxin521123 :
    好像不太好用
    2018-08-24
  • jyz_250808788 :
    下载试试,看看效果
    2018-08-08
  • kxyz538116cs :
    下载了试试
    2018-03-05
  • qq_20214167 :
    下载不知道能不能用
    2018-01-23
  • shenfeng126414 :
    正好参考看看
    2017-09-21

免责申明

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