forked from udarrr/opencv4nodejs-prebuilt-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdnn.h
29 lines (25 loc) · 729 Bytes
/
dnn.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "NativeNodeUtils.h"
#include "opencv2/dnn.hpp"
#include "CatchCvExceptionWorker.h"
#include "Net.h"
#include "Mat.h"
#ifndef __FF_DNN_H__
#define __FF_DNN_H__
class Dnn {
public:
static NAN_MODULE_INIT(Init);
static NAN_METHOD(ReadNetFromTensorflow);
static NAN_METHOD(ReadNetFromTensorflowAsync);
static NAN_METHOD(ReadNetFromCaffe);
static NAN_METHOD(ReadNetFromCaffeAsync);
static NAN_METHOD(BlobFromImage);
static NAN_METHOD(BlobFromImageAsync);
static NAN_METHOD(BlobFromImages);
static NAN_METHOD(BlobFromImagesAsync);
#if CV_VERSION_GREATER_EQUAL(3, 4, 0)
static NAN_METHOD(ReadNetFromDarknet);
static NAN_METHOD(ReadNetFromDarknetAsync);
static NAN_METHOD(NMSBoxes);
#endif
};
#endif