#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.
◆ ERRWRAP2
Value:try \
{ \
    PyAllowThreads allowThreads; \
    expr; \
} \
catch (const cv::Exception &e) \
{ \
    return 0; \
}
Definition at line 64 of file module_opencv4.cpp.
 
 
◆ anonymous enum
◆ convert_to_CvMat2()
      
        
          | int convert_to_CvMat2 | ( | const PyObject * | o, | 
        
          |  |  | cv::Mat & | m | 
        
          |  | ) |  |  | 
      
 
 
◆ failmsg()
  
  | 
        
          | static int failmsg | ( | const char * | fmt, |  
          |  |  |  | ... |  
          |  | ) |  |  |  | static | 
 
 
◆ failmsgp()
  
  | 
        
          | static PyObject* failmsgp | ( | const char * | fmt, |  
          |  |  |  | ... |  
          |  | ) |  |  |  | static | 
 
 
◆ pyopencv_from() [1/2]
      
        
          | PyObject* pyopencv_from | ( | const Mat & | m | ) |  | 
      
 
 
◆ pyopencv_from() [2/2]
template<typename T > 
  
  | 
        
          | static PyObject* pyopencv_from | ( | const T & | src | ) |  |  | static | 
 
 
◆ pyopencv_to() [1/3]
  
  | 
        
          | static bool pyopencv_to | ( | PyObject * | o, |  
          |  |  | Mat & | m, |  
          |  |  | const ArgInfo | info |  
          |  | ) |  |  |  | static | 
 
 
◆ pyopencv_to() [2/3]
template<> 
      
        
          | bool pyopencv_to | ( | PyObject * | o, | 
        
          |  |  | Mat & | m, | 
        
          |  |  | const char * | name | 
        
          |  | ) |  |  | 
      
 
 
◆ pyopencv_to() [3/3]
template<typename T > 
  
  | 
        
          | static bool pyopencv_to | ( | PyObject * | obj, |  
          |  |  | T & | p, |  
          |  |  | const char * | name = "<unknown>" |  
          |  | ) |  |  |  | static | 
 
 
◆ g_numpyAllocator
◆ opencv_error
  
  | 
        
          | PyObject* opencv_error = 0 |  | static |