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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user