Accessing iSight programmatically?,
Is it possible to access the iSight camera on a macbook programmatically? By this I mean I would like to be able to just grab still frames from the iSight camera on command and then do something with them. If so, is it only accessible using objective c, or could other languages be used as well?
You should check out the
On Leopard, you can get at all of it over the RubyCocoa bridge:
require 'osx/cocoa' OSX.require_framework("/System/Library/Frameworks/QTKit.framework") OSX::QTCaptureDevice.inputDevices.each do |device| puts device.localizedDisplayName end
That’s the answer Accessing iSight programmatically?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.
The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you