#include "module.hpp"
#include "opencv2/core/types_c.h"
#include "opencv2/opencv_modules.hpp"
#include "pycompat.hpp"
Go to the source code of this file.
Value:try \
{ \
PyAllowThreads allowThreads; \
expr; \
} \
catch (const cv::Exception &e) \
{ \
return 0; \
}
static PyObject * opencv_error
Definition at line 64 of file module_opencv3.cpp.
int convert_to_CvMat2 |
( |
const PyObject * |
o, |
|
|
cv::Mat & |
m |
|
) |
| |
static int failmsg |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
static |
static PyObject* failmsgp |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
static |
template<typename T >
static PyObject* pyopencv_from |
( |
const T & |
src | ) |
|
|
static |
PyObject* pyopencv_from |
( |
const Mat & |
m | ) |
|
template<typename T >
static bool pyopencv_to |
( |
PyObject * |
obj, |
|
|
T & |
p, |
|
|
const char * |
name = "<unknown>" |
|
) |
| |
|
static |
static bool pyopencv_to |
( |
PyObject * |
o, |
|
|
Mat & |
m, |
|
|
const ArgInfo |
info |
|
) |
| |
|
static |
template<>
bool pyopencv_to |
( |
PyObject * |
o, |
|
|
Mat & |
m, |
|
|
const char * |
name |
|
) |
| |
PyObject* opencv_error = 0 |
|
static |