OpenCV Python - Finding pixel coordinate from center of contours? : im new to python and opencv .. i just want to find the pixel coordinate of the image of the objects that has been detected by the center of contour .. thank you in advance .. any help would be appreciated ..

through search i found something like this:
coord = np.where(np.all(img == (0, 0, 255), axis=-1))
print zip(coord[0], coord[1])

this example finds the center of an object using opencv python:
http://www.pyimagesearch.com/2016/02/01/opencv-center-of-contour/