Documentation for Algorithm::getList() is strange (Bug #1972)
Description
In section 2.1 of the refmanual (page 51) in OpenCV v2.4.0 and including latest SVN #8410, it shows Algorithm::getList() twice, and both of their function names say Algorithm::read() instead of Algorithm::getList().
And perhaps this sample code could be added to the documentation (or one of the same programs):
vector<string> algorithms; Algorithm::getList(algorithms); cout << "Algorithms: " << (int)algorithms.size() << endl; for (int i=0; i<(int)algorithms.size(); i++) { cout << algorithms[i] << endl; }
Associated revisions
fixed description of Algorithm::getList(); added sample, thanks to Shervin Emami (ticket #1972)
fixed description of cv::invert() (ticket #1972)
Merge pull request #1972 from alalek:ocl_queue_cleanup_hung
History
Updated by Vadim Pisarevsky almost 13 years ago
thanks! fixed the description and added your sample in r8437
- Status changed from Open to Done
- Target version set to 2.4.1
- Assignee set to Vadim Pisarevsky
Updated by Shervin Emami almost 13 years ago
Thanks, but there is still a duplicate "getList()" below it. eg: there are 2 getList() sections in "http://opencv.itseez.com/trunk/modules/core/doc/basic_structures.html#algorithm-getlist"
Updated by Vadim Pisarevsky almost 13 years ago
oh,right. thanks! fixed in r8447