Home > Software engineering >  Using opencv detection circle can identify all round but center can only output one
Using opencv detection circle can identify all round but center can only output one

Time:09-16

Himself is also a beginner, a kind of eldest brother answer hope you can specifically what to write code,,

CodePudding user response:

Your code itself only output a

CodePudding user response:

That how to output all... Specific code is how to write

CodePudding user response:

Try

for(int i=0; I>=0; I=hierarchy [index] [0])
{
Mat pointsf;
Mat (contours [I]). ConvertTo (pointsf CV_32F);
RotateRect box=filEllipse (points);
Cout & lt; Cout & lt; }
WaitKey ();

CodePudding user response:

Well, niuniu

CodePudding user response:

Refer to your me try

CodePudding user response:

Learning how to learn

CodePudding user response:

Badly ill

CodePudding user response:

Badly ill

CodePudding user response:

OpenCV

CodePudding user response:

Good bad ah really superior superior

CodePudding user response:

Learning, master!

CodePudding user response:

Have no use Java calls opencv hoff circle detection

CodePudding user response:

Thank you, to learn,
  • Related