Reading and decoding PDF-417 barcodes stored in an image or PDF file from within a .NET application

前端 未结 6 1601
礼貌的吻别
礼貌的吻别 2020-12-29 12:14

I am looking for a .NET library that is able to decode data from a PDF-417 barcode that is embedded either in an image file or PDF. At this point, I have only been able to

相关标签:
6条回答
  • 2020-12-29 12:41

    I've just successfully integrated the ZXing .Net port from java. It's not as powerful as other paid SDK's - for instance it couldn't detect barcodes in a rotated image. However, it's free and might work for you if you're on a budget. Generally you'll find the paid SDKs cost $400 and up. It has over a million downloads on Nuget, if that means anything.

    https://github.com/micjahn/ZXing.Net

    0 讨论(0)
  • 2020-12-29 12:45

    try this

    http://platform.twit88.com/projects/mt-barcode

    This is a zxing c# port

    0 讨论(0)
  • 2020-12-29 12:51

    Aspose has a PDF417 encoder/decoder for both .NET and Java, but it is not open source: http://www.aspose.com/categories/.net-components/aspose.barcode-for-.net/default.aspx

    0 讨论(0)
  • 2020-12-29 12:55

    We use components (not free) from IDAutomation for PDF417. They are very good. We use them for encoding, as opposed to reading and decoding.

    Haven't used this component of theirs, but have a look it is C#, and you can obtain the source code, but again, not free.

    http://www.idautomation.com/barcode-recognition/

    0 讨论(0)
  • 2020-12-29 13:00

    The ClearImage Barcode Recognition SDK for .NET is probably the easiest way to decode PDF 417 and many other barcodes. I use it in many projects... although it is not free

             var bitmap = WpfImageHelper.ConvertToBitmap(_BarcodeCam.BitmapSource);
    
            _ImageEditor.Bitmap = bitmap;
            _ImageEditor.AutoDeskew();
            _ImageEditor.AdvancedBinarize();
    
            var reader = new BarcodeReader();
            reader.Horizontal = true;
            reader.Vertical = true;
            reader.Pdf417 = true;
    
            //_ImageEditor.Bitmap.Save("c:\\barcodeimage.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
    
            var barcodes = reader.Read(_ImageEditor.Bitmap);
    
            if (barcodes.Count() > 0)
    
    0 讨论(0)
  • 2020-12-29 13:01

    Morovia provides a free pdf417 decoder.

    0 讨论(0)
提交回复
热议问题