I want to find the center of a contour without doing so much calculations. Is there a built in function for that in opencv?
Either you haven't done any research, or these questions already asked and answered here are not what you are asking:
centroid of contour/object in opencv in c?
OpenCV 2 Centroid
If latter is the case, please elaborate the question in more detail.