mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
17 lines
348 B
C++
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
|