0

I am creating a windows application which scans barcode and identifies the product. For it, I am planning to use a webcam temporarily. I want to know how can I interface my webcam with the application. The webcam is USB one.

The application is similar to the ones available these days on Smartphones.

Please help.

Thank You!

2 Answers 2

5

You can use either the WIA approach or the DirectShow, depending on your web cam driver. In both cases, unless you are very familiar with these 2 approaches, you might want to use a third-party library. We are using a third-party multimedia toolkit named leadtools to control our web cameras. You can check this forum post for further information. Also, this toolkit supports reading barcodes. For more information, refer to this Tutorial

Sign up to request clarification or add additional context in comments.

Comments

0

You need to make use of Windows Image Acquisition (WIA)

Here are several resources which you can use.

How to use a web cam in C# with .NET Framework 4.0 and Microsoft Expression Encoder 4

C# WebCam User Control Source

How do I connect to a USB webcam in .NET?

or DirectShow.Net

Webcam using DirectShow.NET

1 Comment

This is of course only half the solution because once you have acquired the image you have to then decode the barcode from it

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.