Skip to content

yushulx/DirectShow.NET-Webcam-Barcode-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectShow.NET Webcam Barcode Reader

This repository provides a C# demonstration for creating barcode reader applications on Windows platforms, utilizing DirectShow.NET for webcam access and Dynamsoft Barcode Reader SDK for barcode decoding.

Getting Started

  1. Obtain a 30-day free trial license of Dynamsoft Barcode Reader SDK, and set the license key in Form1.cs:

    v9.x

    EnumErrorCode errorCode = Dynamsoft.DBR.BarcodeReader.InitLicense("LICENSE-KEY", out errorMsg);

    v10.x

    int errorCode = LicenseManager.InitLicense("LICENSE-KEY", out errorMsg);
  2. Build and run the project using Visual Studio.

    DirectShow.NET Webcam barcode reader

Blog

C# Webcam Barcode Reader: A DirectShow.NET Implementation