【问题标题】:iPhone OpenCV face detectioniPhone OpenCV 人脸检测
【发布时间】:2012-04-15 23:17:59
【问题描述】:

当我执行时

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

谁能帮我解决这个问题?

【问题讨论】:

  • 该错误意味着 OpenCV 无法识别 XML 文件的数据。检查您是否传递了正确的文件。

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


【解决方案1】:

按照本指南: http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

希望能给你一些方向:]

【讨论】:

    猜你喜欢
    • 2012-02-04
    • 2013-05-24
    • 1970-01-01
    • 1970-01-01
    • 2014-01-31
    • 2016-05-05
    • 2012-03-29
    • 2019-04-20
    • 2017-07-19
    相关资源
    最近更新 更多