Ask Your Question

Revision history [back]

You should be able to find the location of dot using minMaxLoc. Look for the max location point for the white dot. As long as you have a single dot, this should give you the correct answer.