#include "NativeNodeUtils.h" #include "macros.h" #include "CatchCvExceptionWorker.h" #include "Mat.h" #include #ifndef __FF_OCRHMMCLASSIFIER_H__ #define __FF_OCRHMMCLASSIFIER_H__ class OCRHMMClassifier : public FF::ObjectWrap> { public: static Nan::Persistent constructor; static const char* getClassName() { return "OCRHMMClassifier"; } static NAN_METHOD(New) { OCRHMMClassifier* self = new OCRHMMClassifier(); self->Wrap(info.Holder()); info.GetReturnValue().Set(info.Holder()); } static NAN_MODULE_INIT(Init); static NAN_METHOD(Eval); static NAN_METHOD(EvalAsync); }; #endif