I want to find the center of a contour without doing so much calculations. Is there a built in function for that in opencv?
To answer your question:
There is no built in function. Checkout berak for copypasta code that solves your problem.