{"action":"opened","issue":{"url":"https://api.github.com/repos/mshabunin/test2/issues/69","labels_url":"https://api.github.com/repos/mshabunin/test2/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/mshabunin/test2/issues/69/comments","events_url":"https://api.github.com/repos/mshabunin/test2/issues/69/events","html_url":"https://github.com/mshabunin/test2/issues/69","id":95395608,"number":69,"title":"header files for python module","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-16T09:46:41Z","updated_at":"2015-07-16T09:46:41Z","closed_at":null,"body":"Converted from http://code.opencv.org/issues/1471\r\n```\n|| demonstrate - on 2011-11-14 05:59\n|| Priority: Normal\n|| Affected: None\n|| Category: python bindings\n|| Tracker: Feature\n|| Difficulty: None\n|| PR: None\n|| Platform: None / None\n```\n\nheader files for python module\n-----------\n```\nHi guys,\r\n\r\nI 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.\r\n\r\nThe 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 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.\r\n\r\nIs 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.\n```\n\nHistory\n-------\n##### Alexander Shishkov on 2012-02-12 08:17\n```\n- attribute/description: Hi guys,\n\nI 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.\n\nThe 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 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.\n\nIs 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. -> Hi guys,\n\nI 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.\n\nThe 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 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.\n\nIs 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.\n```"}}