Node-Red | Raspberry Pi | QR Code generate/print/scan

981 views
Skip to first unread message

myIoT

unread,
Sep 5, 2015, 9:02:47 PM9/5/15
to Node-RED
Hello Node-Red group,

I am working on a small project using Node-Red/RaspberryPi which should generate QR Code and print it via Adafruit Thermal printer connected via USB/FTDI. I do have an old USB Webcam, which should read/scan the printed QR Code for further processing. I am kind of  in the middle and need this groups expert advice on putting all together using Node-Red.

Progress so far...
Printing QR code
- Adafruit thermal printer - connected thru FTDI, able to print sample text and barcode using https://www.npmjs.com/package/thermalprinter (does not seem to have QR code capable). 
- Is there any QR Code print nodejs library, could not make it work https://www.npmjs.com/package/qrcode since the "canvas" dependant package gives trouble while installing "cairo". Anyone successfully installed "cairo" on RPi?
- using https://www.npmjs.com/package/qrcode-terminal, able to display the QR Code in terminal, is it possible to feed that to above thermalprinter npm pkg and print it?

 Read/Scan QR code
- Is there any easy way to scan QR code using USB Webcam connected to RPi(headless)?
- "motion" is working, able to stream thru websocket independently
- using zetta/ffmpeg https://www.npmjs.com/package/zetta-jsmpeg-camera/ able to stream via websocket (independantly)

Thanks
EK
Reply all
Reply to author
Forward
0 new messages