color-detection Red color detection and finding contour of it and then calculating centroid of the detected red object.