Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Performance is always an issue on mobiles :)</p> <p>There are a few things you can do. <a href="https://stackoverflow.com/questions/11376368/opencv-c-and-c-performance-comparison/11376867#11376867">OpenCV: C++ and C performance comparison</a> explains generic methods on processing time improvements. </p> <p>And some specifics for your project:</p> <ul> <li>If you capture color images and the convert them to grayscale, that is a biig waste of resources. The native camera format is YUV. It gets converted to RGB, which is costly, then to gray, which again is costly. All this while the first channel in YUV (Y) is the grayscale... So, capture YUV, and extract the first channel by copying the first part of the image data (YUV on Android is planar, that means that the first w*h pixels belong to the Y channel)</li> <li>ORB was created to be fast. And it is. But just a few weeks ago FREAK was added to OpenCV. That is a new descriptor, whose authors claim is both more accurate and faster than ORB/SIFT/SURF/etc. Give it a try.YOu can find it in opencv >= 2.4.2 (This is the current now)</li> </ul> <p><strong>EDIT</strong></p> <p>Brad Larsen question is illuminating - if the matcher stays 900ms to process, then that's a problem! Check this post by Andrey Kamaev <a href="https://stackoverflow.com/questions/7232651/how-does-opencv-orb-feature-detector-work/7233103#7233103">How Does OpenCV ORB Feature Detector Work?</a> where he explains the possible combinations between descriptors and matchers. Try the FLANN-based uchar matcher. </p> <p>And also, I suppose you get an awful lot of detections - hundreds or thousands - if it takes that much to match them. Try to limit the detections, or select only the first n best values.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload