2016-12-07 13:54:31 -0600 | received badge | ● Enthusiast |
2016-12-05 11:53:41 -0600 | commented question | Loading SVM results in crash FileStorage Hmm, just edited some code and it now gives a total different error which is (I think) some format issue in model.xml. Since the script that generated this xml file runs version 2.4 of OpenCV and I am currently loading it using 3.1.0, could this lead to some error because the xml is parsed differently? Btw, the error is: 'The node is neither a map nor an empty collection in function cvGetFileNodeByName' |
2016-12-05 11:45:47 -0600 | commented question | Loading SVM results in crash FileStorage Hmm, the output of cPath is the sandboxed path where the model.xml is saved (which is correct when I print it). What do you mean by 'not initialized correctly' actually? Since I have no C++ experience besides this I can make mistakes very fast. How would you initialize FileStorage? Thanks! |
2016-12-03 12:31:15 -0600 | received badge | ● Student (source) |
2016-12-02 17:31:41 -0600 | commented question | How do I load a pre-trained SVM using C++? I made a new thread about this: http://answers.opencv.org/question/11... |
2016-12-02 17:28:17 -0600 | answered a question | How do I load a pre-trained SVM using C++? I made a new question about this following another error code: http://answers.opencv.org/question/11... |
2016-12-02 16:39:13 -0600 | asked a question | Loading SVM results in crash FileStorage Hello everyone, I am currently developing an iOS application that uses the OpenCV framework for image processing. To process this image I want to make a prediction based on a trained SVM xml file we trained earlier with images. To load this xml file (in the iOS Application) we are using the normal method to do this is in a sandboxed application in Objective-C. After we got the right path we want to load this using the SVM->load method in Objective-C++: Unfortunately, this result in the following crash: I looked up this error on various fora, which states that this is because FileStorage cannot find the path sent in the argument of the load method. After debugging this for hours, I lost my faith and really want to resolve this issue. Does anyone here knows what is going on here, or probably, what is going wrong here? Thanks in advance |