JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
PythonOpenCV.H File Reference
#include <Python.h>
#include <numpy/ndarrayobject.h>
#include <opencv2/core/core.hpp>
#include <boost/python.hpp>
#include <cstdio>
Include dependency graph for PythonOpenCV.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 
#define ERRWRAP2(expr)
 

Macro Definition Documentation

◆ ERRWRAP2

#define ERRWRAP2 (   expr)
Value:
try \
{ \
PyAllowThreads allowThreads; \
expr; \
} \
catch (const cv::Exception &e) \
{ \
PyErr_SetString(opencv_error, e.what()); \
return 0; \
}

Definition at line 64 of file PythonOpenCV.H.

◆ NPY_NO_DEPRECATED_API

#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION

Definition at line 49 of file PythonOpenCV.H.