I have a c++ facerecognition code and a python code in opencv. In python code i read frames from a robot and i want to send this fram to my c++ code.
I use this link tho call p
If I remember correctly, there should be a specific function available in opencv for python called pyopencv_to(pyobject, cv::mat, ... ), which also takes strides into the account and can handle both gray and color images.