iPhone OpenCV人脸检测

当我执行

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

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

最佳答案 请遵循以下指南:

  
http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

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

点赞