Ask Your Question

Revision history [back]

OpenCV.js: How to sort DMatchVector?

I am using OpenCV.js 4.1.0-pre, and as far as I can see, there does not appear to be a .sort() method available on a DMatchVector object? Is it renamed and moved onto the global cv object, or just absent? Is there any way to sort the matches by distance without an explicit loop?