iPhone OpenCV人脸检测

时间:2012-04-02 09:34:26

标签: iphone objective-c ios opencv face-detection

执行时

self.model = (CvHaarClassifierCascade *) cvLoad([file cStringUsingEncoding:NSASCIIStringEncoding], 0, 0, 0);

我发现以下错误。

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file /Users/robin/Projects/OpenCVForiPhone/opencv/opencv/modules/core/src/persistence.cpp, line 4858

任何人都可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

请遵循以下指南:   http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

希望它会给你一些方向:]