- add conf.gem line to
build_config.rb
MRuby::Build.newdo |conf|
# ... (snip) ...conf.gem:github=>'kjunichi/mruby-webcam'endcam=Webcam.newcam.set_size300,300cam.capture{|img|
# img : JPEG format(default)putsimg.length}# SPC : capture# ESC : exitcam.startcam=Webcam.newcam.set_size300,300cam.each{|img|
# img : JPEG format(default)putsimg.length}cam=Webcam.newcam.set_fmt"ppm"cam.capture{|img|
# img : PPM format(P6)putsimg}# SPC : capture# ESC : exitcam.startunder the MIT License:
- see LICENSE file

