Files
opencv/cxx/node.cc
2025-03-17 16:12:49 +08:00

16 lines
325 B
C++

#include "node.h"
static Napi::Object Init(Napi::Env env, Napi::Object exports)
{
#ifdef RELEASE_VERSION
exports.Set("__release__", Napi::String::New(env, RELEASE_VERSION));
#endif
InitMatAPI(env, exports);
InitVideoCaptureAPI(env, exports);
InitUtilAPI(env, exports);
return exports;
}
NODE_API_MODULE(addon, Init);