title: How do I do this EmguCV C# code (that uses SURF) on iOS with OpenCV?
body: <p>Here's my code on C# code with the EmguCV wrapper. I don't know how to convert it to useable code on iOS for use with OpenCV. Anyone OpenCV experts out there?</p>
  
  <pre><code>public Matrix&lt;float&gt; ComputeSingleDescriptors(string imagePath)
  {
       private SURFDetector detector = new SURFDetector(surfHessianThresh, surfExtendedFlag);
       Matrix&lt;float&gt; descs;
  
       using (Image&lt;Gray, Byte&gt; img = new Image&lt;Gray, byte&gt;(imagePath))
       {
           VectorOfKeyPoint keyPoints = detector.DetectKeyPointsRaw(img, null);
           descs = detector.ComputeDescriptorsRaw(img, null, keyPoints);
       }
  
       return descs;
  }
  </code></pre>