Algorithm::load() not available for script wrappers (Bug #4279)
Description
while trying to fix the ml-related python samples, i found
that it's impossible to load a serialized state from python atm.
adding a respective method like:
```
CV_WRAP static Ptr<SVM> load(const String &fn)
{
return Algorithm::load<SVM>(fn);
}
```
to each of the ml classes would fix it, but hopefully there might be a better way (without changing the interface)
History
Updated by Vadim Pisarevsky almost 10 years ago
- Category set to ml
Updated by Maksim Shabunin almost 10 years ago
- Target version set to 3.0
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4969