QR decoding for mruby using the quirc library.
Depends on the mruby-jpeg library.
In the mruby directory:
mkdir mrbgems
cd mrbgems
git clone --recursive git://github.com/carsonmcdonald/mruby-qrdecode.gitThen in your build config add:
MRuby::Build.new do |conf|
conf.gem 'mrbgems/mruby-qrdecode'
endinput_jpeg=JPEG.read("/tmp/test.jpg", :force_grayscale => true)
qrd=QR::Decoder.new
puts qrd.decode(input_jpeg)MIT - See LICENSE