Camera
-
Taking a photo/picking photo: If you have a newer version of the iPhone (iOS6+) or Android (3.0+), use HTML Media Capture
-
QR Code Reading: Substantially more difficult. Just about do-able if you take a photo using HTML Media Capture (see above) and use a QR code library on the server-side to read the QR code from the picture (e.g. https://npmjs.org/package/jsqrcode). No guarantees on this one though.