Example in Opencv for moments computing, in contours.