I want to make a face tracking application in iPhone.
Can any one help me how to use CvCapture * camera = cvCreateCameraCapture(CV_CAP_ANY); in iPhone?
When I add this line in XCode4, I got the err开发者_C百科or "_cvCreateCameraCapture", referenced from:.
How can solve this error?
Thanks,
Chetan
The latest OpenCV source from the SVN trunk supports video capture on iOS. Take a look at this article for a pre-compiled iOS framework and an example project.
Currently, OpenCV camera capture API cannot be used in iOS apps. You have to create AVCaptureSession and setup video capturing pipeline in order to get video frames from iPhone camera device.
精彩评论