VIDEOS

How to Read Barcodes From Images in C#

Jordi Bardia
Jordi Bardia
December 10, 2023
Share:


In this tutorial, we delve into reading barcodes from images using Iron Barcode in C. After installing Iron Barcode via the NuGet package manager, we proceed to the program's CS file to explore the code. The process begins with declaring the Iron Barcode namespace, followed by utilizing the BarcodeReader.Read method to input the image file path. A for-each loop is implemented to iterate over detected barcodes, printing each barcode's value to the console. The demonstration involves a single barcode, but the code supports multiple barcodes. Upon running the program, the console displays the barcode's string representation, which may include numbers, letters, or a combination of both. This confirms the successful reading of the barcode. We encourage viewers to subscribe for more tutorials from Iron Software. Additionally, a trial subscription is available for those interested in exploring the software further, accessible via the link in the video description.

Get stated with IronBarcode now.
green arrow pointer

Jordi Bardia
Software Engineer
Jordi is most proficient in Python, C# and C++, when he isn’t leveraging his skills at Iron Software; he’s game programming. Sharing responsibilities for product testing, product development and research, Jordi adds immense value to continual product improvement. The varied experience keeps him challenged and engaged, and he says it’s one of his favorite aspects of working with Iron Software. Jordi grew up in Miami, Florida and studied Computer Science and Statistics at University of Florida.
< PREVIOUS
How to Read Barcodes From PDFs in C#
NEXT >
How to Read & Scan Barcode in C# Using NET MAUI