文件名称:条码识别
- 所属分类:
- 图形/文字识别
- 资源属性:
- 上传时间:
- 2018-03-17
- 文件大小:
- 2.57mb
- 下载次数:
- 0次
- 提 供 者:
- jackwa******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Image primaryImage = Image.FromFile(fileName);
Bitmap pImg = MakeGrayscale3((Bitmap)primaryImage);
using (ZBar.ImageScanner scanner = new ZBar.ImageScanner())
{
List<ZBar.Symbol> symbols = new List<ZBar.Symbol>();
System.Diagnostics.Stopwatch watch = new Stopwatch();
watch.Start();
symbols = scanner.Scan((Image)pImg);
watch.Stop();
TimeSpan timeSpan = watch.Elapsed;
MessageBox.Show("扫描执行时间:" + timeSpan.TotalMilliseconds.ToString());
if (symbols != null && symbols.Count > 0)
{
string result = string.Empty;
symbols.ForEach(s => result += "条码内容:" + s.Data + " 条码质量:" + s.Type + Environment.NewLine);
MessageBox.Show(result);
}
}(This is the code that c# identifies with ZBar, which I use to automatically generate Baidu translation just to download the code on the site)
Bitmap pImg = MakeGrayscale3((Bitmap)primaryImage);
using (ZBar.ImageScanner scanner = new ZBar.ImageScanner())
{
List<ZBar.Symbol> symbols = new List<ZBar.Symbol>();
System.Diagnostics.Stopwatch watch = new Stopwatch();
watch.Start();
symbols = scanner.Scan((Image)pImg);
watch.Stop();
TimeSpan timeSpan = watch.Elapsed;
MessageBox.Show("扫描执行时间:" + timeSpan.TotalMilliseconds.ToString());
if (symbols != null && symbols.Count > 0)
{
string result = string.Empty;
symbols.ForEach(s => result += "条码内容:" + s.Data + " 条码质量:" + s.Type + Environment.NewLine);
MessageBox.Show(result);
}
}(This is the code that c# identifies with ZBar, which I use to automatically generate Baidu translation just to download the code on the site)
相关搜索: zbar
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
条码识别\条码识别\条码识别\bin\Debug\Demo\1.jpg | 1360648 | 2016-01-14 |
条码识别\条码识别\条码识别\bin\Debug\Demo\20090914145900-51487171.jpg | 15837 | 2016-01-27 |
条码识别\条码识别\条码识别\bin\Debug\libiconv-2.dll | 964989 | 2016-01-27 |
条码识别\条码识别\条码识别\bin\Debug\libzbar-cil.dll | 17920 | 2016-01-27 |
条码识别\条码识别\条码识别\bin\Debug\libzbar.dll | 209438 | 2016-01-27 |
条码识别\条码识别\条码识别\bin\Debug\条码识别.exe | 11776 | 2018-03-17 |
条码识别\条码识别\条码识别\bin\Debug\条码识别.pdb | 30208 | 2018-03-17 |
条码识别\条码识别\条码识别\bin\Debug\条码识别.vshost.exe | 22984 | 2018-03-17 |
条码识别\条码识别\条码识别\bin\Debug\条码识别.vshost.exe.manifest | 490 | 2017-09-29 |
条码识别\条码识别\条码识别\lib\libiconv-2.dll | 964989 | 2016-01-27 |
条码识别\条码识别\条码识别\lib\libzbar-cil.dll | 17920 | 2016-01-27 |
条码识别\条码识别\条码识别\lib\libzbar.dll | 209438 | 2016-01-27 |
条码识别\条码识别\条码识别\MainForm.cs | 3452 | 2016-01-27 |
条码识别\条码识别\条码识别\MainForm.Designer.cs | 4920 | 2016-01-27 |
条码识别\条码识别\条码识别\MainForm.resx | 6015 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache | 2867 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache | 7344 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\GenerateResource.read.1.tlog | 214 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86\Debug\GenerateResource.write.1.tlog | 514 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.csproj.FileListAbsolute.txt | 1755 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.csproj.GenerateResource.Cache | 905 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.csprojResolveAssemblyReference.cache | 11269 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.exe | 11776 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.MainForm.resources | 180 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.pdb | 30208 | 2018-03-17 |
条码识别\条码识别\条码识别\obj\x86\Debug\条码识别.Properties.Resources.resources | 180 | 2018-03-17 |
条码识别\条码识别\条码识别\Program.cs | 496 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties\AssemblyInfo.cs | 1356 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties\Resources.Designer.cs | 2872 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties\Resources.resx | 5612 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties\Settings.Designer.cs | 1095 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties\Settings.settings | 249 | 2016-01-27 |
条码识别\条码识别\条码识别\条码识别.csproj | 4088 | 2016-01-27 |
条码识别\条码识别\条码识别.sln | 878 | 2016-01-27 |
条码识别\条码识别\条码识别.suo | 20992 | 2016-01-27 |
条码识别\条码识别\条码识别.v11.suo | 20992 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86\Debug\TempPE | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\bin\Debug\Demo | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86\Debug | 0 | 2018-03-17 |
条码识别\条码识别\条码识别\bin\Debug | 0 | 2018-03-17 |
条码识别\条码识别\条码识别\bin\Release | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\obj\x86 | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\bin | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\lib | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\obj | 0 | 2016-01-27 |
条码识别\条码识别\条码识别\Properties | 0 | 2016-01-27 |
条码识别\条码识别\条码识别 | 0 | 2016-01-27 |
条码识别\条码识别 | 0 | 2018-03-17 |
条码识别 | 0 | 2018-03-17 |