adding a function to pass (image as cv::Mat format from cpp) and receive numpy variable in python script
kerolos opened this issue · 1 comments
kerolos commented
Dear Mr Wei Li(Lee);
i would like to ask you if it is possible to add a function to convert cv::mat to numpy and path this numpy variable to a python script, and then return the output to cpp code.
i tried using this link https://github.com/yati-sagade/opencv-ndarray-conversion for converting the formate between cpp and python, but it seems it will take a long time.
thanks in advance
BIGBALLON commented
maybe you can use pybind11?