Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QR Reader

Status
Not open for further replies.

Swi

Programmer
Feb 4, 2002
1,963
0
36
US
Does anyone know of a way to have a webcam capture and read a QR code's contents?

Thanks.

Swi
 
You can write a lot of code, buy 3rd party libraries, or use an application intended for the purpose. You probably won't find everything in one neat package as free VB6 code or even in a single library.

Reliably getting webcam images with VB6 usually involves DirectShow, and even then you'll need 3rd party library support in most cases though you can achieve very basic results without them.

Then once you can capture frames you'll have to "find" the QR code within them, isolate that part of the image, detect and correct for keystoning, enhance the contrast, and then decode the barcode. I don't know of any free copy/paste code for that but you might find it if you search hard.
 
That's ok, right now I just have a hand held barcode scanner that scans the barcode contents into a VB app. Thanks for the information though.

Swi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top