Skip to content

Commit a55f2c3

Browse files
author
Alexander Kureniov
committed
fix(lbpCascade): add missing property
1 parent a6b89d3 commit a55f2c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cc/cvTypes/cvTypes.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ void CvTypes::Init(v8::Local<v8::Object> target) {
142142
FF_SET_CONST_WITH_VALUE(lbpCascades, LBP_FRONTALFACE_IMPROVED, FF_NEW_STRING("./lbpcascade_frontalface_improved.xml"));
143143
FF_SET_CONST_WITH_VALUE(lbpCascades, LBP_PROFILEFACE, FF_NEW_STRING("./lbpcascade_profileface.xml"));
144144
FF_SET_CONST_WITH_VALUE(lbpCascades, LBP_SILVERWARE, FF_NEW_STRING("./lbpcascade_silverware.xml"));
145+
target->Set(FF_NEW_STRING("lbpCascades"), lbpCascades);
145146

146147
FF_SET_JS_PROP(target, REGULAR, Nan::New<v8::Integer>(0));
147148
FF_SET_CV_CONSTANT(target, LMEDS);

0 commit comments

Comments
 (0)