Bolek Tekielski
Bolek Tekielski

Reputation: 1214

Error with trained LBP cascade in OpenCV 2.4 on OSX lion

I am trying to train cascade based on this post and official documentation.

My gear is:

So, I have created negative images, positive samples and trained cascade, all without errors, however when I try to test created cascade using opencv_performace I got following error:

OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file /Users/tekielskib/Projects/Wprawki/OpenCV-2.4.0/modules/core/src/persistence.cpp, line 4863
terminate called throwing an exceptionAbort trap: 6

Same thing happens when I create Haar cascade and save it using -baseFormatSave switch.

I am kind of stumped and don't know haw to nail down the issue...

Upvotes: 1

Views: 771

Answers (1)

Andrey Kamaev
Andrey Kamaev

Reputation: 30152

See http://code.opencv.org/issues/1694

There are two versions of xml format for cascades in OpenCV and the new format of cascades is not supported by the opencv_performance. But LBP cascades are only exist in newer format.

Upvotes: 2

Related Questions