Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QR Barcode image back to text

Tags:

php

qr-code

I've converted hello world to QR Barcode image but my question is about getting the text back.

enter image description here

I mean if I sent that image to my friend, then is there any way that my friend get it back to text without using mobile reader/barcode reader machine .etc. so is there any PHP function can do this?!

If not then is there any idea I can convert text to encoded image then with PHP function whatever! I can get it back to text?!

like image 587
Reham Fahmy Avatar asked Mar 19 '12 17:03

Reham Fahmy


People also ask

Can QR code convert to text?

Yes, a QR Code for Text doesn't require an internet connection. Users can scan the code from their preferred QR code scanning app and view the attached text. A text QR code is compatible with all Android and iOS devices.

Can you text a picture of a QR code?

Yes you can. Please make sure the QR code is clear so our partner can scan it. We can't be held responsible if an unclear picture or screenshot prevents you from redeeming the code.


2 Answers

I use the ZBar bar code reader on linux (there's also a Windows and an iPhone binary), which can scan them using any supported video in device or a number of file formats (e.g., directly from PDF). It's also useful if you want to script the QR code processing.

E.g.,

$ zbarimg http://i.stack.imgur.com/pQV0s.png  
QR-Code:hello world
like image 88
Salz Avatar answered Oct 20 '22 07:10

Salz


There are several web based QR decoders. Your friend can just upload the image and the service will tell her what the code says.

One of the most popular is ZXing - http://zxing.org/w/decode.jspx

There are also others at

http://www.onlinebarcodereader.com/

http://www.patrick-wied.at/static/qrgen/

like image 24
Terence Eden Avatar answered Oct 20 '22 06:10

Terence Eden