2014-10-30 12:58:24 -0600 | asked a question | link opencv NDK library while compiling code with ndk toolchain I'm trying to link the Opencv Prebuilt NDK libraries in a sample project composed of just a Makefile and a main.cpp. The Makefile look like this: the main.cpp looks like this: The compilation runs ok, but then when the linker tries to link all the libraries I get problems as if the libraries are not the correct one. The output looks like this: |
2013-12-06 06:24:06 -0600 | asked a question | Random trees persistence issue I'm trying to implement a random tree classifier (CvRTrees) using Opencv. I succeed implementing it with opencv and it is working. Then I decided to separate the training part from the classification part. The idea is to save the trained forest and load it back when you want to classify something. I tried in two different way:
But results form the older implementation that did not save trees to file are different and worst. Following code is the implementation of 2nd point: To store it: To load them back: I'm using opencv 2.4.6 Does anyone have suggestions on this code? |