title: How can I speed Up my Android-openCV application?
body: <p>I have implemented an openCV applicationWhere I use SURF descriptor. It is working fine the code looks like this:</p>
  
  <blockquote>
    <p>I reduce the input video stream size to speed it up</p>
  </blockquote>
  
  <pre><code>            capture.set(Highgui.CV_CAP_PROP_FRAME_WIDTH, display.getWidth());
              capture.set(Highgui.CV_CAP_PROP_FRAME_HEIGHT, display.getHeight());
  
              capture.retrieve(mRgba, Highgui.CV_CAP_ANDROID_COLOR_FRAME_RGBA);
  
              try{
  
            //-- Step 1: Detect the keypoints using SURF Detector
  
              surfDetector.detect( mRgba, vector1 );
  
              for (KeyPoint t : vector1)
                  Core.circle(mRgba, t.pt, 10, new Scalar(100, 100,100));    
  
            //-- Step 2: Calculate descriptors (feature vectors)
              //extractor.compute(mRgba, vector1, descriptor1);
  
            //-- Draw matches
              //Mat img_matches;
              //drawMatches( mRgba, vector1, mRgba, vector1, matches, img_matches );
  
  
              }catch(Exception e){
                  Log.e( "ERROR", e.toString());
  
              }
  </code></pre>
  
  <p>But the calculation is still way too slow, so I need to find another method to reduce input video stream qualllity. Or If you know another method to speed it up feel free to share it with me ;)</p>
  
  <p>Thanks for your time &amp; answers</p>