private Rectangle[] DetectMultiScale(
     IntPtr image,
     double hitThreshold,
     Size winStride,
     Size padding,
     double scale,
     int groupThreshold)
 {
     using (MemStorage storage = new MemStorage())
     {
         Seq <Rectangle> rectSeq = new Seq <Rectangle>(storage);
         OclInvoke.oclHOGDescriptorDetectMultiScale(_ptr, image, rectSeq, hitThreshold, winStride, padding, scale, groupThreshold);
         return(rectSeq.ToArray());
     }
 }