mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
make CV_LOAD_IMAGE_IGNORE_ORIENTATION only available if CV >= 3.2.0
This commit is contained in:
parent
bf6aa03f5d
commit
71a6d451fe
@ -67,7 +67,11 @@ void Constants::Init(Local<Object> target) {
|
||||
CONST(CV_LOAD_IMAGE_COLOR);
|
||||
CONST(CV_LOAD_IMAGE_ANYDEPTH);
|
||||
CONST(CV_LOAD_IMAGE_ANYCOLOR);
|
||||
|
||||
// this is 3.2+ only
|
||||
#if ((CV_MAJOR_VERSION == 3) && (CV_MINOR_VERSION >=2))
|
||||
CONST(CV_LOAD_IMAGE_IGNORE_ORIENTATION);
|
||||
#endif
|
||||
|
||||
CONST_DOUBLE(CV_PI);
|
||||
CONST(CV_FILLED);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user