Search code examples
c++macoswebcam

the choice for video capture in Mac OSX?


What is the best choice for webcam video/image capture under Mac OSX with C/C++? It seems that Apple recommended QTKit, but it is a Objective-C library. Any sample code to do the job?


Solution

  • You can use the Objective-C library from your C++ program indirectly. Just create a C interface to the Objective-C functions and compile it with your Objective-C compiler.