1 | initial version |
1.: please do not use a raw pointer(it will self-destroy then), but a cv::Ptr. your first line has to be:
Ptr<ml::EM> test=ml::EM::create();
2.: you have to use the implementation, not the (pure)virtual interface method:
test->setClustersNumber(9);