Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for opencv image processing binding #24

Open
pzoltowski opened this issue Aug 30, 2017 · 1 comment
Open

Example for opencv image processing binding #24

pzoltowski opened this issue Aug 30, 2017 · 1 comment

Comments

@pzoltowski
Copy link

Is there anywhere available example of creating between python with numpy and c++ opencv code? , eg.

cv::Mat process(cv::Mat& in, cv::Mat& out)

@patrikhuber
Copy link

patrikhuber commented Mar 24, 2018

@pzoltowski I've done this in earlier versions of my eos library: patrikhuber/eos/tree/v0.12.2/python (up to v0.12.2). There are type_caster's there for cv::Mat in the file pybind11_opencv.hpp. However note that I have since moved away from OpenCV's cv::Mat, so you will not find any OpenCV binding code in later versions, and I also do not support them in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants