mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Make FaceRecognizer require OpenCV <= v2.4.8.
For some reason OpenCV shipped a broken branch build on Ubuntu 2.4.2 64 bit. Thanks to @gluxon for noticing this: https://github.com/peterbraden/node-opencv/issues/56#issuecomment-20263153 Rather than try and be clever, I'm just gonna up the version requirements. This fixes #56 #41 #105 #240 and #275
This commit is contained in:
parent
6df08451b5
commit
cbaff9a133
@ -1,7 +1,7 @@
|
||||
#include "FaceRecognizer.h"
|
||||
#include "OpenCV.h"
|
||||
|
||||
#if ((CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >=4))
|
||||
#if ((CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >=4) && (CV_SUBMINOR_VERSION>=4))
|
||||
|
||||
#include "Matrix.h"
|
||||
#include <nan.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user