views:

29

answers:

1

Hi guys, i'd like to grab a frame from my MacBook Pro iSight in C++ and do some elaborations on it. I already know how to do that in ObjC with QTKit, but is there any way to do the same thing in C++?

NOTE: I tried to install OpenCV with macports, but the framework doesn't seem to support iSight cameras.

Thanks

+1  A: 

Hello

You could do that using OpenCV ( http://opencv.willowgarage.com/wiki/ )

And here is a sample code you can copy/paste to try it : http://www.geckogeek.fr/lire-le-flux-dune-webcam-camera-video-avec-opencv.html (article in french but code is in english)

Good Luck ;-)

Vinzius