title: OpenCV: C++ and C performance comparison
body: <p>Right now I'm developing some application using OpenCV API (<code>C++</code>). This application does processing with video.</p>
  
  <p>On the PC everything works really fast. And today I decided to port this application on Android (to use camera as videoinput). Fortunately, there's OpenCV for Android so I just added my native code to sample Android application. Everything works fine except perfomance. I benchmarked my application and found that application works with 4-5 fps, what is actually not acceptable (my device has singlecore 1ghz processor) - I want it to work with about 10 fps.</p>
  
  <p>Does it make a sence to fully rewrite my application on <code>C</code>? I know that using such things as <code>std::vector</code> is much comfortable for developer, but I don't care about it.</p>
  
  <p>It seems that <code>OpenCV's C</code> interface has same functions/methods as <code>C++</code> interface. </p>
  
  <p>I googled this question but didn't find anything.</p>
  
  <p>Thanks for any advice.</p>