#include "OpenCV.h" #if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4)) #ifdef HAVE_OPENCV_FEATURES2D #include #include class Features: public Nan::ObjectWrap { public: static Nan::Persistent constructor; static void Init(Local target); static NAN_METHOD(Similarity); }; #endif #endif