mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
21 lines
509 B
C++
Executable File
21 lines
509 B
C++
Executable File
#include "OpenCV.h"
|
|
|
|
class CascadeClassifierWrap: public node::ObjectWrap {
|
|
public:
|
|
cv::CascadeClassifier cc;
|
|
|
|
static Persistent<FunctionTemplate> constructor;
|
|
static void Init(Handle<Object> target);
|
|
static NAN_METHOD(New);
|
|
|
|
CascadeClassifierWrap(v8::Value* fileName);
|
|
|
|
//static Handle<Value> LoadHaarClassifierCascade(const v8::Arguments&);
|
|
|
|
static NAN_METHOD(DetectMultiScale);
|
|
|
|
static void EIO_DetectMultiScale(uv_work_t *req);
|
|
static int EIO_AfterDetectMultiScale(uv_work_t *req);
|
|
|
|
};
|