C# Tutorial to read barcodes and QR - see full tutorial at https://ironsoftware.com/csharp/barcode/tutorials/reading-barcodes/
Switch branches/tags
Nothing to show
Clone or download
Latest commit e5f8c8c Nov 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
1 Get Started.cs
2 Try Harder.cs Reading Barcodes in C# initial commit Nov 15, 2018
3 Read Multiple.cs
4 Reading Imperfect Barcodes.cs
App.config
GetStarted.png
Multiframe.tiff Reading Barcodes in C# initial commit Nov 15, 2018
MultipleBarcodes.pdf
Photo.jpg
Program.cs
QR.png
README.md Update README.md Nov 15, 2018
ReadingBarcodesInCSharpTutorial.csproj
Scan.pdf
ThumbnailOfBarcode.gif
TryHarderQR.png
image1.png
image2.jpg
image3.pdf Reading Barcodes in C# initial commit Nov 15, 2018
image3.tiff
packages.config
visual-studio-logo.png

README.md

Reading Barcodes In C#

A detailed C# tutorial showing how to use the BarCode package from Nuget to read Barcodes

 PM > Install-Package Barcode

https://www.nuget.org/packages/BarCode/

using IronBarCode;
using System;

Topic Covered:

1 Get Started.cs

How to read almost any barcode or QR Code in 1 line of code.

2 Try Harder.cs

Improving performance by specifying barcode formats to scan, and using the TryHarder flag to find skewed or noisy barcodes, at the cost of some speed.

3 Read Multiple.cs

Reading one or many barcodes from documents and scans including

  • Images
  • PDF files
  • MultiFrame GIF and TIFF images
  • MultiThreading for faster performance

4 Reading Imperfect Barcodes.cs

Dealing with real world scenarios such as:

  • Reading Barcodes and QR from Photographs
  • Scanning PDF files for barcodes
  • Reading barcodes from small or thumbnail images

All BarcodeResult.Read methods provide the developer with control to correct image and photograph correction and straightening rotation and perspective from skewed images

  • RotationCorrection e.g BarcodeReader.BarcodeRotationCorrection.Extreme un-rotates and removes perspective from barcode images.
  • ImageCorrection e.g BarcodeReader.BarcodeImageCorrection.DeepCleanPixels separates Barcodes from background imagery and digital noise.
  • BarcodeEncoding e.g. BarcodeEncoding.Code128 Setting a specific Barcode format improves speed and reduces the risk of false positive results

Learn More

See the full tutorial at https://ironsoftware.com/csharp/barcode/tutorials/reading-barcodes/