Barcode reader

Char's icon

Hello,
I want to make a Isight barcode reader, but there is one problem.

How can the program "sense" a barcode when it's in the camera field.

As example, if it sees a red square and a green one next to each other, the output must be a certain number.
That number must trigger the information.

Char

aspbrandson's icon

I am dealing with this now, I add one bar code generator and reader in camera and want use it to create and scan bar codes, hope it works.

bluesfan's icon

Hey, friend. Did it work? I am also dealing with this problem. I tried and I add one barcode generator and one barcode reader in camera. It did not work. I don't how to do it now.

makaveiljojo's icon

Barcode readers/scanners begin by illuminating the code with red light. The sensor of the barcode readers detects the reflected light from the illumination system and generates an analog signal with varying voltage that represent the intensity (or lack of intensity) of the reflection.

The converter changes the analog signal to a digital signal which is fed to the decoder of the barcode reader. The decoder interprets the digital signal, does that math required to confirm and validate that the barcode is decipherable, converts it into ASCII text, formats the text and sends it to the computer the scanner is attached to.