mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
20 lines
372 B
C++
20 lines
372 B
C++
#include "OpenCV.h"
|
|
|
|
#if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4))
|
|
|
|
#include "opencv2/contrib/contrib.hpp"
|
|
|
|
class LDAWrap: public Nan::ObjectWrap {
|
|
public:
|
|
static Nan::Persistent<FunctionTemplate> constructor;
|
|
static void Init(Local<Object> target);
|
|
static NAN_METHOD(New);
|
|
|
|
LDAWrap();
|
|
|
|
JSFUNC(SubspaceProject)
|
|
JSFUNC(SubspaceReconstruct)
|
|
};
|
|
|
|
#endif
|