#include "macros.h" #include #include #include "KeyPoint.h" #include "Mat.h" #include "CatchCvExceptionWorker.h" #include "NativeNodeUtils.h" #ifndef FF_FEATUREDETECTOR_H_ #define FF_FEATUREDETECTOR_H_ class FeatureDetector : public FF::ObjectWrapBase, public Nan::ObjectWrap { public: virtual cv::Ptr getDetector() = 0; static void Init(v8::Local); static NAN_METHOD(Detect); static NAN_METHOD(DetectAsync); static NAN_METHOD(Compute); static NAN_METHOD(ComputeAsync); }; #endif