node-opencv/src/Features2d.h

17 lines
348 B
C++

#include "OpenCV.h"
#if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >=4
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
class Features: public node::ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor;
static void Init(Handle<Object> target);
static NAN_METHOD(Similarity);
};
#endif