Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 399 Bytes
#include "OpenCV.h"
class TrackedObject: public Nan::ObjectWrap {
int channel;
cv::Mat hsv;
cv::Mat hue;
cv::Mat mask;
cv::Mat prob;
cv::Mat hist;
cv::Rect prev_rect;
static Nan::Persistent<FunctionTemplate> constructor;
static void Init(Local<Object> target);
static NAN_METHOD(New);
TrackedObject(cv::Mat image, cv::Rect rect, int channel);
Jump to Line
Something went wrong with that request. Please try again.