91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.15M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2020-12-14
  • 語言: C#
  • 標簽: 二維碼??C#??c??解析??d??

資源簡介


最近做項目需要解析二維碼圖片,找了一大圈,發現沒有人去整理下開源的幾個庫案例,花了點時間

 做了zxing,zbar和thoughtworkqrcode解析二維碼案例,希望大家有幫助。

zxing是谷歌開源的二維碼庫,zbar,thoughtworkQRcode也是開源的,三者之間比較各有優劣

下面通過一個案例demo源碼,來認識學習下這三者的實際解碼效果,

第一次上傳demo源碼,獻丑了

最近做項目需要解析二維碼圖片,找了一大圈,發現沒有人去整理下開源的幾個庫案例,花了點時間

 做了zxing,zbar和thoughtworkqrcode解析二維碼案例,希望大家有幫助。

zxing是谷歌開源的二維碼庫,zbar,thoughtworkQRcode也是開源的,三者之間比較各有優劣

下面通過一個案例demo源碼,來認識學習下這三者的實際解碼效果,

第一次上傳demo源碼,獻丑了


資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Diagnostics;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Drawing.Imaging;
using?ThoughtWorks.QRCode.Codec;
using?ThoughtWorks.QRCode.Codec.Data;
using?ZBar;
using?ZXing;
using?Image?=?System.Drawing.Image;

namespace?條碼識別
{
????public?partial?class?MainForm?:?Form
????{
????????public?MainForm()
????????{
????????????InitializeComponent();
????????}

????????///?
????????///?Zbar條碼識別
????????///?

????????private?void?ScanBarCodeZbar(string?fileName)
????????{
????????????Image?primaryImage?=?Image.FromFile(fileName);
???????????//?Bitmap?pImg?=?MakeGrayscale3((Bitmap)primaryIma

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????964989??2016-01-27?10:14??條碼識別\條碼識別\bin\Debug\libiconv-2.dll

?????文件??????17920??2016-12-09?09:55??條碼識別\條碼識別\bin\Debug\libzbar-cil.dll

?????文件?????209438??2016-01-27?10:14??條碼識別\條碼識別\bin\Debug\libzbar.dll

?????文件????6195712??2015-09-27?08:30??條碼識別\條碼識別\bin\Debug\ThoughtWorks.QRCode.dll

?????文件?????430080??2014-04-02?03:44??條碼識別\條碼識別\bin\Debug\zxing.dll

?????文件??????20992??2014-04-02?03:44??條碼識別\條碼識別\bin\Debug\zxing.presentation.dll

?????文件??????12800??2017-01-06?14:34??條碼識別\條碼識別\bin\Debug\條碼識別.exe

?????文件??????28160??2017-01-06?14:34??條碼識別\條碼識別\bin\Debug\條碼識別.pdb

?????文件??????22984??2017-01-06?14:39??條碼識別\條碼識別\bin\Debug\條碼識別.vshost.exe

?????文件????????490??2016-07-16?19:44??條碼識別\條碼識別\bin\Debug\條碼識別.vshost.exe.manifest

?????文件?????964989??2016-01-27?10:14??條碼識別\條碼識別\lib\libiconv-2.dll

?????文件??????17920??2016-12-09?09:55??條碼識別\條碼識別\lib\libzbar-cil.dll

?????文件?????209438??2016-01-27?10:14??條碼識別\條碼識別\lib\libzbar.dll

?????文件????6195712??2015-09-27?08:30??條碼識別\條碼識別\lib\ThoughtWorks.QRCode.dll

?????文件?????430080??2014-04-02?03:44??條碼識別\條碼識別\lib\zxing.dll

?????文件??????20992??2014-04-02?03:44??條碼識別\條碼識別\lib\zxing.presentation.dll

?????文件???????5866??2017-01-06?14:34??條碼識別\條碼識別\MainForm.cs

?????文件???????5077??2017-01-06?14:14??條碼識別\條碼識別\MainForm.Designer.cs

?????文件???????5817??2017-01-06?14:14??條碼識別\條碼識別\MainForm.resx

?????文件???????2867??2016-12-09?22:18??條碼識別\條碼識別\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7640??2017-01-06?14:23??條碼識別\條碼識別\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件????????214??2016-01-27?10:29??條碼識別\條碼識別\obj\x86\Debug\GenerateResource.read.1.tlog

?????文件????????514??2016-01-27?10:29??條碼識別\條碼識別\obj\x86\Debug\GenerateResource.write.1.tlog

?????文件???????1879??2017-01-06?14:39??條碼識別\條碼識別\obj\x86\Debug\條碼識別.csproj.FileListAbsolute.txt

?????文件????????978??2017-01-06?14:25??條碼識別\條碼識別\obj\x86\Debug\條碼識別.csproj.GenerateResource.Cache

?????文件??????24627??2017-01-06?14:25??條碼識別\條碼識別\obj\x86\Debug\條碼識別.csprojResolveAssemblyReference.cache

?????文件??????12800??2017-01-06?14:34??條碼識別\條碼識別\obj\x86\Debug\條碼識別.exe

?????文件????????180??2017-01-06?14:25??條碼識別\條碼識別\obj\x86\Debug\條碼識別.MainForm.resources

?????文件??????28160??2017-01-06?14:34??條碼識別\條碼識別\obj\x86\Debug\條碼識別.pdb

?????文件????????180??2017-01-06?14:25??條碼識別\條碼識別\obj\x86\Debug\條碼識別.Properties.Resources.resources

............此處省略23個文件信息

評論

共有 條評論