Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Access EM means using Python?

trying to access the means after applying EM on a GMM: using code detailed here: http://docs.opencv.org/2.3/modules/ml/doc/expectation_maximization.html

but I get this error: AttributeError: 'cv2.EM' object has no attribute 'getMeans'

I am using opencv 2.4.5 (http://docs.opencv.org/2.4.5/modules/ml/doc/expectation_maximization.html) which only lists Algorithm::get() and Algorithm::set() functions for C++

How do I access the means and covariances using Python ?!