title: OpenCV HOGDescriptor HEAP crash
body: <p>I have some issue with the <code>cv::HOGDescriptor</code> in opencv 2.4.2 in Visual Studio 2012.</p>
  
  <pre><code>vector&lt;cv::Rect&gt; found, found_filtered;
  cv::HOGDescriptor hog;
  hog.setSVMDetector(cv::HOGDescriptor::getDefaultPeopleDetector()); // CRASH HERE
  hog.detectMultiScale(tempFrame, found, 0, cv::Size(8, 8), cv::Size(32, 32), 1.05, 2);
  </code></pre>
  
  <p>It is absolutely a copy of the example code which runs in XCode but not in Visual Studio 2012.</p>
  
  <p>The error message is </p>
  
  <pre><code>HEAP[Project.exe]: Invalid address specified to RtlValidateHeap( 00C80000, 02D51150 )
  Project.exe has triggered a breakpoint.
  </code></pre>
  
  <p>Has anyone experience with that kind of problem?</p>