mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
- add consts for contour finding
This commit is contained in:
parent
fb6ac0ff30
commit
5d1860d1bf
@ -85,6 +85,11 @@ void Constants::Init(Local<Object> target) {
|
|||||||
CONST_ENUM(NORM_RELATIVE);
|
CONST_ENUM(NORM_RELATIVE);
|
||||||
CONST_ENUM(NORM_TYPE_MASK);
|
CONST_ENUM(NORM_TYPE_MASK);
|
||||||
|
|
||||||
|
CONST_ENUM(RETR_EXTERNAL);
|
||||||
|
CONST_ENUM(RETR_LIST);
|
||||||
|
CONST_ENUM(RETR_CCOMP);
|
||||||
|
CONST_ENUM(RETR_TREE);
|
||||||
|
|
||||||
target->Set(Nan::New("Constants").ToLocalChecked(), obj);
|
target->Set(Nan::New("Constants").ToLocalChecked(), obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user