Home > Software engineering >  New consult here, why this code matching is zero [I]
New consult here, why this code matching is zero [I]

Time:11-18

for (int i=0; I <4; I++)
{
Canny (imageBinarygroup [I], imagecangroup [I], 50, 60, 3, false);
Contoursgroup findContours (imagecangroup [I], [I], Hierarchy, [I] RETR_TREE, CHAIN_APPROX_SIMPLE, Point (0, 0));
Matching [I]=matchShapes (imageContours [0], Contoursgroup [0], [I] CV_CONTOURS_MATCH_I1, 0).
Cout If (temp> matching [I])
{
Temp=matching [I];
Flag=I;
}

}
  • Related