Search code examples
c++opencvsiftobject-recognitionorb

LSH and ORB opencv?


Basically I have many objects that i would recognize in a test image (query image) using ORB descriptors.

I would like to use LSH to get faster matching but I can't find examples in opencv. Is it developed ? What do you use if you have differenet objects and you want to find each of them in a test image?


Solution

  • This was added in OpenCV 2.3.1.

    In OpenCV 2.3.1 you can find LSH implemented in modules/imgproc/src/lsh.cpp.

    In OpenCV 2.4.0 you can find it in modules/legacy/src/lsh.cpp.

    OpenCV doesn't include a demo for it, but this thread discusses it shortly.

    Happy Google search!