#include "NativeNodeUtils.h" #include "macros.h" #include #include "Point.h" #ifndef __FF_DETECTIONROI_H__ #define __FF_DETECTIONROI_H__ class DetectionROI : public FF::ObjectWrap { public: static Nan::Persistent constructor; static const char* getClassName() { return "DetectionROI"; } static NAN_MODULE_INIT(Init); static NAN_METHOD(New); FF_ACCESSORS(scale, FF::DoubleConverter); FF_ACCESSORS(locations, Point2::ArrayWithCastConverter); FF_ACCESSORS(confidences, FF::DoubleArrayConverter); }; #endif