
Mat image;
Moments moments(image);
int x = moments.M10 / moments.M00;
int y = moments.M01 / moments.M00;
↧