title: OpenCV 2.4 CascadeClassified detectMultiScale arguments
body: <p>I was looking at the objectdetect sample and tried it with a couple of body detection cascades(*haarcascade_fullbody/haarcascade_upperbody/haarcascade_lowerbody,haarcascade_mcs_upperbody*) on some footage I took with a camera of a pedestrian bridge. So far so good, but it's a demanding functionality.</p>
  
  <p>I though thinks might run smoother if I pass the min/max Sizes since my camera is always in the same place and I figure out the min/max bounding boxes. Unfortunately I ran into syntax errors when trying to do so:</p>
  
  <pre><code>//my call
  body.detectMultiScale( gray, bodies, 1.1, 2, 0|CV_HAAR_SCALE_IMAGE, cv::Size(30, 30),cv::Size(0,0),cv::Size(5,13),cv::Size(45,80));
  //errors:
  main.cpp:43: error: no matching function for call to 'cv::CascadeClassifier::detectMultiScale(cv::Mat&amp;, std::vector&lt;cv::Rect_&lt;int&gt;, std::allocator&lt;cv::Rect_&lt;int&gt; &gt; &gt;&amp;, double, int, int, cv::Size, cv::Size, cv::Size, cv::Size)'
  /opt/local/include/opencv2/objdetect/objdetect.hpp:383: note: candidates are: virtual void cv::CascadeClassifier::detectMultiScale(const cv::Mat&amp;, std::vector&lt;cv::Rect_&lt;int&gt;, std::allocator&lt;cv::Rect_&lt;int&gt; &gt; &gt;&amp;, double, int, int, cv::Size, cv::Size)
  /opt/local/include/opencv2/objdetect/objdetect.hpp:393: note:                 virtual void cv::CascadeClassifier::detectMultiScale(const cv::Mat&amp;, std::vector&lt;cv::Rect_&lt;int&gt;, std::allocator&lt;cv::Rect_&lt;int&gt; &gt; &gt;&amp;, std::vector&lt;int, std::allocator&lt;int&gt; &gt;&amp;, std::vector&lt;double, std::allocator&lt;double&gt; &gt;&amp;, double, int, int, cv::Size, cv::Size, bool)
  </code></pre>
  
  <p>I simply added two <code>cv::Size</code> objects as the min max, but to be honest I'm not sure: </p>
  
  <ol>
  <li>Why the previous arguments are Size() objects as well when the docs
  list them as ints ? </li>
  <li>Am I looking at the wrong docs or at the docs
  in a wrong way ?</li>
  </ol>
  
  <blockquote>
    <p>C++: void CascadeClassifier::detectMultiScale(const Mat&amp; image,
    vector&amp; objects, double scaleFactor=1.1, int minNeighbors=3, int
    flags=0, Size minSize=Size(), Size maxSize=Size())</p>
  </blockquote>
  
  <p>from docs.</p>