A simple Ruby on Rails Engine can be used to capture webcam image. It uses webcam JavaScript library internally and provides as easy way to include the webcam image capture functinality.