Updated by Alexander Shishkov about 13 years ago
Hi guys,
I am trying to write some functionality for opencv, which is mainly done with C++. But I am also thinking about providing a python module interface so as to carry out some easy experiments in python's code.
The critical thing is that I need interactions between my module and opencv's python module. E.g. I might open an image by calling cv.LoadImageM or cv2.imread and pass then PyObject the [[PyObject]] to my module's function. Most of the functions (maybe some types too?) in the python module are marked as static functions, which forbids linking. And there is no header files provided by the module. Guys like me cannot simply include in my source and link to the module. I tried to copy some parts of the header in the python module but it doesn't work as expected.
Is there any specific development plan for this? I think it encourages people to contribute code in C++ and wrap it for python's friendly usages.
I am trying to write some functionality for opencv, which is mainly done with C++. But I am also thinking about providing a python module interface so as to carry out some easy experiments in python's code.
The critical thing is that I need interactions between my module and opencv's python module. E.g. I might open an image by calling cv.LoadImageM or cv2.imread and pass then PyObject the [[PyObject]] to my module's function. Most of the functions (maybe some types too?) in the python module are marked as static functions, which forbids linking. And there is no header files provided by the module. Guys like me cannot simply include in my source and link to the module. I tried to copy some parts of the header in the python module but it doesn't work as expected.
Is there any specific development plan for this? I think it encourages people to contribute code in C++ and wrap it for python's friendly usages.