Function circle, how to send the center parameter?

0

I am sending the center parameter given by (2953,1999) as I show below:

circle(imgOr,(2953,1999),224,Scalar(255,0,0));

But it gives the error:

  

could not convert (0,1999) from 'int' to 'cv :: Point'

    
asked by anonymous 17.02.2018 / 23:09

1 answer

0

Try this:

circle(imgOr,Point(2953,1999),224,Scalar(255,0,0));

Just be careful that this circle does not cross the edges of the image

    
21.02.2018 / 17:29