the choice for video capture in Mac OSX? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
开发者_运维问答 Improve this questionWhat 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?
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.
It mostly depend what kind of application you are looking,
OSX Cocoa framework provides plenty of choices,
for video streaming : AVCaptureSession it provides you to configure image resolutions, if you have more then one camera attached through USB, it provides you option to choose camera
Moreover with this class you can choose frame rate , format type , Qos
for simple image processing , which gives you RGB frame go for qt framework.
精彩评论