{"action":"created","issue":{"url":"https://api.github.com/repos/pybind/pybind11/issues/292","repository_url":"https://api.github.com/repos/pybind/pybind11","labels_url":"https://api.github.com/repos/pybind/pybind11/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/pybind/pybind11/issues/292/comments","events_url":"https://api.github.com/repos/pybind/pybind11/issues/292/events","html_url":"https://github.com/pybind/pybind11/issues/292","id":166441370,"number":292,"title":"numpy opencv convertor","user":{"login":"peendebak","id":17724047,"avatar_url":"https://avatars.githubusercontent.com/u/17724047?v=3","gravatar_id":"","url":"https://api.github.com/users/peendebak","html_url":"https://github.com/peendebak","followers_url":"https://api.github.com/users/peendebak/followers","following_url":"https://api.github.com/users/peendebak/following{/other_user}","gists_url":"https://api.github.com/users/peendebak/gists{/gist_id}","starred_url":"https://api.github.com/users/peendebak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peendebak/subscriptions","organizations_url":"https://api.github.com/users/peendebak/orgs","repos_url":"https://api.github.com/users/peendebak/repos","events_url":"https://api.github.com/users/peendebak/events{/privacy}","received_events_url":"https://api.github.com/users/peendebak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T21:35:16Z","updated_at":"2016-07-19T21:37:57Z","closed_at":"2016-07-19T21:37:57Z","body":"Is there any option to wrap functions that accept or return an OpenCV `cv::Mat` object?\r\n\r\nFor example suppose I have a C++ function like\r\n```\r\ndouble myFunction(const cv::Mat &m, double parameter);\r\n```\r\nI would like to be able to call from Python\r\n``` python\r\nm = numpy.random.rand( (20, 30) )\r\nresult = myclass.myFunction(m, 2.0)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pybind/pybind11/issues/comments/233774331","html_url":"https://github.com/pybind/pybind11/issues/292#issuecomment-233774331","issue_url":"https://api.github.com/repos/pybind/pybind11/issues/292","id":233774331,"user":{"login":"wjakob","id":1203629,"avatar_url":"https://avatars.githubusercontent.com/u/1203629?v=3","gravatar_id":"","url":"https://api.github.com/users/wjakob","html_url":"https://github.com/wjakob","followers_url":"https://api.github.com/users/wjakob/followers","following_url":"https://api.github.com/users/wjakob/following{/other_user}","gists_url":"https://api.github.com/users/wjakob/gists{/gist_id}","starred_url":"https://api.github.com/users/wjakob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjakob/subscriptions","organizations_url":"https://api.github.com/users/wjakob/orgs","repos_url":"https://api.github.com/users/wjakob/repos","events_url":"https://api.github.com/users/wjakob/events{/privacy}","received_events_url":"https://api.github.com/users/wjakob/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T21:37:57Z","updated_at":"2016-07-19T21:37:57Z","body":"No, there isn't. Please refer to the docs on binding matrix-like types."}}
{"actor":{"display_login":"wjakob"}}