How I can do that? I found one lib, but it's only for linux and I need
it running on windows.
···
--
Posted via http://www.ruby-forum.com/.
How I can do that? I found one lib, but it's only for linux and I need
it running on windows.
--
Posted via http://www.ruby-forum.com/.
You did not even provide the name of the lib.
You also did not write what this has to do with ruby.
This is not a lot of information you give to others here man.
--
Posted via http://www.ruby-forum.com/.
I found this http://rubydoc.info/gems/camcapture/0.3.0/frames
but I can't install it. Typing "gem install rb_webcam" in RubyGems
Package Manager didn't work.
"You also did not write what this has to do with ruby."
I just need method to check if light is on or off. Simple binary state.
I found one website controlled by flicking your light switch and I
wanted to make a game which use this feature. For example - game like
VVVVVVV where if light is on - gravity is applied to floor and if there
is dark - gravity is applied to ceiling. I'm pretty sure it can be made
easier in Flash or something, but it would be too much effort to
learning whole new language and/or graphic/sound library (I'm using ruby
with GOSU now).
--
Posted via http://www.ruby-forum.com/.
I believe there are no libraries dealing with webcams in Ruby. Sucks 
When I needed to do it, I used CommandCam:
http://batchloaf.wordpress.com/commandcam/ with RMagick. This gave me
a framerate of about 2 FPS. I was going to try and make a C Ruby
extension (basing the code on CommandCam), but never got around to it.
-- Matma Rex