This program recognizes barcodes that contain URLs and launches the iPhone's browser with any URL that is detected.
scp -r Reader.app root@IP:/ApplicationsYour password is most likely "alpine" without the quotes. Alternatively, you can use the SFTP program of your choice to do this transfer.
To launch the app, touch it from the home screen. To recognize a barcode, position the barcode into the field of view of the camera, and press the screen. The screen will freeze while the application is recognizing the barcode. If the recognition succeeds, Safari will launch the URL in the barcode. If the recognition fails, the camera preview will be unfrozen and you will be able to try the recognition again.
Internally, the application uses the iPhone's camera to take a picture. The picture is then sent to a recognizer where it is decoded, if possible. When the picture is decoded, the decoded URL is passed to Safari, the phone's internal browser.
The application has a very high failure rate under real world conditions. Also, it only works with URLs. Recognizing any other piece of encoded data may have unexpected results.
It may be helpful to implement a preprocessing step in which the retinex color constancy algorithm is performed. This would enhance the application's performance under difficult lighting situations.
Also, it would be nice if the application handled things other than URLs intelligently. For example, if address book information were encoded in the barcode, then a new contact entry should be created on the phone.
This program is largely based on the Open Source QR Code Library.