Commit 545f573a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #7596 from sovrasov:doc_core_clarify

parents bebd49d9 33d82da4
......@@ -3027,7 +3027,8 @@ public:
This is static template method of Algorithm. It's usage is following (in the case of SVM):
@code
Ptr<SVM> svm = Algorithm::read<SVM>(fn);
cv::FileStorage fsRead("example.xml", FileStorage::READ);
Ptr<SVM> svm = Algorithm::read<SVM>(fsRead.root());
@endcode
In order to make this method work, the derived class must overwrite Algorithm::read(const
FileNode& fn) and also have static create() method without parameters
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment