mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
16 lines
511 B
C++
16 lines
511 B
C++
#include "OpenCV.h"
|
|
|
|
class Image: public node::ObjectWrap {
|
|
public:
|
|
IplImage* image;
|
|
static Persistent<FunctionTemplate> constructor;
|
|
static void Init(Handle<Object> target);
|
|
static Handle<Value> New(const Arguments &args);
|
|
|
|
Image(int width, int height);
|
|
Image(v8::Value* src);
|
|
|
|
|
|
static Handle<Value> GetWidth(Local<String> prop, const AccessorInfo &info);
|
|
static Handle<Value> GetHeight(Local<String> prop, const AccessorInfo &info);
|
|
}; |