Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange semicolon in faceDetector.cpp #116

Closed
GoogleCodeExporter opened this issue Mar 21, 2016 · 1 comment
Closed

Strange semicolon in faceDetector.cpp #116

GoogleCodeExporter opened this issue Mar 21, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi, all

There is a strange semicolon in faceDetector.cpp(l:101)
----
  for(int i = 0; i < (faces ? faces->total : 0); i++)
  {
      // Create a new rectangle for the face
      CvRect* r = (CvRect*)cvGetSeqElem(faces, maxI);

      // When looping faces, select the biggest one
      if(max0 < (r->width * r->height));  <<============== STRANGE??
      {
          max0 = (r->width * r->height);
          maxI = i;
      }
  }
----
Is this correct?
thanks

Original issue reported on code.google.com by rccm.kyo...@gmail.com on 24 Feb 2012 at 5:27

@GoogleCodeExporter
Copy link
Author

You're perfectly right. I fixed that in svn trunk

Original comment by feichtne...@gmail.com on 24 Feb 2012 at 2:16

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant