Chetan Bhalara
Chetan Bhalara

Reputation: 10344

OpenCV Face tracker in iPhone

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 error "_cvCreateCameraCapture", referenced from:.

How can solve this error?

Thanks,

Chetan

Upvotes: 0

Views: 1282

Answers (2)

Robin Summerhill
Robin Summerhill

Reputation: 13675

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.

Upvotes: 1

BloodAxe
BloodAxe

Reputation: 833

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.

Upvotes: 0

Related Questions