Hello, I went through my code and then I counter this. Err what is the meaning of mu(contours.size)? What I understand from this code, it will find the moment for every contours found. But what is the meaning of mu? TQ
vector<moments> mu(contours.size() ); for( int i = 0; i < contours.size(); i++ ) { mu[i] = moments( contours[i], false ); }