Algorithm::load() not available for script wrappers (Bug #4279)


Added by be rak almost 10 years ago. Updated over 9 years ago.


Status:New Start date:2015-04-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:ml
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

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

Also available in: Atom PDF