get the moments of the blobs using cvMoments() and calculate:
dXCenter = Moments.m10 / Moments.m00;
dYCenter = Moments.m01 / Moments.m00;
Road to my grill day ...
get the moments of the blobs using cvMoments() and calculate:
dXCenter = Moments.m10 / Moments.m00;
dYCenter = Moments.m01 / Moments.m00;
No comments:
Post a Comment