DataMatrix

所属分类:模式识别(视觉/语音等)
开发工具:Visual C++
文件大小:1149KB
下载次数:536
上传日期:2009-03-10 17:40:19
上 传 者shawnlong
说明:  DataMatrix二维条码识别算法,基于Windows
(the recognize algorithm for DataMatrix 2-dimension bar code)

文件列表:
DataMatrix\DataMatrix.dll (36352, 2007-08-24)
DataMatrix\Decoder\DataMatrix\BitmapData.cs (1545, 2006-11-27)
DataMatrix\Decoder\DataMatrix\BitPatternSampler.cs (13085, 2006-12-17)
DataMatrix\Decoder\DataMatrix\BitPatternToCodewordTranslator.cs (14575, 2006-12-17)
DataMatrix\Decoder\DataMatrix\CandidatePoint.cs (8767, 2006-12-17)
DataMatrix\Decoder\DataMatrix\DataMatrix.csproj (3397, 2006-12-17)
DataMatrix\Decoder\DataMatrix\DataMatrixDecoder.cs (6409, 2006-12-17)
DataMatrix\Decoder\DataMatrix\DataMatrixException.cs (1100, 2006-11-27)
DataMatrix\Decoder\DataMatrix\Line.cs (2592, 2006-11-27)
DataMatrix\Decoder\DataMatrix\PerspectiveTransform.cs (6825, 2006-12-17)
DataMatrix\Decoder\DataMatrix\Polygon.cs (21041, 2006-12-17)
DataMatrix\Decoder\DataMatrix\Properties\AssemblyInfo.cs (1496, 2006-11-22)
DataMatrix\Decoder\DataMatrix\Quadrilateral.cs (2346, 2006-11-27)
DataMatrix\Decoder\DataMatrix\Regions.cs (14662, 2006-12-17)
DataMatrix\Decoder\DataMatrix\RegionSobeler.cs (3951, 2006-12-17)
DataMatrix\Decoder\DataMatrix\Statistics.cs (2533, 2006-11-27)
DataMatrix\Decoder\DataMatrixDec20061217.zip (297351, 2007-08-24)
DataMatrix\Decoder\DataMatrixDev.sln (3443, 2006-12-17)
DataMatrix\Decoder\DataMatrixDev.suo (120832, 2007-08-29)
DataMatrix\Decoder\ECC200Decoding\ECC200Decoding\EC200Decoder.cs (12823, 2006-12-01)
DataMatrix\Decoder\ECC200Decoding\ECC200Decoding\ECC200Decoding.csproj (1971, 2006-11-17)
DataMatrix\Decoder\ECC200Decoding\ECC200Decoding\obj\Release\Refactor\ECC200Decoding.dll (16384, 2007-08-28)
DataMatrix\Decoder\ECC200Decoding\ECC200Decoding\Properties\AssemblyInfo.cs (1504, 2006-11-17)
DataMatrix\Decoder\ECC200Decoding\ECC200DecodingTest\ECC200DecodingTest\ECC200DecodingTest.csproj (2203, 2006-11-17)
DataMatrix\Decoder\ECC200Decoding\ECC200DecodingTest\ECC200DecodingTest\Program.cs (3611, 2006-11-27)
DataMatrix\Decoder\ECC200Decoding\ECC200DecodingTest\ECC200DecodingTest\Properties\AssemblyInfo.cs (1380, 2006-11-16)
DataMatrix\Decoder\ECC200Decoding\ECC200DecodingTest\ECC200DecodingTest.sln (1446, 2006-11-17)
DataMatrix\Decoder\ECC200Decoding\ECC200DecodingTest\ECC200DecodingTest.suo (29184, 2006-11-17)
DataMatrix\Decoder\License.txt (17739, 2006-11-23)
DataMatrix\Decoder\ReedSolomon\cReedSolomonCodec.cs (29351, 2006-11-27)
DataMatrix\Decoder\ReedSolomon\obj\Release\Refactor\ReedSolomon.dll (16384, 2007-08-28)
DataMatrix\Decoder\ReedSolomon\Properties\AssemblyInfo.cs (1498, 2006-11-23)
DataMatrix\Decoder\ReedSolomon\ReedSolomon.csproj (2025, 2006-11-23)
DataMatrix\Decoder\ReedSolomon\ReedSolomonForDataMatrix.cs (3210, 2006-11-27)
DataMatrix\Decoder\samples\6.bmp (921654, 2006-11-22)
DataMatrix\Decoder\samples\Thumbs.db (5120, 2007-08-25)
DataMatrix\Decoder\TestApplication\bin\Release\Thresholding.vshost.exe (5632, 2005-09-23)
DataMatrix\Decoder\TestApplication\Form1.cs (21430, 2006-12-17)
DataMatrix\Decoder\TestApplication\Form1.Designer.cs (20000, 2006-12-17)
... ...

Freytag DataMatrixDecoder A c# implementation to find DataMatrix 'barcodes' in bitmaps and decode them back into a string. I'd love to hear what you're doing with this thing. After all, it cost me a month of my life! Usage using DataMatrix; bitmap b = new Bitmap("somefileWithABarcode.bmp"); List barcodes = DataMatrixDecoder.DecodeBarcode(b); //your decoded barcodes will be in barcodes. If there were none, you'll get an empty list. Compiling: -First open BitPatternTranslators\BitPatternTranslators\BitPatternTranslators.sln in Visual Studio, compile the whole project map. This will get you a number of DLLs that handle the translation from pattern-in-barcode to bytes. Copy them together somewhere where your app will find them. (Note: This is a prime improvement opportunity, and a fine place to show of your dynamic .net code generation skills!) -Second open up DataMatrixDev and compile. You can play with the TestApplication to see how we do on your images. -You'll need everything in DataMatrix\bin\Release and of course all the bitpattern*.dlls Notes: -The detection stands and falls with the thresholding. There are currently two approaches, both with their advantages and drawbacks. Look for IThresholder in DatamatrixDecoder to switch between them. -We currently only do square codes with a single section. Codes with multiple sections are mostly busywork (check wether the larger bitpatternsamplers are correct & adjust the reed solomon error detection to handle multiple blocks of 255 codewords) Rectangles will need adjustment in the BitPatternSampler (and possibly other parts, mirroring & rotation spring to mind ). Determining how many modules there are on an axis is actually pretty difficult in noisy images. Better solutions than the current one are always welcome! Take care, Jonathan Freytag, in November 2006 /* Copyright (C) 2006 Jonathan Freytag (Jonathan_Freytag@coonabibba.de) * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License (License.txt) * for more details. * * You should have received a copy of the GNU General Public License along with this program (License.txt); * if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */

近期下载者

相关文件


收藏者