I have trained two cascade.xml train one using opencv_traincascade.exe and the other using opencv_haartraining.exe. When i use the first xml (image)trained with opencv_traincascade.exe it shows error "Unspecified error (The node does not represent a user object (unknown type?)" , but the second xml works fine (image)Haarcascade trained, but bad results. I notice both xml have different formats.. anyone can please..?
Asked
Active
Viewed 200 times
0
-
Were you really interested in getting an answer? – Giuseppe Dini Jan 10 '16 at 19:08
1 Answers
0
As you can see the formats are different. Furthermore with traincascade.exe you used LBP features that are not supported by haartraining.exe and old APIs.
You have to load the newer cascade (trained with traincascade) with the new method.
CascadeClassifier cascade;
cascade.load( “cascadefile.xml” )

Giuseppe Dini
- 762
- 7
- 19
-
Thanks.. Do you have any idea about how to implement SURF algo with Flann in emgucv .. please help me if you can, i want to compare multiple images with a single source image in run time. – Wasim Akbar Feb 21 '16 at 12:35