#include "module.hpp"
Go to the source code of this file.
◆ ERRWRAP2
Value:try \
{ \
PyAllowThreads allowThreads; \
expr; \
} \
catch (const cv::Exception &e) \
{ \
return 0; \
}
static PyObject * opencv_error
Definition at line 69 of file module_opencv2.cpp.
◆ convert_to_CvMat2()
int convert_to_CvMat2 |
( |
const PyObject * |
o, |
|
|
cv::Mat & |
m |
|
) |
| |
◆ failmsg()
static int failmsg |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
static |
◆ pyObjectFromRefcount()
static PyObject* pyObjectFromRefcount |
( |
const int * |
refcount | ) |
|
|
inlinestatic |
◆ pyopencv_from()
PyObject* pyopencv_from |
( |
const Mat & |
m | ) |
|
◆ refcountFromPyObject()
static int* refcountFromPyObject |
( |
const PyObject * |
obj | ) |
|
|
inlinestatic |
◆ g_numpyAllocator
◆ opencv_error
PyObject* opencv_error = 0 |
|
static |
◆ REFCOUNT_OFFSET
Initial value:= ( size_t )&((( PyObject* )0)->ob_refcnt ) +
( 0x12345678 != *( const size_t* )"\x78\x56\x34\x12\0\0\0\0\0" )*sizeof( int )
Definition at line 84 of file module_opencv2.cpp.