1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Add wrappers for load functions for DTrees and Boost classifiers

This commit is contained in:
chrizandr
2017-01-29 15:43:01 +05:30
parent aa5caf83f6
commit d22df8c41f
3 changed files with 33 additions and 0 deletions
+6
View File
@@ -1941,6 +1941,12 @@ Ptr<DTrees> DTrees::create()
return makePtr<DTreesImpl>();
}
Ptr<DTrees> DTrees::load(const String& filepath, const String& nodeName)
{
return Algorithm::load<DTrees>(filepath, nodeName);
}
}
}