Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I just searched for any example or explanation how to use ORB with Non-Deprecated functions..

ORB orb = ORB.create();
MatOfKeyPoint keypoints = new MatOfKeyPoint();
Mat descriptors = new Mat();
orb.detectAndCompute(img, new Mat(), keypoints, descriptors);

I just searched for any example or explanation how to use ORB with Non-Deprecated functions..

// use this for opencv 3 / 4:
ORB orb = ORB.create();
MatOfKeyPoint keypoints = new MatOfKeyPoint();
Mat descriptors = new Mat();
orb.detectAndCompute(img, new Mat(), keypoints, descriptors);