#include "opencv_modules.h" #ifdef HAVE_OPENCV_PHOTO #include "MatPhoto.h" #include "photoBindings.h" void MatPhoto::Init(v8::Local ctor) { Nan::SetPrototypeMethod(ctor, "seamlessClone", SeamlessClone); Nan::SetPrototypeMethod(ctor, "seamlessCloneAsync", SeamlessCloneAsync); }; NAN_METHOD(MatPhoto::SeamlessClone) { Mat::syncBinding("SeamlessClone", info); } NAN_METHOD(MatPhoto::SeamlessCloneAsync) { Mat::asyncBinding("SeamlessClone", info); } #endif