added contrib module support in Python wrappers (thanks to Eric Christiansen)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "numpy/ndarrayobject.h"
|
||||
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/contrib/contrib.hpp"
|
||||
#include "opencv2/flann/miniflann.hpp"
|
||||
#include "opencv2/imgproc/imgproc.hpp"
|
||||
#include "opencv2/calib3d/calib3d.hpp"
|
||||
@@ -116,6 +117,9 @@ typedef cvflann::flann_algorithm_t cvflann_flann_algorithm_t;
|
||||
typedef Ptr<flann::IndexParams> Ptr_flann_IndexParams;
|
||||
typedef Ptr<flann::SearchParams> Ptr_flann_SearchParams;
|
||||
|
||||
typedef Ptr<FaceRecognizer> Ptr_FaceRecognizer;
|
||||
typedef vector<Scalar> vector_Scalar;
|
||||
|
||||
static PyObject* failmsgp(const char *fmt, ...)
|
||||
{
|
||||
char str[1000];
|
||||
|
Reference in New Issue
Block a user