error: ‘cv::EM’ has not been declared

cv::ml::EM

 

if you can switch to OpenCv v 3.3.0, the EM class is simply namespaced as cv::ml::EM.

你可能感兴趣的:(opencv)