python_example
python_example copied to clipboard
Example for opencv image processing binding
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)
@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.