PDA

View Full Version : Scan barcode from iphone screen


Logger
Dec20-10, 04:26 PM
Hello there,

A friend of mine is developing an iphone app. that will have the ability of scanning a barcode(not using the camera to scan a barcode-like redlaser) that is displayed on your iphone using a barcode scanner at store points of sale(Cashiers).He is having trouble with the barcode scanner reflecting off of the iphone LCD screen.Is there any software that can overcome this problem.Is there any apps that currently use this technology successfully and how do they do it.Can anyone recommend a solution to his problem.I was thinking if it would be possible for a cashier to place something transparent but non reflective over the iphone prior to scanning it with a barcode scanner.Can anybody recommend any substance that might do something like this.

Thanks in advance,

Dave.

fss
Dec20-10, 04:29 PM
The iPhone screen is not a photosensor nor is it any kind of photoinput device. I think your friend needs to re-think his app.

NobodySpecial
Dec20-10, 04:40 PM
The iPhone screen is not a photosensor nor is it any kind of photoinput device. I think your friend needs to re-think his app.

I think the OP means he is intending to generate a barcode on the screen to be read by a checkout - rather than use the iPhone camera to read a barcode.
In the same way you can show the on screen barcode in an electronic ticket at the airport.

The trouble is that supermarket linear barcode readers are a lot less sophisticated than 2D QS barcode cameras

Logger
Dec20-10, 04:45 PM
The barcode is being generated by software in the app.The problem lies in getting the cashier barcode scanners to read the barcode from the iphone.Anyone think the non reflective material might work?

berkeman
Dec20-10, 05:01 PM
The barcode is being generated by software in the app.The problem lies in getting the cashier barcode scanners to read the barcode from the iphone.Anyone think the non reflective material might work?

If you make the barcode as big as the iPhone screen (blown up), and hold the displat at an angle (like 20 degrees) to the laser beam, does it work better?

Logger
Dec20-10, 05:04 PM
At present the barcode is displayed in landscape mode and covers around 60% of total screen area.This is pretty big and you would expext it should get a read on a barcode that size.

berkeman
Dec20-10, 05:06 PM
At present the barcode is displayed in landscape mode and covers around 60% of total screen area.This is pretty big and you would expext it should get a read on a barcode that size.

Do you guys know what the reflections look like, and why they interfere with getting the pattern read well? If you could figure out what is getting distorted, you may be able to pre-distort the barcode image to compensate...

fss
Dec20-10, 05:42 PM
Oh, well facepalm to me. It would seem that the numerous anti-glare screens for the iPhone would help, but it's not exactly practical to require that with every purchase of the app.