You forgot to read the posting guidelines:
which means you didn't know you were supposed to include your code and image. So give us the script where your image analysis works, and then the mlapp file where you put it and it doesn't work. Also give us the image with the circles in it. Only then can we give a good answer.